Skip to main content

All Questions

Tagged with
0 votes
0 answers
62 views

Automatically synchronize two audio streams with ffmpeg

Say I have a video of a talk but the soundtrack is bad, and I happen to have an audio recording of the same talk made with a good mike. Is there a way, with ffmpeg, to replace the bad audio with the ...
Sulli's user avatar
  • 137
0 votes
0 answers
82 views

How to force audio not being delayed compared to video while processing ffmpeg filters?

I apply zoom filter on a 2k video but I've noticed the audio doesn't go with it. It's slightly delayed. I guess it's an issue with my cpu or gpu because there are lot of processing. ffmpeg -i e:/vid....
Peter.k's user avatar
  • 139
1 vote
0 answers
376 views

How to detect in real-time, whether there is an audio video sync or lag using FFMPEG?

I'm not asking about how to fix an audio video sync issue or lag. That I'll figure out, using FFMPEG's timeline editing filter. My question is about whether there is a way to detect if the audio and ...
Nav's user avatar
  • 1,089
0 votes
2 answers
1k views

Can ffmpeg automaticaly align audio and video tracks

I have searched and found many similar questions, but not this one. I've experimented and can't come up with an answer. I have a Standalone "Digital TV Converter Box". This receives ...
Bart Lederman's user avatar
0 votes
0 answers
1k views

Fix TS File Audio Sync Issue Using FFMPEG

I have a few .ts files which I've downloaded from the web that I want to chop up into smaller files. I'm using FFmpeg to do this, but each time, after about 3 minutes the video starts to fall behind ...
Steve Brown's user avatar
2 votes
1 answer
2k views

Audio out of sync when using ffmpeg, adelay, and amix

I have a series of mp3 files with a start time offset. I am trying to merge them together with adelay and amix. The following codes run and creates the combined MP3 but when I listen to the final ...
Randy Johnson's user avatar
2 votes
2 answers
1k views

ffmpeg - video and audio out of sync

This seems to be a common problem, but the answers I found don't seem to apply to my situation. I'm merging 6 videos (one of them is a short background that loops) into 1 output video, and the audio ...
Betty Crokker's user avatar
7 votes
2 answers
10k views

Audio is not in sync after re-encoding with ffmpeg of video and changing audio from eac3 to aac

Recently I did a re-encode using ffmpeg and encountered an inaudible but waveform visible audio desynchronization in the process. Source information of MKV file and audio stream: Mediainfo shows a ...
octo's user avatar
  • 81
2 votes
0 answers
679 views

FFMPEG Extracting MP3 from MP4 returns shorter audio file

I have lost so much time over this problem and really need some professional help. Over the last days I recorded some VHS tapes, I used ffmpeg which worked great! When I finished, I noticed that must ...
asergio's user avatar
  • 21
1 vote
1 answer
2k views

Trimming to milllisecond in FFmpeg causing massive slowdown in processing speed

I'm new here, first time joining a forum site like this so my sincerest apologies if I suck! Thanks in advance for your patience. I'm running Windows CMD on my laptop. I am trying to trim (delete) ...
stopper0607's user avatar
1 vote
1 answer
2k views

Ensure audio and video track are EXACTLY the same length

I generate 200 video files based on audio files generated using sox, combined with image files. Most clips are shorter than one second, none is longer than 6. I then concatenate these files and there ...
qubodup's user avatar
  • 8,994
0 votes
1 answer
955 views

Inconsistent audio sync, capturing with V4L2 and PulseAudio

Not sure what's going on here but I can't seem to get consistent audio sync capturing from HDMI with ffmpeg. I can get consistent results from OBS no problem (video is always 100ms or thereabouts ...
spacer GIF's user avatar
2 votes
0 answers
1k views

ffmpeg concat filter adds audio delay gradually

I use ffmpeg to concatenate a lot of video files, using filter_complex. However, the result file has its audio out of sync gradually. and I use mediainfo --Inform='Video;%Duration%' filename.ext and ...
Mr.Clowder's user avatar
0 votes
1 answer
6k views

FFMPEG audio/video out of sync after converting from mkv to mp4 [duplicate]

So, after i convert the mkv file to mp4, the audio plays at the correct time but the video ends early. That means the starting bit of the video has been cut off and so the video starts at a later ...
user902222's user avatar
2 votes
0 answers
1k views

FFMPEG Audio out of sync when concat

I'm processing a load of videos to concat together using Java on a Linux server. First, I mix in an audio track with this process, depending on if the video already has audio or not. ffmpeg -y -i ...
beek's user avatar
  • 355

15 30 50 per page