All Questions
27
questions
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 ...
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 ...
2
votes
1
answer
7k
views
ffmpeg/avconv async is not working - unsync audio
I have a javascript that records video from a webcam as webm and audio from microphone as wav together. I am encoding these webm and wave files to generate a mp4 file using ffmpeg/avconv. But i've ...
2
votes
1
answer
2k
views
How can I get exact delay between audio and video with ffmpeg?
I know how to set a delay with ffmpeg's -itsoffset flag, but I want to know how to get and set exact delay time.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
2
answers
7k
views
Out of sync audio video using mencoder
I converted an mkv (matroska) file to avi using ffmpeg:
ffmpeg -i input.mkv -f mp4 -vcodec mpeg4 -sameq -r 29.97 -b 512kb -acodec ac3 -ab 128kb -vol 512 output.avi
The output file plays fine using ...
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 ...