View Full Version : Sound sync problem in DivX TV capture
pniky
18th January 2005, 13:02
Well... I have a sound desync problem, and tried the extracting and reinserting approach [VirtualDub 1.10.something], but the result was the same. Look what the details are:
Leadtek TvTuner and software: both on previous TV2000XP and actual PVR2000 [mp2 hardware compression], trying to record TV programs with DivX4.12 compression. The PVR-TV application has 3 choices for main stream of video and audio streams:
- video as the main stream [when the audio starts at least half a second late, and the delay increases thru time]
- audio as the main stream [when the audio starts well but it delays as time goes]
- none as the main stream [also audio starts well, delaying with time, but in this case, selecting a position in the "play-gauge" [don't know the right english term - maybe time-selector?!?] it resincronizes at that moment, starting to delay again...
And AS I SAID, extracting and reinserting audio with VirtuaDub does not help. If it does not capture right from the first record, nothing to do...
Capturing with mp2 hardware compression has no such problem. And as it happened with TWO DIFFERENT PIECES OF HARDWARE, I believe I make a configuration error. BUT FIRST TIME I USED THE SOFTWARE IT WORKED WELL. I tried to increase compression and since than - this problem!!! I even formatted my HDD and reinstalled The O.S. and all soft, but it was of no use. And I can't understand where I am making the mistake, as I formatted the HDD and reinstalled Win2K from scratch to get rid of this, but here it is again!!! It must be a setting, but I have not enough grasp on this technology to solve the problem. I only want to record my favourite SciFi series, namely Andromeda, and at such a compression rate to fit 2 episodes on one CD...
PLEASE HELP!
leonid_makarovsky
18th January 2005, 20:20
I don't know whether it's going to help or not. Whenever I use a capture program, I disable the preview on capture so that it doesn't show what's being captured during the capture itself. I once forgot to disable it. My CPU usage increased from 44% to 88% and my audio was out of sync. Again, I don't know whether it is going to help. One other thing is that maybe you screwed up your h/w in either capture card or sound card. Or your hard drive is damaged a bit.
--Leonid
pniky
19th January 2005, 10:32
HardDisk checked, it's all right. Audio is onboard [Gigabyte GA-8IK1100] and works perfect with all other applications.
I am capturing from the TV-Tuner's application, WinFastPVR, so I do not know how to disable preview, and capturing LiveTV broadcast on cableTV, don't know when to stop... Capture card was changed and the symptom remained, so it's CLEAR a setting issue. I have 3.2G Prescott, so processing power is out of the question. I have set up audio capture to 22kHz, mono, to be not very hard to deal with and not to big in the AVI. The stranmge thing is ONCE UPON A TIME IT WORKED!!! :angry: :confused: :mad:
leonid_makarovsky
19th January 2005, 22:34
Try to capture with a different app.
--Leonid
pniky
19th January 2005, 22:39
I read about capturing with VirtuaDub, but:
1] I have WDM and not VfW;
2] How could I select tv stations with VirtuaDub?!?
leonid_makarovsky
19th January 2005, 23:02
Try VirtualVCR.
--Leonid
jggimi
19th January 2005, 23:18
Or the newest release of Vdub, which supports WDM drivers.
hartford
20th January 2005, 02:09
Originally posted by pniky
...it resincronizes at that moment, starting to delay again...
What are you using to do the playback? VirtualDub will de-sync, MediaPlayer Classic should playback ok.
pniky
20th January 2005, 09:01
I have a Win2K server and I use it's original media player, with only DivX3, DivX4.12, DivX5, Xvid, and DirectVobSub [for subtitles in Romanian ...:)... ]
I prefer to encode with DivX4.12, as in his one-pass recording it gives a pleasant image, without the "squares" generated by all the other encoders before mentioned in the zones with low details [aka sky, water, and so on...]
But I might have found a solution... Yesterday I changed the capture audio settings from MP3 to PCM and after all the capture was donne resulted a 460MB file [40 min. Andromeda episode]. I than passed it thru VirtuaDub, with video direct stream copy and with audio recompressed at MP3 and it gave me the desired 336MB file with audio in sync. What I don't get is why it does not work on live capture?!? :angry: I would have liked to get the desired file DIRRECTLY FROM CAPTURE. Why do we have so powerful processors [3.2 Prescott] if we have to do a lot of tweaking to obtain what we want?!?
Boulder
20th January 2005, 22:44
Why do you capture in DivX? You would get *much* better quality if you used MJPEG or HuffYUV and then encoded to DivX/XviD (recommended over DivX ;) ) afterwards. I'm quite sure there would be no sync issues either, provided that you capture the audio in PCM like you did the last time.
pniky
21st January 2005, 00:00
First thing, I want to capture it ready to be written on CD, not to lose time with reprocessing.
Second, when I tried the hardware capture of my Leadtek PVR2000, it gave me a DVD-size MPEG, perfectly playable, but which VirtuaDub can't open, with the message "Can't find frames to process" or something...
But here are the video compression options VirtuaDub presents to me. I do not see MJPEG, nor HUFYUV...
jggimi
21st January 2005, 00:15
pniky:
Both HuffYUV and MJPEG are available from links in Chapter 1 of our Capture Guide (http://www.doom9.org/capture/start.html), which you seem to have missed.
As for encoding while capturing (DivX, MP3, etc), take a look at the Capture FAQ (http://forum.doom9.org/showthread.php?s=&threadid=32575), Questions 13-18.
pniky
21st January 2005, 00:31
I reiterate [you answered while I was adding this to my message...]: when I tried the hardware capture of my Leadtek PVR2000, it gave me a DVD-size MPEG, perfectly playable, but which VirtuaDub can't open, with the message "Can't find frames to process" or something... AND IT'S MPEG2 HW COMPRESSION! So I draw the conclusion that VirtuaDub Can't handle conversions from Mpeg2 to Mpeg4 due to a strange reason of "framing"...:confused:
jggimi
21st January 2005, 01:21
VirtualDub does not support MPEG-2 input, pniky, just MPEG-1. For MPEG-2, you'd need VdubMod.
pniky
21st January 2005, 10:14
Well, I have a "The Magnificent7" recorded with software M$ MPEG-2 encoder [came with Leadtek's WinFastPWR TV-FM receiver...]. This one can be opened in VirtuaDub and even processed in 1 pass, but when I tried Xvid 2-pass it gave me an error. I REALLY DO NOT UNDERSTAND ANYTHING ANYMORE.
I am a simple user, searching for a simple solution to record some programs when I am not at home to see them when I come back, at low space and acceptable quality, and another solution to record for keeping what I like at good quality but with not too much fuss... I do not want to take a one-month course in video-processing to be able to do that... :( :( :( :( :( :( :(
Boulder
21st January 2005, 10:19
Capture in HuffYUV and read the capture guide. Processing the captures is very easy once you've done it a couple of times and the quality you get with some light Avisynth processing is definitely worth it.
If you capture in MPEG-2, you should use the DGIndex-Avisynth combo people use for encoding DVDs to various formats.
pniky
21st January 2005, 12:55
So this is it! :cry: I have to take that course [aka capture guide]... People, would you like to take a course in "Fundamentals of Economics" just to fill your "Income Statement"? :cry:
I was hoping to find someone using Leadtek here to tell me "I am using this and that settings" which could be a starting point for me, and with some tuning I could get something suitable to my needs. But it sounds like those precious people in Linux world from which I often got "go read the f*ckin' man-page!"
BTW: Why don't you have that :cry: emoticon? Is it somehow because all people writing here would overuse it and accesses to it would break the web server?!? :devil:
Boulder
21st January 2005, 13:41
If that's your attitude, don't expect people to help you much. The capture guide is very straight-forward, and you don't even have to read and know it thoroughly.
If you just want to capture, watch and then delete, you can capture in MPEG-2 and try watching it with VLC Media player.
pniky
21st January 2005, 13:54
Sorry if it bothered you, but that guide with all its microseconds and points seems very complicated to me - like for a professional in videoprocessing.
You start sounding like my math teacher in college: he used to do half demonstration to a theorem and used to say "the rest is trivial". Maybe for him! He couldn't perceive the level of understanding of his students and - of cause - he was bored of saying the same thing each year. And if someone dared to protest, his usual answer was "Why don't you go to raise sheeps?"
Well... sorry again. I will try to read what all of you are puting me to!
Boulder
21st January 2005, 14:06
Well, if you've been in college you should already know that you can always read selectively;)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.