Thank you for the info!
On 28-Apr-25 12:32 PM, German Geraskin wrote:
"To delay the audio stream" means to insert several audio samples of
silence into the audio stream.
It is quite easy to do using [setpts
filter](https://ffmpeg.org/ffmpeg-all.html#setpts_002c-asetpts).
But this works only for the whole audio track.
If you need to add delay in the middle of the audio track, then
probably you should do the following steps:
- extract and save the first part of audio track (for example, using
[-t option](https://ffmpeg.org/ffmpeg-all.html#Main-options))
- extract and save the second part of audio track (for example, using
[-ss option](https://ffmpeg.org/ffmpeg-all.html#Main-options))
- generate desired number of audio samples containing silence (for
example, using [anullsrc
filter](https://ffmpeg.org/ffmpeg-all.html#anullsrc))
- concatenate the first part, the silence part and the second part
(for example, using [concat
filter](https://ffmpeg.org/ffmpeg-all.html#concat-3))
- mux original video and newly created audio tracks in the final file
Am 25.04.25 um 20:47 schrieb tasos:
Hello.
I would like to ask if it is possible to delay the audio streams of a video ,
but for a specific time range.
Something like using -ss -to combined with -itsoffset.
More specifically from half-till the end of the video.
Thanks!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".