View previous topic :: View next topic |
Author |
Message |
Leocifre Tux's lil' helper
Joined: 14 Mar 2006 Posts: 139
|
Posted: Tue Jan 05, 2010 10:14 pm Post subject: need suggestions for converting h264/ac3 m2ts-file |
|
|
Hi,
I would like to convert some videos I made with my sony cam, which are h264/ac3 .m2ts files into either .avi or .mpeg.
Basically, I only care about the container, I would like to keep the original quality both for audio and video, audio is 5.1 and video 1440x1080.
I tried making an xvid/ac3 .avi with ffmpeg with -acodec copy, but I only get video when trying to play the output.
Anyways, if you could offer me suggestions as to which codecs for both audio and video and how I would best go about it that would be nice |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Tue Jan 05, 2010 11:17 pm Post subject: |
|
|
I've noticed lack of sound problems with the latest ffmpeg and ac3 too lately despite -formats showing DEA for ac3, so you are not alone. Transcoding sound to another format such as aac does seems to work though so give...
Code: |
ffmpeg -i infile.m2ts -vcodec copy -acodec libfaac -ar 44100 -ac 6 -ab 384kb outfile.avi
|
...a try and see if that doesn't work. Of course it best to convert your sound to whatever codec your hardware best supports. This user: http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2009-October/022753.html seems to problems with aac over 128k. I've not experienced that. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sat Jan 09, 2010 2:50 pm Post subject: |
|
|
I'd use x264 and ogg vorbis (or keep ac3) in a matroska container. I'd use avidemux for the conversion. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
|