Difference between revisions of "MPEG-2 to MKV using FFmpeg"
Jump to navigation
Jump to search
(Created page with 'Main Page > Documentation > Media type preservation plans > MPEG-1 and MPEG-2 > MPEG-2 to MKV using FFmpeg') |
|||
(7 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-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.mpg, taken from http://www.jhepple.com/support/sample_movies1.htm | ||
+ | *Used the following command to convert the file: ffmpeg -i <filename>.mpg -vcodec ffv1 -acodec pcm_s16le <filename>.mkv | ||
+ | </br> | ||
+ | |||
+ | ===File/video stream properties=== | ||
+ | |||
+ | {| border="1" cellpadding="10" cellspacing="0" width=90% | ||
+ | |- | ||
+ | |- style="background-color:#cccccc;" | ||
+ | !style="width:20%"|'''Significant characteristic''' | ||
+ | !style="width:20%"|'''Original''' | ||
+ | !style="width:20%"|'''Normalized''' | ||
+ | |- | ||
+ | |imageStreams | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |audioStreams | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |length | ||
+ | |1016 frames | ||
+ | |1018 frames | ||
+ | |- | ||
+ | |width | ||
+ | |720 pixels | ||
+ | |720 pixels | ||
+ | |- | ||
+ | |height | ||
+ | |480 pixels | ||
+ | |480 pixels | ||
+ | |- | ||
+ | |bitDepth | ||
+ | |8 | ||
+ | | | ||
+ | |- | ||
+ | |colourSpace | ||
+ | |yuv420p | ||
+ | |yuv420p | ||
+ | |- | ||
+ | |pixelAspectRatio | ||
+ | |4:3 | ||
+ | |4:3 | ||
+ | |- | ||
+ | |frameRate | ||
+ | |29.97 fps | ||
+ | |29.97 fps | ||
+ | |- | ||
+ | |interlace | ||
+ | |yes | ||
+ | |no (see Issue 689) | ||
+ | |- | ||
+ | |}</br> | ||
+ | |||
+ | ===Audio stream properties=== | ||
+ | |||
+ | |||
+ | {| border="1" cellpadding="10" cellspacing="0" width=90% | ||
+ | |- | ||
+ | |- style="background-color:#cccccc;" | ||
+ | !style="width:20%"|'''Significant characteristic''' | ||
+ | !style="width:20%"|'''Original''' | ||
+ | !style="width:20%"|'''Normalized''' | ||
+ | |- | ||
+ | |duration | ||
+ | |33s 176ms | ||
+ | |33s 967ms | ||
+ | |- | ||
+ | |channels | ||
+ | |2 | ||
+ | |2 | ||
+ | |- | ||
+ | |channel mapping | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |sampling frequency | ||
+ | |44.1 KHz | ||
+ | |44.1 KHz | ||
+ | |- | ||
+ | |bit depth | ||
+ | |16 | ||
+ | |16 | ||
+ | |-} |
Latest revision as of 17:52, 17 August 2011
Main Page > Documentation > Media type preservation plans > MPEG-1 and MPEG-2 > MPEG-2 to MKV using FFmpeg
- 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>.mpg -vcodec ffv1 -acodec pcm_s16le <filename>.mkv
File/video stream properties[edit]
Significant characteristic | Original | Normalized |
---|---|---|
imageStreams | 1 | 1 |
audioStreams | 1 | 1 |
length | 1016 frames | 1018 frames |
width | 720 pixels | 720 pixels |
height | 480 pixels | 480 pixels |
bitDepth | 8 | |
colourSpace | yuv420p | yuv420p |
pixelAspectRatio | 4:3 | 4:3 |
frameRate | 29.97 fps | 29.97 fps |
interlace | yes | no (see Issue 689) |
Audio stream properties[edit]
Significant characteristic | Original | Normalized |
---|---|---|
duration | 33s 176ms | 33s 967ms |
channels | 2 | 2 |
channel mapping | ||
sampling frequency | 44.1 KHz | 44.1 KHz |
bit depth | 16 | 16 |