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

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th March 2014, 14:17   #1  |  Link
qupfer
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:

Code:
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 ?
qupfer is offline   Reply With Quote
Old 30th March 2014, 15:30   #2  |  Link
Guest
Guest
 
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
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 680
Quote:
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
Reply

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 04:10.


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