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

From Archivematica
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[MPEG-1 and MPEG-2]] > MPEG-2 to MKV using FFmpeg
 
[[Main Page]] > [[Documentation]] > [[Media type preservation plans]] > [[MPEG-1 and MPEG-2]] > MPEG-2 to MKV using FFmpeg
  
*File used was MPEG-2_with_Super_VideoCD_Extensions, taken from http://www.jhepple.com/support/sample_movies1.htm
+
*File used was MPEG-2.mpg, taken from http://www.jhepple.com/support/sample_movies1.htm
*Used the following command to convert the file: ffmpeg -i <filename>.mpeg -vcodec ffv1 -acodec pcm_s16le <filename>.mkv
+
*Used the following command to convert the file: ffmpeg -i <filename>.mpg -vcodec ffv1 -acodec pcm_s16le <filename>.mkv
 
</br>
 
</br>
  
Line 23: Line 23:
 
|-
 
|-
 
|length
 
|length
|1058 frames
+
|frames
|10581057 frames
+
|frames
 
|-
 
|-
 
|width
 
|width
|480 pixels
+
|720 pixels
|480 pixels
+
|
 
|-
 
|-
 
|height
 
|height
 
|480 pixels
 
|480 pixels
|480 pixels
+
|
 
|-
 
|-
 
|bitDepth
 
|bitDepth
Line 40: Line 40:
 
|colourSpace
 
|colourSpace
 
|yuv420p
 
|yuv420p
|yuv420p
+
|
 
|-
 
|-
 
|pixelAspectRatio
 
|pixelAspectRatio
|1:1
+
|4:3
|1:1
+
|
 
|-
 
|-
 
|frameRate
 
|frameRate
 
|29.97 fps
 
|29.97 fps
|29.97 fps
+
|
 
|-
 
|-
 
|interlace
 
|interlace
|no
+
|yes
|no
+
|
 
|-
 
|-
 
|}</br>
 
|}</br>
Line 67: Line 67:
 
|-
 
|-
 
|duration
 
|duration
|34s 760ms
+
|
 
|
 
|
 
|-
 
|-
Line 80: Line 80:
 
|sampling frequency
 
|sampling frequency
 
|44.1 KHz
 
|44.1 KHz
|44.1 KHz
+
|
 
|-
 
|-
 
|bit depth
 
|bit depth
 
|
 
|
|16
+
|
 
|-}
 
|-}

Revision as of 15:19, 17 August 2011

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


File/video stream properties

Significant characteristic Original Normalized
imageStreams 1 1
audioStreams 1 1
length frames frames
width 720 pixels
height 480 pixels
bitDepth 8 bits
colourSpace yuv420p
pixelAspectRatio 4:3
frameRate 29.97 fps
interlace yes


Audio stream properties

Significant characteristic Original Normalized
duration
channels 2 2
channel mapping
sampling frequency 44.1 KHz
bit depth