Current workflow is to export an non-multiplexed MPEG-2 file from Adobe Premiere Pro, then use this command with FFMpeg
Using this, then importing to AVStoDVD gives me this error:Code:ffmpeg -i movie.m2v -i movie.wav -vcodec copy -acodec ac3 -f dvd movie.mpg
How can I, using FFMpeg or something else, mux a file that doesn't have this delay? I've noticed that files ripped from commercial DVDs do not throw this error. Thanks.Code:Audio Track #1 is DVD compliant but has a delay of -37ms. Resulting DVD will be very likely out-of-sync, unless audio will be re-encoded.
PS - for my specific use case, simply letting AVStoDVD re-encode the audio is not an option.
+ Reply to Thread
Results 1 to 9 of 9
Try adding "-itsoffset 0.037" after importing the video but before importing the audio.
Last edited by jagabo; 11th Oct 2021 at 00:49.
Well, I tried this code:
ffmpeg -i movie.m2v -itsoffset 0.038 -i movie.wav -vcodec copy -acodec ac3 -f dvd movie3.mpg
...but, I still have some questions. Why did this delay exist in the first place? I just tried exporting a different clip and muxing without the -itsoffset flag, and the delay reported by AVStoDVD was -5ms. Is there a way to check this beforehand, so I don't have to do trial and error? Where does the delay itself come from?
I believe it has to do with the audio having to be pre-loaded when muxing. But I don't know the exact details.
In a nutshell: there won't be any delay during playback, even if there is a delay reported.
That's because the delay is taken into consideration upon playback.
AVStoDVD uses DVDAuthor for muxing, so yeah I'm not surprised.
I also sometimes had issues with DVDAuthor that wouldn't occur with Muxman so I stopped using it for muxing entirely. Muxman's multiplexing is on par with commercial DVD authoring softwares and it does support audio delays.
Maybe the description of AVStoDVD here on videohelp should be updated then because that's what I was relying on when I was researching what muxing engine it uses.
Edit: Here is an idea @seanmcnally, use standalone Muxman to multiplex the m2v and ac3 files and post the log file.
Last edited by Skiller; 8th Dec 2021 at 08:19.