
The command line I'd like to use fails with the following error:įfmpeg -i input.mkv -map 0 -codec copy output.mp4 Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)

I'm having a similar issue when trying to convert mkv container to mp4 without re-encoding.Īn example file has the following streams: Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, 125 kb/sĮncoder (codec none) not found for output stream #0:2

Estimating duration from bitrate, this may be inaccurateįile 'out.mp4' already exists. I expect FFmpeg to automatically choose the codec, similar to how it does with libx264 and libfaac.įfmpeg -i in.mp4 -i subs.srt -c:v copy -c:a copy -map 0 -map 1 out.mp4įfmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developersīuilt on 22:55:29 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)Ĭonfiguration: -prefix=/usr/local/Cellar/ffmpeg/1.1.2 -enable-shared -enable-pthreads -enable-gpl -enable-version3 -enable-nonfree -enable-hardcoded-tables -enable-avresample -cc=cc -host-cflags= -host-ldflags= -enable-libx264 -enable-libfaac -enable-libmp3lame -enable-libxvid -enable-libfreetype -enable-libtheora -enable-libvorbis -enable-libvpx -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libvo-aacenc -enable-ffplay -enable-libfdk-aac -enable-libopus -enable-libopenjpeg -extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 ' The extract_subs script assumes that the subtitle stream is the third one (labelled 2, counting from 0).FFmpeg doesn't seem to be able to auto-select the proper subtitle codec for MP4, which would be mov_text.

Ffmpeg -i "$".mp4ĭone The "-strict experimental" is currently needed for aac audio encoding, apparently.
