Difference between revisions of "AVI to OGG test results"

From Archivematica
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Main Page]] > [[Documentation]] > [[Format-specific preservation issues]] > [[Audio/Video Interleaved Format]] > AVI conversion test results
 
[[Main Page]] > [[Documentation]] > [[Format-specific preservation issues]] > [[Audio/Video Interleaved Format]] > AVI conversion test results
  
1. Conversion to OGG using ffmpeg
+
==Conversion to OGG using ffmpeg==
 +
 
 +
===File/video stream properties===
 +
 
 
*File used was sample_1238959806.avi, taken from [http://www.filefront.com/13539232/sample.avi/ http://www.filefront.com/13539232/sample.avi/])
 
*File used was sample_1238959806.avi, taken from [http://www.filefront.com/13539232/sample.avi/ http://www.filefront.com/13539232/sample.avi/])
 
*Used the following command to convert the file: ffmpeg -i sample_1238959806.avi -sameq sample_1238959806.ogg
 
*Used the following command to convert the file: ffmpeg -i sample_1238959806.avi -sameq sample_1238959806.ogg
Line 91: Line 94:
 
|}<br />
 
|}<br />
  
Audio stream properties
+
===Audio stream properties===
  
 
{| border="1" cellpadding="10" cellspacing="0" width=90%
 
{| border="1" cellpadding="10" cellspacing="0" width=90%
Line 115: Line 118:
 
|48000 HZ
 
|48000 HZ
 
|48000 HZ (see note)
 
|48000 HZ (see note)
|-
+
|-}</br>
  
|-}
+
===FFmpeg log file:===
 +
<pre>
 +
demo@ubuntu:~$ ffmpeg -i /home/demo/prepareAIP/videoSIP/sample_1238959806.avi -ab 320000 -b 1283000 sample_1238959806.ogg
 +
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
 +
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
 +
  libavutil    49.15. 0 / 49.15. 0
 +
  libavcodec    52.20. 0 / 52.20. 0
 +
  libavformat  52.31. 0 / 52.31. 0
 +
  libavdevice  52. 1. 0 / 52. 1. 0
 +
  libavfilter    0. 4. 0 /  0. 4. 0
 +
  libswscale    0. 7. 1 /  0. 7. 1
 +
  libpostproc  51. 2. 0 / 51. 2. 0
 +
  built on Apr 10 2009 23:18:41, gcc: 4.3.3
 +
Input #0, avi, from '/home/demo/prepareAIP/videoSIP/sample_1238959806.avi':
 +
  Duration: 00:02:00.52, start: 0.000000, bitrate: 1283 kb/s
 +
    Stream #0.0: Video: msmpeg4, yuv420p, 384x288, 25 tbr, 25 tbn, 25 tbc
 +
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 320 kb/s
 +
File 'sample_1238959806.ogg' already exists. Overwrite ? [y/N] y
 +
Output #0, ogg, to 'sample_1238959806.ogg':
 +
    Stream #0.0: Video: libtheora, yuv420p, 384x288, q=2-31, 1283 kb/s, 90k tbn, 25 tbc
 +
    Stream #0.1: Audio: flac, 48000 Hz, stereo, s16, 320 kb/s
 +
Stream mapping:
 +
  Stream #0.0 -> #0.0
 +
  Stream #0.1 -> #0.1
 +
Press [q] to stop encoding
 +
frame= 3013 fps= 56 q=0.0 Lsize=  32380kB time=120.52 bitrate=2201.0kbits/s   
 +
video:18165kB audio:13972kB global headers:3kB muxing overhead 0.749465%
 +
</pre>

Revision as of 14:01, 8 February 2010

Main Page > Documentation > Format-specific preservation issues > Audio/Video Interleaved Format > AVI conversion test results

Conversion to OGG using ffmpeg

File/video stream properties


Property Significant property name Original Normalized
FileSize 19337814 18807416
Streamcount imageStreams, audioStreams 2
FrameCount length 3013
ImageWidth width 384 384 (see note)
ImageHeight height 288 288 (see note)
BitDepth bitDepth 24
colourModel
colourSpace
pixelAspectRatio
FrameRate frameRate 25 25/second (see note)
lossless
compressionRatio
Compression codec DivX MS-MPEG-4 Version 3 Theora
interlace
metadata


Audio stream properties

FFmpeg log file:

demo@ubuntu:~$ ffmpeg -i /home/demo/prepareAIP/videoSIP/sample_1238959806.avi -ab 320000 -b 1283000 sample_1238959806.ogg
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Apr 10 2009 23:18:41, gcc: 4.3.3
Input #0, avi, from '/home/demo/prepareAIP/videoSIP/sample_1238959806.avi':
  Duration: 00:02:00.52, start: 0.000000, bitrate: 1283 kb/s
    Stream #0.0: Video: msmpeg4, yuv420p, 384x288, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 320 kb/s
File 'sample_1238959806.ogg' already exists. Overwrite ? [y/N] y
Output #0, ogg, to 'sample_1238959806.ogg':
    Stream #0.0: Video: libtheora, yuv420p, 384x288, q=2-31, 1283 kb/s, 90k tbn, 25 tbc
    Stream #0.1: Audio: flac, 48000 Hz, stereo, s16, 320 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 3013 fps= 56 q=0.0 Lsize=   32380kB time=120.52 bitrate=2201.0kbits/s    
video:18165kB audio:13972kB global headers:3kB muxing overhead 0.749465%
Property Original Normalized
Codec MPEG 1 Audio, Layer 3 (MP3) FLAC
Channels 2 2
Bitrate 320 kpb/s 320 kpb/s (from ffmpeg log file)
SampleRate 48000 HZ 48000 HZ (see note)