[FFmpeg-user] Convert iPhone MOV to Android MP4

Lou lou at lrcd.com
Thu Mar 9 02:29:52 EET 2017


On Wed, 8 Mar 2017 17:04:18 -0700
Richard Duran <ricdur2 at gmail.com> wrote:

> I'll try my luck with ALAC instead of AAC.

I doubt you can mux ALAC into MP4.

If you must use MP4 then encode PCM inputs to AAC and stream
copy AAC inputs.

You can use ffprobe to determine the input audio format which is useful
if you want to script it:

$ ffprobe -loglevel error -select_streams a:0 -show_entries stream=codec_name -of csv=p=0 input.mov

Then use ffmpeg:

ffmpeg -i input -c copy -c:a aac output.mp4
or
ffmpeg -i input -c copy output.mp4


More information about the ffmpeg-user mailing list