Hi guys, can somebody help with ffmpeg command without re-encoding.
I want to combine:
"video.ts" which already has 1 audio stream in it
with (just to add):
2 additional "audio.wav" streams with added delay of -440 ms.
So the ending result would be a video file with 3 different audio streams.
+ Reply to Thread
Results 1 to 7 of 7
-
Last edited by Zer0lll; 7th Jul 2024 at 10:32.
-
To obtain a negative audio delay, you must (positive) delay the videostream with this value (-itsoffset 0.910).
If other streams with other relative delays are present, things became complicated.
To made it simplier, use clever FFmpeg-GUI.
Load your video, click main page, click multiplex, drag & drop your wav, insert -910 as delay, set ts as container and click multiplex.
Done.
[Attachment 84011 - Click to enlarge] -
Use Audacity. Drag the two audio tracks in. Place the original on top and the one where you want to find the delay below it. Check the audio spectrum of both tracks and move the lower one until some peaks align. If the delay is negative, simply select both tracks and shift them slightly to the right until the extra part appears. Cut it off, and that will be the exact delay.
Similar Threads
-
FFmpeg command help
By Boxcart in forum Video ConversionReplies: 18Last Post: 12th Mar 2023, 13:32 -
[ffmpeg] merge two audio track with delay
By FXMkD in forum ProgrammingReplies: 6Last Post: 1st Nov 2021, 09:35 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 14th May 2021, 00:14 -
How to include audio in an overlay ffmpeg command?
By giladsof in forum Video ConversionReplies: 2Last Post: 27th Apr 2021, 10:36 -
how to re-add original audio delay back into a 2-inputfile ffmpeg transcode
By hydra3333 in forum Newbie / General discussionsReplies: 0Last Post: 30th Jul 2020, 02:30