Log in

View Full Version : Multiplex MP4 with FFMPEG - How do I set audio-delay correctly?


qupfer
30th March 2014, 14:17
Just a simple question. I have a h264 video file and a ac3 audio file with a delay parameter.
("myAudioFile PID 403 3_2ch 48KHz 384Kbps DELAY 106ms.ac3")

Because I do it remotly, I can't check the output directly and must "trust" my commandline ;)

I thought the following would match:


ffmpeg -i "E:\convert\Video.mkv" -itsoffset 0.106
-i "E:\convert\myAudioFile PID 403 3_2ch 48KHz 384Kbps DELAY 106ms.ac3"
-map 0:0 -map 1:0 -c copy
"E:\convert\myMovieFile.mp4"


Will this be the "right way" or I am doing something stupid ?

Guest
30th March 2014, 15:30
I don't know about ffmpeg, but if it was me I would just use DelayCut on the AC3 file before muxing.

Reino
30th March 2014, 20:48
4) It does not work with .mp4 container (a bug?)And I can confirm this, so I would advise you to use another method.