Skip to main content

All Questions

Tagged with
4 votes
1 answer
11k views

FFmpeg and HLS multiple audio renditions

I'm trying to use FFmpeg to produce an HLS playlist which contains multiple audio renditions, but I cannot get the audio & video tracks to sync together. Here is the scenario: Suppose I have 2 ...
0 votes
0 answers
69 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 ...
0 votes
0 answers
85 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....
1 vote
0 answers
377 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 ...
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 ...
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 ...
0 votes
1 answer
960 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 ...
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 ...
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 ...
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 ...
5 votes
4 answers
35k views

FFMPEG audio out of sync when transcoding (demuxing) from DV

I've been stuck with this problem for months. I have over 50 DV tapes (from and old Sony camcorder) to be converted to a more modern, usable format (most likely H264). I've started off with pulling ...
2 votes
0 answers
686 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 ...
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) ...
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 ...
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 ...

15 30 50 per page