Skip to main content

All Questions

Tagged with
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
1 vote
0 answers
60 views

How to create timestamps for raw H264 to make it VFR using audio as reference?

I had an MP4 screen recording which got corrupted (missing moov atom). I tried untrunc, recover_mp4_to_h264 and MP4Fix, and the latter gave me a complete result. However, the result was pure h264 and ...
Blacklight MG's user avatar
1 vote
0 answers
2k views

Remote desktop audio lag

Why when using remote desktop, when playing a video, my keyboard executions are almost perfectly in sync with the image on the screen, but the there is like a 1 second audio delay and sometimes 2 ...
cazanova's user avatar
  • 123
0 votes
1 answer
332 views

Easiest way to add a 3 second delay, every 30 seconds, in a subtitle to sync it with a video?

I need to sync a subtitle with a video. By trial and error, I figured out that the subtitle needs a delay of 3 seconds, every 30 seconds. Is there an automated way to do add this delay? I am somewhat ...
sfxedit's user avatar
  • 343
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
0 answers
530 views

How can I sync the frames of multiple videos from a multi-camera capture system using FFMPEG?

I have a multi-camera capture setup with 2 canon cameras. Each of these cameras have a tentacle sync e timecode generator connected to them. After a video capture with these 2 cameras, the generated ...
user9114146's user avatar
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
0 answers
1k views

Demux video and KLV data from MPEG-TS stream, frame-by-frame, in sync

I need to demux the video frames and KLV data from an MPEG-TS stream in sync, frame-by-frame. The following command to demux the KLV data and outputs a text file with the KLV data. gst-launch-1.0 ...
9friday's user avatar
  • 21
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
2 votes
1 answer
1k views

How to do automatically transfer subtitles from one video to another ? (based on video stream)

I have the following : a mkv file (let's call it A) with video, audio and subtitles correctly synchronized. another mkv file (let's call it B) with video and audio also synchronized but without ...
tigrou's user avatar
  • 931
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
2k views

Run ffmpeg in parallel for synchronization in rtsp streaming

I am trying to receive videos from three cameras via rtsp. We use ffmpeg with multiple outputs how ffmpeg explains, but the delay is worse than we run directly three different linux processes, is ...
carlos.baez'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
1 vote
1 answer
2k views

2020: To quickly and efficiently play an external audio track in sync with a video?

To quickly and efficiently play an external audio track in sync with a video? How to play a video with a different audio track? https://superuser.com/a/1077106/183467 Tried this, but the last step ...
Alex S's user avatar
  • 991
0 votes
1 answer
2k views

Is there a way to make VLC time sync a video on separate computers, each having a local copy of the video?

My friends and I are trying to watch a video that we all have on our machines, and would love to all have it timed together without the hassle of manually doing it. Is there a VLC plugin or tool that ...
hamoodcooper's user avatar
2 votes
0 answers
688 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
0 votes
0 answers
2k views

Audio and video from MKV file getting out of sync in multiple media players

I noticed an issue while playing MKV files on my HP laptop. After about an hour or so, the audio starts to get out of sync with the video, and the delay becomes greater and greater. If i restart the ...
Gabriel S.'s user avatar
1 vote
0 answers
516 views

Youtube Audio and Video go out of sync in Chrome and some of my other videos

Hi i had a question since i cant seem to figure out whats wrong YouTube also some of the videos on my computer the sound will be out of sync withe the video. Its like a 1 second laps in the video. i ...
Blackheartte'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
  • 9,014
0 votes
0 answers
64 views

Upgraded MB/CPU/RAM, video players now have sync problems

