Questions tagged [audio-video-sync]

Questions related to synchronization between audio and video during creation, transmission, reception and playback of content with both audio and video.

Audio to video synchronization (also known as audio video sync, audio/video sync, AV-sync, lip sync, or by the lack of it: lip sync error, lip-flap) refers to the relative timing of audio (sound) and video (image) parts during creation, post-production (mixing), transmission, reception and play-back processing. When sound and video have a timing related cause and effect, AV-sync can be an issue in television, videoconferencing, or film.

More details at http://en.wikipedia.org/wiki/Audio_to_video_synchronization

36 questions
1
vote
1 answer

Recording from tv tuner/webcam with gstreamer and audio/video going out of sync

I have a TV tuner card that shows up as /dev/video1. I am trying to digitize some old VHS tapes. The TV tuner doesn't do audio, I have a wire connected to my microphone in. This is the gstreamer pipeline I'm using to capture video & audio and save…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
1
vote
1 answer

In Production Mode - I got "Operation Stopped" error when exporting video

Please help me to solve this issue when app goes on production mode i got "Operation stopped" error every time when i make video its works perfect on development mode but in production its gives this error Actually process is merging multiple…
1
vote
1 answer

Merging audio and video using ffmpeg in python

I am trying to merge two files (.mp3 & .mp4) to a single .mp4 The videos and audio are located in the same folder as my main.py, and aren't corrupted Here is the code that seems to create the error: if (haveAudio): infile1 =…
Dairop
  • 25
  • 8
1
vote
0 answers

Precise Audio-Video synchronization of independent streams with pygame and pyaudio

I am building an experiment in which the video of a talking person is moving randomly within the screen. The user/player should follow the video and attentively listen to the speech, while an interfering audiotrack of a concurrent speaker is also…
1
vote
0 answers

Is there anyway we can detect whether a playback is in avsync or not using pts of audio and video buffers?

I am having a media player which is basically a gstreamer(playbin) based application media playback. From gstreamer logs how can i identify using pts values of audio and video buffers whether the playback has avsync issue or not ? And if pts is not…
1
vote
1 answer

AVAssetExportSession causes audio video to desync when trying to merge multiple video/audio clips

I am trying to merge a bunch of video clips containing both audio and video into one longer video file. AVMutableComposition *mainComposition = [[AVMutableComposition alloc] init]; AVMutableCompositionTrack *compositionVideoTrack =…
1
vote
0 answers

ffmpeg streaming video not in sync

I have a problem saving a streaming with ffmpeg. The problem is that video is not in sync with audio. The video comes 2-3 seconds before the audio. I try by removing and editing options but nothing change, I make some research too and I try all…
Tenaciousd93
  • 3,438
  • 4
  • 33
  • 56
1
vote
0 answers

How to merge a audio with video without loosing original sound of video - iOS Swift

My goal is to merge audio (mp3 music) with video captured by iPhone camera, I am able to merge audio with video using AVMutableComposition but in final output video sounds is not coming. below is the code I am using: open func…
Tarun Seera
  • 4,212
  • 4
  • 27
  • 41
1
vote
1 answer

Vertical video play does not sync with multiple stacked video

I dont know if I have wrote the subject well and if that can be understood. Nevertheless, here is an explanation I have 7 videos of different dimensions where the width is same (1080). I wish to place them one below the other to get a full hd…
1
vote
0 answers

When I make the audio and video sync in gstreamer, there would be a huge delay

I use the gstreamer to decode the H264, when I use the pipeline like this: gst-launch-1.0 udpsrc uri=udp://0.0.0.0:15550 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,payload=(int)33,encoding-name=(string)MP2T" !…
Shania Hu
  • 11
  • 3
1
vote
0 answers

Xcode5 iOS7 audio and images not synchronized

I'm developing an iPad App and I have a problem with animations. I start animations and audio at the same time with an IBAction, they're synchronized using iPad2, but when I run the App on iPad 3 and on simulator 64 bit audio and images are not…
1
vote
2 answers

Audio & Video not synchronized properly if i merged more videos in mp4parser

I have used mp4parser for merging video with dynamic pause and record video capture for max 6 second recording. In preview its working fine when recorded video with minimum pause/record, If i tried with more than 3 pause/record mean the last video…
0
votes
1 answer

Sync music to frame-based time

I'm making a game in which there are a series of events (which happens, say, every 30 frames in a 60fps setting) that I want to sync with the music (at 120 bpm). In usual cases, e.g. rhythm games, syncing the events to the music is easier, because…
Trebor
  • 307
  • 2
  • 10
0
votes
1 answer

Audio/Video syncing problem while recording and playing webm chunks on Chrome of Windows 10

Problem I am recording the webm chunks by MediaRecorder at Chrome 83 in Windows 10 and sending these to other computer. These chunks are playing on another Chrome by using Media Source…
0
votes
0 answers

ffmpeg merge two videos (not concatenating) is out of sync

I am trying to merge a video from my camera with a video via URL and show them [pip]. It shows great but the sound is out of sync. my code is ffmpeg -i input1.mp4 -i urlInput.mp4 -filter_complex "[1]crop=450:230:80:215,scale=iw/1.5:ih/1.5 [pip];…
Ittai Oren
  • 53
  • 6