Difference between revisions of "AVI to OGG test results"

From Archivematica
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
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 to OGG test results
  
==Conversion to OGG using ffmpeg==
+
*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 -s 320x240 -acodec vorbis -ab 128000 -b 400000 sample_1238959806.ogg. (Note: may be preferable to replace -ab 128000 with -aq 100 which results in better audio quality. However, it increases file size to over 9 MB.)
 +
*Some of the metadata in these tables are taken from the FFmpeg metadata that were generated during conversion. These are indicated by FFmpeg in brackets next to the value.
 +
<br>
  
 
===File/video stream properties===
 
===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/])
 
*Used the following command to convert the file: ffmpeg -i sample_1238959806.avi -sameq sample_1238959806.ogg
 
<br>
 
  
 
{| border="1" cellpadding="10" cellspacing="0" width=90%
 
{| border="1" cellpadding="10" cellspacing="0" width=90%
Line 19: Line 18:
 
|FileSize
 
|FileSize
 
|
 
|
|19337814
+
|19337814 bytes
|18807416
+
|6874470 bytes
 +
|-
 +
|Duration
 +
|
 +
|00:02:00:52 (FFmpeg)
 +
|00:02:00:52 (FFmpeg)
 +
|-
 +
|Bit rate
 +
|
 +
|1283 kb/s
 +
|400 kb/s (FFmpeg)
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
 
|2
 
|2
|
+
|2
 
|-
 
|-
 
|FrameCount
 
|FrameCount
 
|length
 
|length
 
|3013
 
|3013
|
+
|3013
 
|-
 
|-
 
|ImageWidth
 
|ImageWidth
 
|width
 
|width
 
|384
 
|384
|384 (see note)
+
|320
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
 
|height
 
|height
 
|288
 
|288
|288 (see note)
+
|240
 
|-
 
|-
 
|BitDepth
 
|BitDepth
Line 54: Line 63:
 
|
 
|
 
|colourSpace
 
|colourSpace
|
+
|yuv420p (FFmpeg)
|
+
|yuv420p (FFmpeg)
 
|-
 
|-
 
|
 
|
Line 64: Line 73:
 
|FrameRate
 
|FrameRate
 
|frameRate
 
|frameRate
|25
+
|25 per second
|25/second (see note)
+
|25 per second
 
|-
 
|-
 
|
 
|
 
|lossless
 
|lossless
|
+
|No
|
+
|No
 
|-
 
|-
 
|
 
|
Line 80: Line 89:
 
|codec
 
|codec
 
|DivX MS-MPEG-4 Version 3
 
|DivX MS-MPEG-4 Version 3
|Theora
+
|[http://en.wikipedia.org/wiki/Libtheora Theora]
 
|-
 
|-
 
|
 
|
Line 92: Line 101:
 
|
 
|
 
|-
 
|-
|}<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 105: Line 115:
 
|Codec
 
|Codec
 
|MPEG 1 Audio, Layer 3 (MP3)
 
|MPEG 1 Audio, Layer 3 (MP3)
|FLAC
+
|Vorbis
 
|-
 
|-
 
|Channels
 
|Channels
Line 111: Line 121:
 
|2
 
|2
 
|-
 
|-
|Bitrate
+
|Bit rate
|320 kpb/s
+
|320 kb/s (FFmpeg)
|320 kpb/s (from ffmpeg log file)
+
|128 kb/s (FFmpeg)
 +
|-
 
|-
 
|-
 
|SampleRate
 
|SampleRate
 
|48000 HZ
 
|48000 HZ
|48000 HZ (see note)
+
|48000 HZ
|-}</br>
+
|-
 
+
|BitDepth
===FFmpeg log file:===
+
|16 (FFmpeg)
<pre>
+
|16 (FFmpeg)
demo@ubuntu:~$ ffmpeg -i /home/demo/prepareAIP/videoSIP/sample_1238959806.avi -ab 320000 -b 1283000 sample_1238959806.ogg
+
|-}<br>
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>
 

Latest revision as of 14:44, 18 February 2010

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

  • File used was sample_1238959806.avi, taken from http://www.filefront.com/13539232/sample.avi/)
  • Used the following command to convert the file: ffmpeg -i sample_1238959806.avi -s 320x240 -acodec vorbis -ab 128000 -b 400000 sample_1238959806.ogg. (Note: may be preferable to replace -ab 128000 with -aq 100 which results in better audio quality. However, it increases file size to over 9 MB.)
  • Some of the metadata in these tables are taken from the FFmpeg metadata that were generated during conversion. These are indicated by FFmpeg in brackets next to the value.


File/video stream properties[edit]

Property Significant property name Original Normalized
FileSize 19337814 bytes 6874470 bytes
Duration 00:02:00:52 (FFmpeg) 00:02:00:52 (FFmpeg)
Bit rate 1283 kb/s 400 kb/s (FFmpeg)
Streamcount imageStreams, audioStreams 2 2
FrameCount length 3013 3013
ImageWidth width 384 320
ImageHeight height 288 240
BitDepth bitDepth 24
colourModel
colourSpace yuv420p (FFmpeg) yuv420p (FFmpeg)
pixelAspectRatio
FrameRate frameRate 25 per second 25 per second
lossless No No
compressionRatio
Compression codec DivX MS-MPEG-4 Version 3 Theora
interlace
metadata


Audio stream properties[edit]

Property Original Normalized
Codec MPEG 1 Audio, Layer 3 (MP3) Vorbis
Channels 2 2
Bit rate 320 kb/s (FFmpeg) 128 kb/s (FFmpeg)
SampleRate 48000 HZ 48000 HZ
BitDepth 16 (FFmpeg) 16 (FFmpeg)