![]() N h:\out3.mp4 -i -acodec copy -newaudio -map 0:0 -map 1:0 -map 0:1įFmpeg version SVN-r21997, Copyright (c) 2000-2010 the FFmpeg developers Sorry, should be the last time :)ĬTAACEncoder -d -b 128000 -o - h:\input.mkv | ffmpeg -i h:\input.mkv -vcodec copy -acodec copy -s Thanks! So I tried it and it works in principle! But I have a few questions. My bad, CTAACEncoder is missing in that package, please download an earlier package (). And I know the h.264 stream itself is already compatible with all these devices, so. ![]() Couple questions:ġ) Where do I get the CTAACEncoder? I downloaded direct264_20100225.7z but there's no CTAACEncoder, although your link implies that it's included in the package?Ģ) Can I change the audio stream order since I need the AAC first and AC3 second?ģ) official ffmpeg doesn't work for me since my H.264 stream contains b-frames and your ffmpeg can't do aac encoding ("demuxer_muxer only"), did I understand that correct?įYI, I have these strange requirements because I want to be able to play the mkv-to-mp4 video at least on my Computer (AC3), my AppleTV (AAC AC3) and my iPhone 3GS (AAC), without having to transcode, give up AC3 or the need for multiple versions of the video. Well official ffmpeg should also do it in one pass:įfmpeg -i input.mkv -vcodec copy -acodec aac -ab 128 -sn output.mp4 -acodec copy -newaudioġ) The quality of ffmpeg's built-in aac encoder is bad.Ģ) If your H264 stream contains b-frames, stream copy will fail due to ffmpeg's lack of dts generation for mkv. ![]() Note that CTAACEncoder will automatically downmix your 5.1 AC3 to stereo. Use the following command line to do it in one pass:ĬTAACEncoder -d -b 128000 -o - input.mkv | ffmpeg -i input.mkv -vcodec copy -acodec copy -sn output.mp4 -i -acodec copy -newaudio Make sure you have mkv splitter and ac3 decoder installed on your system. ![]() Download the direct264 package as well as ffmpeg(here do not use official ffmpeg builds). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |