Skip to main content

All Questions

Tagged with
15 questions with no upvoted or accepted answers
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 ...
asergio's user avatar
  • 21
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
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
2 votes
0 answers
2k views

ffmpeg - complex filter putting 2 videos side by side results in audio out of sync

We have 2 videos. One is a professionally produced video by an artist that performs a song stopping in certain parts to let the user sing. The second video is a stream that is recorded while the user ...
Lauchenauer's user avatar
2 votes
0 answers
916 views

Cut part of video with ffmpeg with both sync and quality?

How to cut part of video with ffmpeg without any problems? The following command ffmpeg -i <infile> -ss <starttime> -to <endtime> -vcodec copy -acodec copy <outfile> will ...
Dims's user avatar
  • 12.8k
2 votes
0 answers
2k views

How can I synchronize two audio files?

I've got many audio files of the same scene, but recorded with different devices. I would like to automaticaly synchronize the sources. I searched the web for a solution an I understood that I should ...
Wesley's user avatar
  • 21
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 ...
Nav's user avatar
  • 1,089
1 vote
1 answer
1k views

ffmpeg: .ogv to .mp4 - audio video not synchronized

I have a video in .ogv and want to convert it to .mp4 so I can upload it to youtube. I am trying ffmpeg for it: ffmpeg -i *.ogv -acodec libmp3lame -vcodec libx264 -crf 18 Windup-demo.mp4 After ...
Ondra Žižka's user avatar
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 ...
Sulli's user avatar
  • 137
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....
Peter.k's user avatar
  • 149
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
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 ...
spacer GIF's user avatar
0 votes
0 answers
1k views

How to account for tempo difference with FFMPEG realtime stream encoding?

Background: I am using FFMPEG to combine an audio and video stream into a combined MPEGTS stream over the network. Video comes encoded in h264 from the raspberry pi camera, audio comes ogg vorbis ...
user680638's user avatar
0 votes
1 answer
317 views

How to sync video (with dropped frames) with its separately recorded audio?

Video where frames get dropped: procvid.StartInfo.Arguments = "-rtbufsize 1500M -f image2pipe -r 25 -i pipe:.bmp -vcodec libx264 -r 25 C:\\onlyvideo.avi" Audio is recorded simultaneously with video: ...
AY125's user avatar
  • 3