PDA

View Full Version : [ubuntu] Convert mpeg2 to h264 avi (or mkv)



simartem
November 30th, 2009, 04:57 PM
I have got a .ts file and i demux it with TsRemux. Now i have a mpeg2 video file with 1920x1080 resolution and 29 fps. I want to make it a h264 mkv file. How can i do it in ubuntu ? I am using Ubuntu 9.10

simartem
December 1st, 2009, 09:38 AM
It is possible to convert file types with "Total Video Converter" in windows but i dont know a program for this in Ubuntu. Any ideas please ?

andrew.46
December 1st, 2009, 10:47 AM
Hi simartem,


I have got a .ts file and i demux it with TsRemux. Now i have a mpeg2 video file with 1920x1080 resolution and 29 fps. I want to make it a h264 mkv file. How can i do it in ubuntu ? I am using Ubuntu 9.10

If you are comfortable with the commandline you might have a look at this excellent guide:

HOWTO: Install and use the latest FFmpeg and x264
http://ubuntuforums.org/showthread.php?t=786095

and simply alter the output file to .mkv

All the best,

Andrew

simartem
December 1st, 2009, 03:47 PM
Thank you very much for the guide you have mentioned.. I will give it a try, i am familiar ith commandline. Thank you