Programming :: How To Sync Audio And Video

Sep 28, 2010

How to sync audio and video which is captured from a aeperate camera device and a microphone,how to relate timestamps to audio and video to syncing.I m capturinfg video at 30fps and audio 160 samples everytime so how these 2 should be related to sync and playback at a time

View 1 Replies


ADVERTISEMENT

Ubuntu Multimedia :: How To Sync Audio On Already Badly Out Of Sync Video?

Jul 9, 2011

Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.Searching the net makes one believe that this command is just some sort of magic.People just put it in the line and it just works. Isn't that nice?

It says nothing about how to change the TIME the audio starts syncing. Like do I want it to start 5 seconds delayed? Or what about 5 seconds sooner?What if the audio gets more out of sync as the video goes on? Can I slip it a little at a time? What? No magic?No one mentions a file that already has badly synced audio.So what -async 1 really does is simply start the audio at the beginning of the file. LIKE AS IF THAT ISN'T STANDARD PROCEDURE?So what is the exact solution to syncing a messed up video? And why can't it just do the proper "timestamp" sync in the first place?No docs, no info and you are left out in the cold.

View 4 Replies View Related

Fedora :: Video Is Choppy And The Audio Sync Is Off?

May 18, 2009

I've been trying to use cheese to record greeting from my kids to grand parents etc. But every time I record a video, the video is choppy and the audio sync is off. I've used the one in the (F11) repos and built it from source. It behaves the same using other distros as well. Is this par for the course with cheese, or is it my hardware?[URL]... Any other applications/methods to record audio & video while providing a video.

View 2 Replies View Related

Debian Multimedia :: Avconv Gives Audio And Video Out Of Sync

Sep 10, 2015

I have a problem with avconv. Most of the use cases work spledidly, but when I need to crop a segment and then splice multiple segments together, I get problems.

The process I use is this:

1. Raw recording of short segments in high-quality AVI, These are produced by avconv, some as screencast and some by combining a PNG file with flac audio from audacity.

2. Conversion segment by segment into mp4 and ogv
Options A: -acodec aac -strict experimental -ab 128k -ac 2 -vcodec libx264 -s 640x480 -pix_fmt yuv420p -movflags +faststart -crf 22
Options B: -acodec libvorbis -ab 128k -ac 2 -vcodec libtheora -s 640x480 -b 500k

3. Splicing of the segments using MP4Box or oggCat.
(I used to do this in ffmpeg, but I have not figured out how to do it in avconv.)
This works.

In some cases I need to crop the segments, using the copy codecs and the -ss and/or =t options.

