Difference between revisions of "MPEG-1 to MXF using FFmpeg"

From Archivematica
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Main Page]] > [[Documentation]] > [[Format-specific preservation issues]] > [[Audio/Video Interleaved Format]] > MPEG to MXF using FFmpeg
+
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[MPEG-1 and MPEG-2]] > MPEG-1 to MXF using FFmpeg
  
*File used was CLIP07.MPG ("Animal Handling"), taken from [http://www.interniche.org/video_download.htm http://www.interniche.org/video_download.htm])
+
*File used was CLIP07.MPG ("Animal Handling"), taken from [http://www.interniche.org/video_download.htm http://www.interniche.org/video_download.htm]
*Used the following command to convert the file: ffmpeg -i CLIP07.MPG -b 1245000 -ar 48000 CLIP07.mxf
+
*Used the following command to convert the file: ffmpeg -i CLIP07.MPG -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 CLIP07.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 20: Line 20:
 
|20,334,596 bytes
 
|20,334,596 bytes
 
|41,290,418 bytes
 
|41,290,418 bytes
|-
 
|Duration
 
|
 
|02:10 (approx) (FITS); 001:48.25 (FFmpeg)
 
|
 
|-
 
|Bit rate
 
|
 
|1245 kb/s
 
|1245 kb/s (FFmpeg)
 
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
|2 (FFmpeg)
+
|2
|2 (FFmpeg)
+
|2
 
|-
 
|-
 
|FrameCount
 
|FrameCount
 
|length
 
|length
|3013
+
|2706
|3013 (FFmpeg)
+
|2706
 
|-
 
|-
 
|ImageWidth
 
|ImageWidth
 
|width
 
|width
 
|352
 
|352
|
+
|352
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
 
|height
 
|height
 
|288
 
|288
|288 (FFmpeg)
+
|288
 
|-
 
|-
 
|BitDepth
 
|BitDepth
 
|bitDepth
 
|bitDepth
|24
+
|
 
|
 
|
 
|-
 
|-
Line 68: Line 58:
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|aspectRatio
 
|aspectRatio
|4:3
+
|PAR 178:163 DAR 1958:1467
|
+
|PAR 178:163 DAR 1958:1467
 
|-
 
|-
 
|FrameRate
 
|FrameRate
Line 88: Line 78:
 
|Compression
 
|Compression
 
|codec
 
|codec
|mpeg1video (FFmpeg)
+
|mpeg1video
|mpeg2video (FFmpeg)
+
|mpeg2video
 
|-
 
|-
 
|
 
|
Line 115: Line 105:
 
|Codec
 
|Codec
 
|MPEG 1 Audio, Layer 2 (MP2)
 
|MPEG 1 Audio, Layer 2 (MP2)
|pcm_s16le (FFmpeg)
+
|PCM
 
|-
 
|-
 
|Channels
 
|Channels
|2 (FFmpeg)
+
|2
|2 (FFmpeg)
+
|2
|-
 
|Bit rate
 
|224 kpb/s (FFmpeg)
 
|1536 kpb/s (FFmpeg)
 
 
|-
 
|-
 
|SampleRate
 
|SampleRate
|44100 HZ (FFmpeg)
+
|44100 HZ
|48000 HZ (FFmpeg)
+
|48000 HZ
 
|-
 
|-
 
|BitDepth
 
|BitDepth
|16 (FFmpeg)
+
|16
|16 (FFmpeg)
+
|16
 
|-}</br>
 
|-}</br>

Latest revision as of 18:15, 11 August 2010

Main Page > Documentation > Media type preservation plans > MPEG-1 and MPEG-2 > MPEG-1 to MXF using FFmpeg

  • File used was CLIP07.MPG ("Animal Handling"), taken from http://www.interniche.org/video_download.htm
  • Used the following command to convert the file: ffmpeg -i CLIP07.MPG -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 CLIP07.mxf
  • Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result.


File/video stream properties[edit]

Property Significant property name Original Normalized
FileSize 20,334,596 bytes 41,290,418 bytes
Streamcount imageStreams, audioStreams 2 2
FrameCount length 2706 2706
ImageWidth width 352 352
ImageHeight height 288 288
BitDepth bitDepth
colourModel
colourSpace yuv420p yuv420p
PAR (pixel aspect ratio)/DAR (display aspect ratio) aspectRatio PAR 178:163 DAR 1958:1467 PAR 178:163 DAR 1958:1467
FrameRate frameRate 25 per second 25 per second
lossless No No
compressionRatio
Compression codec mpeg1video mpeg2video
interlace
metadata


Audio stream properties[edit]

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