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

From Archivematica
Jump to navigation Jump to search
(Created page with '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 f...')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[MPEG-1 and MPEG-2]] > MPEG-1 to MXF using FFmpeg
+
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[MPEG-1 and MPEG-2]] > MPEG-2 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 from an unprocessed archival fonds
*Used the following command to convert the file: ffmpeg -i CLIP07.MPG -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 CLIP07.mxf
+
*Used the following command to convert the file: ffmpeg -i file.m2v -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 file.mxf
 
*Note: FITS tools don't recognize the MXF format and only generate a small amount of generic file metadata as a result.
 
*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 18: Line 18:
 
|FileSize
 
|FileSize
 
|
 
|
|20,334,596 bytes
+
|14,859,545 bytes
|41,290,418 bytes
+
|30,603,345 bytes
 
|-
 
|-
 
|Streamcount
 
|Streamcount
 
|imageStreams, audioStreams
 
|imageStreams, audioStreams
|2
+
|1
|2
+
|1
 
|-
 
|-
 
|FrameCount
 
|FrameCount
 
|length
 
|length
|2706
+
|661
|2706
+
|661
 
|-
 
|-
 
|ImageWidth
 
|ImageWidth
 
|width
 
|width
|352
+
|720
|352
+
|480
 
|-
 
|-
 
|ImageHeight
 
|ImageHeight
Line 58: Line 58:
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|PAR (pixel aspect ratio)/DAR (display aspect ratio)
 
|aspectRatio
 
|aspectRatio
|PAR 178:163 DAR 1958:1467
+
|PAR 32:27 DAR 16:9
|PAR 178:163 DAR 1958:1467
+
|PAR 32:27 DAR 16:9
 
|-
 
|-
 
|FrameRate
 
|FrameRate
 
|frameRate
 
|frameRate
|25 per second
+
|29.97 per second
|25 per second
+
|29.97 per second
 
|-
 
|-
 
|
 
|
Line 78: Line 78:
 
|Compression
 
|Compression
 
|codec
 
|codec
|mpeg1video
+
|mpeg2video
 
|mpeg2video
 
|mpeg2video
 
|-
 
|-
 
|
 
|
 
|interlace
 
|interlace
|
+
|N/A
|
+
|N/A
 
|-
 
|-
 
|
 
|
Line 92: Line 92:
 
|-
 
|-
 
|}</br>
 
|}</br>
 
===Audio stream properties===
 
 
 
{| border="1" cellpadding="10" cellspacing="0" width=90%
 
|-
 
|- style="background-color:#cccccc;"
 
!style="width:20%"|'''Property'''
 
!style="width:20%"|'''Original'''
 
!style="width:20%"|'''Normalized'''
 
|-
 
|Codec
 
|MPEG 1 Audio, Layer 2 (MP2)
 
|PCM
 
|-
 
|Channels
 
|2
 
|2
 
|-
 
|SampleRate
 
|44100 HZ
 
|48000 HZ
 
|-
 
|BitDepth
 
|16
 
|16
 
|-}</br>
 

Latest revision as of 18:31, 11 August 2010

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

  • File used was from an unprocessed archival fonds
  • Used the following command to convert the file: ffmpeg -i file.m2v -vcodec mpeg2video -qscale 1 -qmin 1 -intra -ar 48000 file.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 14,859,545 bytes 30,603,345 bytes
Streamcount imageStreams, audioStreams 1 1
FrameCount length 661 661
ImageWidth width 720 480
ImageHeight height 288 288
BitDepth bitDepth
colourModel
colourSpace yuv420p yuv420p
PAR (pixel aspect ratio)/DAR (display aspect ratio) aspectRatio PAR 32:27 DAR 16:9 PAR 32:27 DAR 16:9
FrameRate frameRate 29.97 per second 29.97 per second
lossless No No
compressionRatio
Compression codec mpeg2video mpeg2video
interlace N/A N/A
metadata