Difference between revisions of "AVI to MXF using FFmpeg"

From Archivematica
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Main Page]] > [[Documentation]] > [[Format-specific preservation issues]] > [[Audio/Video Interleaved Format]] > AVI to MXF test results
+
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[Audio/Video Interleaved Format]] > AVI to MXF test results
  
 
+
*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 -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 sample_1238959806.mxf
*Used the following command to convert the file: ffmpeg -i sample_1238959806.avi -b 1283000 sample_1238959806.mxf
+
*Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result. In addition, some of the elements that are considered significant properties are not extracted by FITS for the original file. Therefore 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.
*Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result
 
 
</br>
 
</br>
  
Line 19: Line 18:
 
|FileSize
 
|FileSize
 
|
 
|
|19337814
+
|19,337,814 bytes
|46588606
+
|148,505,290 bytes
|-
 
|Duration
 
|
 
|00:02:00:52 (from ffmpeg log file)
 
|00:02:00:52 (from ffmpeg log file)
 
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
|2 (from ffmpeg log file)
+
|2
|2 (from ffmpeg log file)
+
|2
 
|-
 
|-
 
|FrameCount
 
|FrameCount
 
|length
 
|length
 
|3013
 
|3013
|3013 (from ffmpeg log file)
+
|3013
 
|-
 
|-
 
|ImageWidth
 
|ImageWidth
 
|width
 
|width
 
|384
 
|384
|384 (from ffmpeg log file)
+
|384
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
 
|height
 
|height
 
|288
 
|288
|288 (from ffmpeg log file)
+
|288
 
|-
 
|-
 
|BitDepth
 
|BitDepth
Line 59: Line 53:
 
|
 
|
 
|colourSpace
 
|colourSpace
|
+
|yuv420p
|
+
|yuv420p
 
|-
 
|-
|
+
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|aspectRatio
 
|aspectRatio
 
|
 
|
|1:1
+
|1:1/4:3
 
|-
 
|-
 
|FrameRate
 
|FrameRate
 
|frameRate
 
|frameRate
|25 fps
+
|25 per second
|Not clear: error message in ffmpeg: Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
+
|25 per second
 
|-
 
|-
 
|
 
|
Line 111: Line 105:
 
|Codec
 
|Codec
 
|MPEG 1 Audio, Layer 3 (MP3)
 
|MPEG 1 Audio, Layer 3 (MP3)
|pcm_s16le (from ffmpeg log file)
+
|PCM
 
|-
 
|-
 
|Channels
 
|Channels
 
|2
 
|2
 
|2
 
|2
|-
 
|Bitrate
 
|320 kpb/s
 
|1538 kpb/s
 
 
|-
 
|-
 
|SampleRate
 
|SampleRate
Line 126: Line 116:
 
|-
 
|-
 
|BitDepth
 
|BitDepth
|16 (from ffmpeg log file)
+
|16
|16 (from ffmpeg log file)
+
|16
 
|-}</br>
 
|-}</br>

Latest revision as of 13:13, 11 August 2010

Main Page > Documentation > Media type preservation plans > Audio/Video Interleaved Format > AVI to MXF 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 -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 sample_1238959806.mxf
  • Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result. In addition, some of the elements that are considered significant properties are not extracted by FITS for the original file. Therefore 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 19,337,814 bytes 148,505,290 bytes
Streamcount imageStreams, audioStreams 2 2
FrameCount length 3013 3013
ImageWidth width 384 384
ImageHeight height 288 288
BitDepth bitDepth 24
colourModel
colourSpace yuv420p yuv420p
PAR (pixel aspect ratio)/DAR (display aspect ratio) aspectRatio 1:1/4:3
FrameRate frameRate 25 per second 25 per second
lossless No No
compressionRatio
Compression codec DivX MS-MPEG-4 Version 3 MPEG-2
interlace
metadata


Audio stream properties[edit]

Property Original Normalized
Codec MPEG 1 Audio, Layer 3 (MP3) PCM
Channels 2 2
SampleRate 48000 HZ 48000 HZ
BitDepth 16 16