A month or so ago I upgraded the CPU, motherboard and RAM of my PC (from an i5-2500K to an i7-9700K). Windows 10 seemed to handle this change very well without having to reinstall (besides having to ...
Warp's user avatar
  • 179
0 votes
2 answers
2k views

Synchronize video viewing between computers with matching local files?

Let's say I have a video file that I'd like to watch with some friends of mine in different states. FTP makes it easy enough for all of us to get a local copy of the file. Sure we could call each ...
Corey Ogburn'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
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
0 votes
1 answer
116 views

How to synchronize graphics card FPS with movie FPS automatically?

When I watch movies on my PC I have to "guess" the movie's FPS (24, 25, 30, ...) every time, then set the guessed FPS in my video driver's Refresh Rate setting. Only then the movie is shown fluently ...
user11909's user avatar
  • 143
3 votes
1 answer
4k views

Capture multiple camera in sync

How can I capture multiple webcam stream synchronized? I tried using FFMPEG, mapping the outputs to different files in the same command line, but this resulted in 2 un-synchronized videos never the ...
Ido Kessler's user avatar
0 votes
1 answer
41 views

How to turn off rogue OneDrive video syncing

(I am running Windows 7.) Yesterday I did some clean-up and moved some mp4 files from my desktop to "My Videos". Later I got a message that my OneDrive was almost full. Then I realized that when I ...
aparente001'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
7 votes
0 answers
3k views

Video playback with multiple audio tracks to separate audio devices

I have an mkv file with multiple audio tracks (separate languages) that should be played simultaneously from the same device. That is the video should be played with track #1 on my mac, while audio ...
Karen Galstyan's user avatar
1 vote
0 answers
844 views

How to play two videos side-by-side synchronously when they have different length?

Before going into the question, let's review what we have gotten on "How to play multiple videos side-by-side synchronized?". But the answer there supposed that the video files themselves were ...
user2720402's user avatar
21 votes
6 answers
91k views

Replace audio + sync + save all to a new video file – VLC

I have a video with audio. I have an .mp3 file of the same video but in another language. I need to do two things. Replace the built-in audio with the new audio. Because the new audio is not exactly ...
Mosh Feu's user avatar
  • 317
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 ...
Alfredo Di Napoli'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
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
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 ...
Wojciech's user avatar
1 vote
1 answer
964 views

VirtualDub AVI Capture: Video delayed by ~ 4 seconds

I am using VirtualDub 1.10.4 to capture audio and video from video-only DirectShow device: [dshow @ 0000018baeadb920] DirectShow video device options (from video devices) [dshow @ 0000018baeadb920] ...
Fit Nerd's user avatar
  • 537
1 vote
2 answers
1k views

Is it possible to view a movie in 2 locations at once?

Is it possible to view a movie at the same time using my phone, while it's playing on my laptop? If possible, vlc would be my first choice, but I could use other players as well. EDIT: to make it a ...
Geo's user avatar
  • 438
1 vote
0 answers
733 views

How to fix video and audio out-of-sync (sometimes)?

I have a avi video file which plays perfectly on Linux (using e.g. mplayer) and on one TV, but when using another TV the audio happens to be out-of-sync with the video by about 5 seconds! This does ...
Alex's user avatar
  • 452
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.
mitli's user avatar
  • 23
0 votes
1 answer
746 views

Are there really audio-video sync issues when playing Blu-ray movies on a pc?

I would like to buy a Blu-ray player for my next PC; it would be an internal one that I would then use with a software like PowerDVD. My monitor will be a Dell U2415, with a 16:10 aspect ratio and ...
Fabio says Reinstate Monica's user avatar
0 votes
2 answers
96 views

How do I automatically sync all videos I record with my android phone to my desktop?

I record a lot of short videos with my Android phone, and I would like to know the most convenient way to keep them synced with a folder in my desktop (OSX). I automatically sync my media from my ...
nachocab's user avatar
  • 157
0 votes
1 answer
268 views

Sync two movies, frame-accurate?

Given video recordings made on two (or more) cameras such as gopros or keychain cameras, and given a "clapperboard" event in each recording, what is a simple way to trim each recording to start with ...
Camille Goudeseune's user avatar
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
1 vote
2 answers
10k views

How to sync two looping videos with mplayer and upd?

I am trying to sync two instances of mplayer with -upd-master and -udp-slave, and notice that the slave staggers for about a second when the master begins the loop anew. I am running debian 7.1 with ...
denjello's user avatar
  • 383
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
5 votes
2 answers
3k views

Tool to fix audio sync for small portion of video file

I am trying to fix an audio sync issue for a video file that is off by a second from the 25th-26th minutes of a 30 minute file. I have looked at a few different tools such as avidemux etc. I see ...
moorecats's user avatar
  • 161
3 votes
0 answers
1k views

Synchronise the playback of two different videos in VLC

So I have two different videos, which I want to play at the same and be able to pause, stop, rewind forward/backward, ... so that this happens on both of them at the same time. How could I achieve ...
jcxz's user avatar
  • 153
13 votes
4 answers
37k views

Synchronized video playback over the network

I would like to play the same video on two different computers, and synchronize them approximately over the internet. I'd like to watch videos together with my friend while talking on Skype. It'd be ...
Szabolcs's user avatar
  • 2,987
0 votes
1 answer
2k views

Synced Video and Powerpoint Slides Side by Side

I would like to take a video of a lecture and display it on a website with the slides from the presentation displaying next to the video. The slides would switch according to how they were switched by ...
Alan Turing's user avatar

15 30 50 per page