Difference between revisions of "AVI to MXF using FFmpeg"

From Archivematica
Jump to navigation Jump to search
 
(14 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 bytes
+
|19,337,814 bytes
|46588606 bytes
+
|148,505,290 bytes
|-
 
|Duration
 
|
 
|00:02:00:52 (FFmpeg)
 
|00:02:00:52 (FFmpeg)
 
|-
 
|Bit-rate
 
|1238 kpb/s (FFmpeg)
 
|1238 kpb/s (FFmpeg)
 
|
 
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
|2 (FFmpeg)
+
|2
|2 (FFmpeg)
+
|2
 
|-
 
|-
 
|FrameCount
 
|FrameCount
 
|length
 
|length
 
|3013
 
|3013
|3013 (FFmpeg)
+
|3013
 
|-
 
|-
 
|ImageWidth
 
|ImageWidth
 
|width
 
|width
 
|384
 
|384
|384 (FFmpeg)
+
|384
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
 
|height
 
|height
 
|288
 
|288
|288 (FFmpeg)
+
|288
 
|-
 
|-
 
|BitDepth
 
|BitDepth
Line 67: Line 56:
 
|yuv420p
 
|yuv420p
 
|-
 
|-
|
+
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|aspectRatio
 
|aspectRatio
 
|
 
|
|1:1
+
|1:1/4:3
 
|-
 
|-
 
|FrameRate
 
|FrameRate
Line 116: Line 105:
 
|Codec
 
|Codec
 
|MPEG 1 Audio, Layer 3 (MP3)
 
|MPEG 1 Audio, Layer 3 (MP3)
|pcm_s16le (FFmpeg)
+
|PCM
 
|-
 
|-
 
|Channels
 
|Channels
 
|2
 
|2
 
|2
 
|2
|-
 
|Bitrate
 
|320 kpb/s
 
|1538 kpb/s
 
 
|-
 
|-
 
|SampleRate
 
|SampleRate
Line 131: Line 116:
 
|-
 
|-
 
|BitDepth
 
|BitDepth
|16 (FFmpeg)
+
|16
|16 (FFmpeg)
+
|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