Audio delay on part of video
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!
Hello, I would use Avidemux. It is based on ffmpeg. From my side of view, you need an visual interface, whether the synchronisation will be O.K.. My experience, a difference of > 50ms will be visible. But you must have in mind, an offset of +t of audio leads to no audio during the offset time at the beginning of the video, -t vice versa. Richard 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-request@ffmpeg.org with subject "unsubscribe".
I am really sorry I am a ffmpreg user not a worker contact Custer support Sent from my iPhone
On 25 Apr 2025, at 20:21, Richard Bartczak via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
Hello,
I would use Avidemux. It is based on ffmpeg.
From my side of view, you need an visual interface, whether the synchronisation will be O.K..
My experience, a difference of > 50ms will be visible.
But you must have in mind, an offset of +t of audio leads to no audio during the offset time at the beginning of the video, -t vice versa.
Richard
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-request@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-request@ffmpeg.org with subject "unsubscribe".
You have understand all ! Am 25.04.25 um 23:07 schrieb Josh Mulligan:
I am really sorry I am a ffmpreg user not a worker contact Custer support
Sent from my iPhone
On 25 Apr 2025, at 20:21, Richard Bartczak via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
Hello,
I would use Avidemux. It is based on ffmpeg.
From my side of view, you need an visual interface, whether the synchronisation will be O.K..
My experience, a difference of > 50ms will be visible.
But you must have in mind, an offset of +t of audio leads to no audio during the offset time at the beginning of the video, -t vice versa.
Richard
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-request@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-request@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-request@ffmpeg.org with subject "unsubscribe".
Hello and thanks for replying. I was hoping for an ffmpeg-only solution. BTW i didn't understand the other message from Josh. On 25-Apr-25 10:21 PM, Richard Bartczak via ffmpeg-user wrote:
Hello,
I would use Avidemux. It is based on ffmpeg.
From my side of view, you need an visual interface, whether the synchronisation will be O.K..
My experience, a difference of > 50ms will be visible.
But you must have in mind, an offset of +t of audio leads to no audio during the offset time at the beginning of the video, -t vice versa.
Richard
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-request@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-request@ffmpeg.org with subject "unsubscribe".
"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!
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-request@ffmpeg.org with subject "unsubscribe".
Thank you for the information! 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-request@ffmpeg.org with subject "unsubscribe".
participants (4)
-
German Geraskin -
Josh Mulligan -
Richard Bartczak -
tasos