If I crop the AVI segments (between 1 and 2) the sound is clipping (this also generates a spree of error messages `Non-monotonous DTS'). If I crop mp4/ogv segments, (between 2 and 3) the remaining video, after the cropped segment are out of sync. I get the same problems with both OGV and MP4 playing them in vlc. Playing the mp4 directly in iceweasel works as it should.

View 0 Replies View Related

Ubuntu Multimedia :: Flash Video And Audio Out Of Sync

Dec 2, 2010

I watch alot of news videos and within 1 - 2 minutes the video and audio become out of sync. The video is lagging the audio. I'm using 10.10 32 bit with Shock Flash 10.1 r102 on Firefox. Will the 10.2 beta flash fix this problem?

View 2 Replies View Related

Ubuntu Multimedia :: MKV Files Audio/video Out Of Sync?

Mar 29, 2011

I put all my dvds on my "media center" by converting them to .MP4 with handbrake.

Recently I saw that with a MKV file you could do soft subtitles. I tested a part of a movie, and the audio and video are very out of sync.

With MP4/burned in audio everything is ok...

Edit: Ow yes I'm using XBMC for playing it. MP4 + MKV files are both H.264, they have the exact same settings except for subtitles...

Weirdly Enough: I tried another video and at this one the audio is in sync....

View 1 Replies View Related

Ubuntu Multimedia :: After Upgrading To 11.04 Video And Audio Are Out Of Sync By About One Second

May 27, 2011

After upgrading to 11.04, video and audio are out of sync by about one second when playing movies in VLC, or opening a clip on the web. Reinstalling does nothing.

View 9 Replies View Related

OpenSUSE :: Adjust / Sync Audio And Video In Gnome-mplayer On Fly?

Jul 4, 2010

How can one adjust/sync audio and video in gnome-mplayer while watching video

The following is my configuration :-
OS : Opensuse 11.2
Media Player : gnome-mplayer 0.9.9

View 9 Replies View Related

Software :: Ffmpeg And Mencoder Slice Mp4 Video Audio Out Of Sync

Jan 7, 2010

I am trying to use ffmpeg and mencoder to slice a portion of my video out but the audio is always 2 seconds out of sync.

ffmpeg -i bird.avs.MP4 -acodec copy -vcodec copy -ss 00:08:40 -t 00:01:00 test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy bird.avs.MP4 -o test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy -noskip bird.avs.MP4 -o test.mp4

[Code]....

View 5 Replies View Related

Ubuntu Multimedia :: Video Editing Software To Re-sync Audio Correctly?

Aug 9, 2010

I have a couple of .avi clips in which the sound plays 2 seconds before the video, so I need a software that can re-sync the sound correctly with the video with affecting the video/audio quality, what program can I use? What is the name of this feature in video editing programs? I am using Ubuntu 10.04. I noted that the Multimedia & video forum have only threads about problems in playing videos & cards drivers problems.

View 3 Replies View Related

Ubuntu Multimedia :: Losing Audio Sync When Editing Video In Openshot

Aug 31, 2010

my goal is to record video using a canon powershot camera, edit the avi file on my ubuntu 10.04 computer, then upload the rendered file to videos.

problem is that when i cut the video, the audio is no longer in sync with the video, it's off by about 1-2 seconds. this happens with both openshot and pitivi, so i suspect that it's caused by a bug with the codec. (files are avi with mjpeg codec). after searching launchpad, this is apparently a "known issue". that's great but for now i need a workaround.

i do have an old g4 powerbook with imovie hd v6 on it that i can use, but i'd prefer not to because:

1. the powerpc mac is much slower than my new dual core laptop
2. imovie compresses my videos too much so the rendered file is lower quality
3. i simply prefer openshot to imovie

i was thinking of preprocessing my avi files by converting them to another format with a non-buggy codec on linux. i downloaded ffmpeg, but not sure how to use it and what format to use. would mpeg2 be a safe one to use?

View 5 Replies View Related

Ubuntu Multimedia :: HD Video Playback - Video And Sound Frequently Get Out Of Sync

Oct 17, 2010

When I play large HD videos in mplayer, the video and sound frequently get out of sync, and the video plays a little strangely (occasionally speeding up and occasionally slowing down).

I think it's because mplayer is only running on a single core. As I've got a quad-core processor, it seems inefficient. I've seen that there is theoretically a way to get mplayer to work with multicore setups, but it requires compiling with different options. That'd take me a little while to work through.

Ideally there would be a pre-compiled version in the software centre, or a player which has support built in (again, ideally in the software centre). Is there such a thing available?

View 1 Replies View Related

Fedora :: Mencoder - FPS And Audio Sync

Nov 22, 2009

I have found that if I change the FPS of a video, the audio is out of sync.

Is there a way in mencoder to have it correct this, and maintain the correct sync?

I don't think it is just a matter of audio/video delay. I have tried many times to correct this via that method, and it doesn't come close. Although, if I encode the video to another format, but with the original fps, the audio is sync'd.

View 2 Replies View Related

Fedora :: Audio Out Of Sync In VLC And Others But Not Totem

Jul 24, 2011

V.L.C. and all others - but Totem - video players that I have installed have audio out of sync. This occurs in both D.V.D. and .mkv & .avi. I had this problem with V.L.C. 1.1.10 & now with 1.1.11. I do not think that this is a problem with V.L.C. since I have had the same issue occur with gnome-mplayer. I tried to downgrade gstreamer*, and that did not correct my problem. It shouldn't be a problem with libdvd* since the problem still occurs with files on my drive. Handbrake doesn't fail to rip D.V.D correctly.

Because of all of this I figure that it must be a system library that Totem and HandBrake don't use ( or bundle most likely in the case of HandBrake ).I am using Fedora 15 x86_64 with all updates to date.

View 5 Replies View Related

Ubuntu :: VLC 90% Of Videos Audio Is Out Of Sync

Jun 20, 2011

Majority of the videos I play with VLC the audo is out of sync, I have to delay it about 400ms to sync it. This only started happening after I upgraded to 10.04 64bit ( from 32bit ). Could it be a bug in the version of VLC I'm using (1.1.10)?

View 2 Replies View Related

Debian Multimedia :: Avconv Audio Out Of Sync

Feb 5, 2015

I try to record video with my Win TV capture card with avconv. The exact same lines worked fine with Ubuntu 12 and with SUSE, but with Ubuntu 14, the audio is out of sync.

avconv -f video4linux2 -channel 1 -s 640x480 -i /dev/video0 -deinterlace -f alsa -i plughw:1,0 -ar 22050 -ab 64k -acodec ac3_fixed -vcodec mpeg4 -vb 2000k -y test.mp4

View 2 Replies View Related

Ubuntu Multimedia :: Audio Out Of Sync After Upgrade To 10.10?

Oct 17, 2010

I've upgraded Ubuntu 10.04 to Ubuntu 10.10 yesterday and I'm experiencing some issues now.

Audio is out of sync for all videos I'm trying to watch in VLC (sync was 100% fine in Ubuntu 10.04).

View 1 Replies View Related

Debian Multimedia :: VLC Stream Capture Audio Out Of Sync

Oct 20, 2015

So I got myself a USB capture card (EasyCap) to use for capturing gaming, digitizing my kids' old VHS movies, etc. It works fine, I've been using VLC to view and record stuff from it, but I've noticed one issue. When recording streams via VLC, even with no other programs running to give VLC as much CPU time as it wants, the audio slowly falls out of sync. I've tried the MP4 (H264/MP3) container and the OGG (Vorbis/Theora) container.

Early on you can't hardly tell, but the further into a movie you get the more out of sync the audio gets, so that by the end of the movie the audio is a good 1-2 seconds off. It's not a set amount either so I can't just split the audio to a separate file then shift it one direction or the other to make up for the difference, because like I said, the offset starts out at nothing and gets progressively larger as the movie goes on. When I select "display locally", the video/audio that is displayed stays in sync, only the video/audio that gets committed to the output file falls out of sync, and it doesn't matter if I play the file with Totem or VLC.

View 3 Replies View Related

Ubuntu Multimedia :: Audio Out Of Sync When Burning DVD Images?

Jun 20, 2011

I am burning DVD iso's and they seem to work great I have video output and sound output however as the film goes on the audio gradually becomes more out of sync but if I hit the rewind button on my remote and then play the sound is in sync again for a few minuets. I am using DeVeDe and Gnome Baker to create and burn my iso images to disc and they work great on the computer but not so great on my dvd players I am burning onto Verbatim DVD-R using Ubuntu 10.04 lucid lynx.

View 3 Replies View Related

Ubuntu Multimedia :: Audio Out Of Sync After Creating .iso Using Brasero With Version 10.04

Jan 5, 2011

I am attempting to backup DVDs that I own to .iso format so that I'm able to watch them using xbox media center. I've simply been copying the entire DVD to my HD in .iso using brasero.When I watch the .iso file in XBMC, the audio is a fraction of a second ahead of the video. The gap between the audio and video doesn't seem to change over the duration of the clip.

What are the likely causes of this issue? I've read that it could be a slow processor, little ram, or inadequate video card. If it's indeed a hardware issue, I suppose I'm SOL with my current laptop: a 2006 dell with a core 2 duo processor, 2GB ram, and a middle of the road video card at that time.Is there any software tweak I can explore to get the .iso file to sync properly?Also, I know it's customary for posters to list their system specifications, but I don't know how to call up my software or hardware setups.

View 1 Replies View Related

Ubuntu Multimedia :: Separate The Audio And Video Streams, Speed Up The Video?

Apr 20, 2011

I have a video file in which the audio runs faster than the video, so they quickly go out of sync. The way to fix it would be to separate the audio and video streams, speed up the video (the audio is FINE, it's the video that's wrong), and then recombining them. What is the easiest way for doing that?

View 7 Replies View Related

Ubuntu Multimedia :: Flv Video + Audio To Ogg Audio Only?

Dec 22, 2010

Is there an application that anyone knows about that I can use to convert either an .flv or .ogg file that contains both audio and video to just an audio .ogg file (preferably vorbis+theora) without audacity? I'm fairly certain audacity could accomplish this but it seems like overkill for what I'm trying to do and the computer I'm trying to use does not run it so well.

::EDIT:: I should also mention that I've tried looking on google. I did find downloadhelper extension for firefox which uses ffmpeg to convert the files but I don't see any obvious way to strip the video.

View 2 Replies View Related

Ubuntu :: Video And Sound Is Out Of Sync?

Aug 7, 2010

I just upgraded to 10.04 and now my video and sound is all out of sync and video is choppy. What can i do to fix this?

View 4 Replies View Related

Ubuntu :: Vlc Sound And Video Out Of Sync?

Jul 6, 2011

my vlc player suddenly decided to start de-syncing my sound and video. Switching vlc to asla output corrects this, but also makes the player go mute whenever you pause and resume a video. Totem is still working fine, but I really like vlc.

View 9 Replies View Related

General :: Sync Two Video Players On Two Computers?

Mar 18, 2011

Two GNU/Linux computers are playing the same video with mplayer (or vlc or whatever).

How to sync the pause/seeking/FFw between them. Like when I press pause on master computer, the other one is also paused on the same frame.

(Expecting both player-specific and universal approaches)

View 6 Replies View Related

Ubuntu Multimedia :: Sound Not In Sync With Video?

Mar 5, 2010

Have used DeVeDe to make DVD suitable for standalone player in lounge the player plays various formats. the problem is as the title suggests A/V not in sync. It was the first time I had ever attempted to create anything like this. Iam sure I set DeVeDe correctly, the file plays properly on the pc though.

View 1 Replies View Related

Ubuntu Multimedia :: Video And Sound Out Of Sync

Jul 13, 2011

In the last week, whenever I play videos, online or offline, the sound and video are out of sync. Usually the sound is a full second behind the videos, but I've noticed it at less.

I just tried watching a video and whenever someone said something, the sound was a full word behind the movement of the mouth.

This never happened until recently. I think there was an update to the sound drivers a couple weeks back, but I'm not too sure.

View 7 Replies View Related

Software :: Setting Up A Church Server - What Software Is Best For Recording The Audio Or Audio-video Files

Jun 12, 2010

Setting up a linux based church server to be placed with a collocation host.

-- Server will be used for:
--- providing .pdf files
--- live streaming of church services (audio for now audio video soon)
--- providing audio files
--- providing audio-video files
--- our internet web site

A. Is there a preferred Linux distribution that will make this easier?

B. What is the best format for audio and video files that will be viewed variously on Linux, Mac, and Microsoft operating systems? Files will need to be played on older versions of operating systems and may need a free or very low cost software to play (e.g. play on Win2k)

C. What software is best for recording the audio or audio-video files? Some additional funding might be justified for this software, particularly if it can also support live streaming.

D. What software is best for live streaming both on the file creation and the listening-viewing sides of the process?

Ideally we would like to have a single software suite to live stream, and make downloadable audio or audio-video files for later download, and not require those listening and viewing to have to install additional software. Keeping file sizes small is also desirable because some of our users will probably only have dial-up internet.

View 3 Replies View Related

Ubuntu Multimedia :: Lost Video Sync Connection At Login (gdm Start)

Jan 23, 2011

I recently purchased a new motherboard and processor to replace an existing system. I transferred the video card. OS remains the same, Ubuntu 10.10 x64. Video worked fine in the first system (eVGA motherboard, Intel E6600 CPU, 4GB RAM), but the old motherboard had a SATA controller issue. New system: Gigabyte GA-890FXA-UD5, AMD Phenom II X4 955 Black Edition Deneb, 8GB RAM

Transferred hardware:
Graphics: eVGA nVidia 8800GT,
Monitor 0: Hanns-G JW199D 1440x900@60Hz
Monitor 1: Gateway FPD1975W 1440x900@60Hz

The Problem:

1. Fresh OS install, everything starts up as expected, login, etc.
2. I use the Additional Drivers link from the menu and select the recommended nVidia driver and enable it.
3. After reboot, the following things happen:
3a. BIOS
3b. Ubuntu startup scripts
3c. Ubuntu logo with spinning dots
3d. Monitor goes black
3e. Monitor notifies it has lost sync

I believe 3d is where I would normally get the login dialog. I can use failsafe mode, but everything I've tried to fix the graphics display hasn't worked. I've even tried to load the latest nVidia driver, nvidia-config, nvidia-settings, etc. There are some options I've tried where the nvidia-x command returns "can't find device". I've tried to modify the xorg.conf file, to no success.

Any ideas what I can do to resolve the error? I'm not that strong on the xorg.conf file, but all I've read is that it's not too necessary anymore. Though, it was modified in my old system to get Twinview working. I've looked through a bunch of log files, but I may not have been looking in the correct log file.

View 3 Replies View Related

Fedora :: 11 Multimedia - Video Players Doesn't Play Video - Show Only Black Window And Play Audio

Aug 23, 2009

To get multimedia working, or explain what I'm doing wrong.

The problem is that none of the video players doesn't play video, they show only black window and play audio.

I have Fedora 11 Leonidas, fully up-to-date.

I have installed rpmfusion and livna repository.

I have installed following packages:

When I try to play video with totem, it doesn't output any error, but just doesn't play video.
with mplayer:

xine and kaffeine just say:

vlc:

I tried several different files, which works perfectly in windows and ubuntu.

I installed windows binary codecs for mplayer to /usr/lib/codec/

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved