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.
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?
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.
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.
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.
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.
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?
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
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.
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?
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.
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.
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.
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.
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.
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.
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
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.
I've got Ubuntu One syncing a single 25MB folder on 4 computers. On one of these computers, the ubuntuone-syncdaemon process constantly pegs the CPU, using from 50-80% long after any sync-able files have been modified and successfully synced. The process is only using 8.9MB of RAM.
Specs: Ubuntu 10.04 (lucid) Kernel 2.6.32-24-generic 1000.8 MB RAM Pentium 4 2.53GHz Free disk space: 280.9 GB System monitor shows 56.8% total RAM usage, 15.4% swap file usage.
I use jpilot on opensuse 11.3 64bit to sync pim data with my Palm Treo 680 via bluetooth. This worked fine until today. Now I get the following error message when I try to sync: Syncing on device bt: Press the HotSync button now dlp_ReadSysInfo error Exiting with status YNC_ERROR_PI_CONNECT Finished.
The last successfull sync was on the 20th October and today is the 24th October. I did not change any settings in jpilot or on my palm device. So I guess there must have been an update of opensuse which causes this error. But I do not now how to look up the updates during this period or how to undo them. Was there an update between the 20th and the 24th Oktober, which might affect either jpilot or bluetooth functionality?
I've discovered Firefox Sync a while ago, and it's absolutely awesome. Now of course I'd like most of my software to work this way! So is there a way to get the same behavior with Thunderbird?
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)?
It seems that selinux has stop weav to sync the bookmarks.I followed the fix code as SELinux suggested,but it can't work.Does anyone know how to solve it?
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.
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.
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.