Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Thread Tools Search this Thread Display Modes
Old 30th March 2014, 14:17   #1  |  Link
Registered User
Join Date: Sep 2009
Posts: 18
Multiplex MP4 with FFMPEG - How do I set audio-delay correctly?

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 
Will this be the "right way" or I am doing something stupid ?
qupfer is offline   Reply With Quote
Old 30th March 2014, 15:30   #2  |  Link
Join Date: Jan 2002
Posts: 21,922
I don't know about ffmpeg, but if it was me I would just use DelayCut on the AC3 file before muxing.
Guest is offline   Reply With Quote
Old 30th March 2014, 20:48   #3  |  Link
Registered User
Reino's Avatar
Join Date: Nov 2005
Posts: 681
Originally Posted by https://trac.ffmpeg.org/ticket/1349#comment:6
4) It does not work with .mp4 container (a bug?)
And I can confirm this, so I would advise you to use another method.
My hobby website
Reino is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 13:23.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.