I've got an .avi (1280x720 6 Channel 5.1 Audio 48,000 Hz 384 kb/s) that I'm trying to convert to an H264 M4V for streaming to my AppleTV and I'm using ffmpeg to do this.
ffmpeg -i input.avi -acodec copy -vcodec libx264 -vpre ultrafast -b 3331k -crf 22 -threads 0 output.m4v
I'm use the preset ultrafast just to test for the moment, but each time, the resulting m4v comes out with 2 channel audio, despite the fact that I've told ffmpeg to leave the audio alone.
Any ideas?
And yeah, I know the AppleTV won't deal with the 384 kb/s.. if I attempt to convert the audio while the file is an AVI still I end up with audio sync issues (which is also bugging me).
Cheers!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
Strange. I've just run the same ffmpeg command on an .mpg file originating from a DVD, and the audio (AC-3) stays as 6 channels. I haven't got a 6 channel .avi file to try as a source.
How do you know that the .m4v file is only 2 channel? Can you open both files with mediainfo, and post the details here?
Also, what does ffmpeg output while the conversion is taking place? It should be something like this:
Code:Output #0, ipod, to 'test_02.m4v': Metadata: encoder : Lavf52.93.0 Stream #0.0: Video: libx264, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=10-51, 3331 kb/s, 25 tbn, 25 tbc Stream #0.1: Audio: ac3, 48000 Hz, 5.1, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding
Similar Threads
-
Premiere: Duplicate left audio channel to the right channel?
By ash_melb in forum EditingReplies: 7Last Post: 21st Oct 2015, 12:32 -
Nice Results With Avisynth Color Channel Mixer
By Soopafresh in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 4Last Post: 24th Mar 2015, 09:45 -
DVD with mono audio channel...can i convert to two channel
By maass in forum Newbie / General discussionsReplies: 3Last Post: 1st May 2009, 22:46 -
Convert single channel to double channel audio ...
By tariq_niazi in forum AudioReplies: 3Last Post: 15th Nov 2007, 17:47 -
MPEG2 - Copy audio channel to other
By Francesc001 in forum EditingReplies: 3Last Post: 15th Jul 2007, 22:43