View Full Version : Help! AVS coming out w/o AUDIO!
nordloewe
30th April 2002, 10:59
OS: Win2K; hardware: ATI AiW 128 Pro.
the MPEG-1 file captured through the card'd TV is perfectly playable (both audio and video) via WMP 6.4. however when i make my AVS, only the video stream plays.... no audio at all. the script i'm using is quite simple (appears below). should i add anything else to it?
DirectShowSource("D:\Movies\VOBs\Simpsons.mpg")
the funny thing is that, i have to keep the TV on, otherwise neither streams from the AVS would play and i would get the following msg:
DirectShowSource: the filter graph manager won't talk to me
(D:\Movies\VOBs\framerver.avs, line 1)
any hints? i also wanna cut off the 3 commercial breaks from the MPEG before doing the final encoding on RealProducer 9.
Krajensky
30th April 2002, 17:01
It's best to capture from the AIW using an AVI format - MJPEG will probably give you comparable quality to mpeg-1 at low bitrates...
To recover your current file, you can use another program to read the mpeg-1. Open it in Virtualdub, and (if you insist on using Avisynth) start the Virtualdub Frameserver and save a Signpost. Then load the signpost in Avisynth.
I have an AIW too, and I have progressed away from mpeg-1, through mjpeg, and I now use HuffYuv with AVI_IO to capture...the VFW-WDM wrapper is quite versatile and will let you make larger capture files.
Krajensky
nordloewe
30th April 2002, 20:05
<<<< It's best to capture from the AIW using an AVI format - MJPEG will probably give you comparable quality to mpeg-1 at low bitrates... >>>>
i tried all formats when i bought the card and MPEG-1 was the one which gave me better results. the AVI captures had a synch problem. :( -- besides thair huge size. which settings do you use?
basically i use my card to capture cartoons (Simpsons and Futurama). and i need to find a way to get rid of the commercials. the technique "MPEG-1 + VDub + RealProducer 8" has given me great results! however, i wanna give RV9 a try and unfortunately the new encoder can't read VDubs' signpost. so what i'm doing is trying to find workarounds to get me rid of the commercials.
<<<< To recover your current file, you can use another program to read the mpeg-1. Open it in Virtualdub, and (if you insist on using Avisynth) start the Virtualdub Frameserver and save a Signpost. Then load the signpost in Avisynth. >>>>
it doesn't work cause Avisynth can only open files supported by WMP and my WMP doesn't read VDub's signpost.
<<<< I now use HuffYuv with AVI_IO to capture...the VFW-WDM wrapper is quite versatile and will let you make larger capture files. >>>>
can you please describe your process? right now i have only 8Mb free in my HD but i'll burn some stuff and get 1-2Mb more. is it enough for a 32min capture?
hakko504
1st May 2002, 10:43
Originally posted by nordloewe
DirectShowSource("D:\Movies\VOBs\Simpsons.mpg")
This is your problem: AVISynth can only use WAV audio. Your Mpeg file has mpeg audio, thus it can't be read from AVISynth. Open the MPEG in VDub and extract the audio with the Save Wav command. You will get a file that is called .wav but contains mpeg audio. Use Besweet or WinAmp to convert it to real .wav. Then you should be able to use the following script:video=DirectShowSource("D:\Movies\Vobs\Simpsons.mpg")
audio=WavSource("D:\Movies\Vobs\Simpson.wav")
clip=AudioDub(video,audio)
return clip.trim(start_frame,commercial_start_frame)+clip.trim(commercial_end_frame,end_frame)
Krajensky
1st May 2002, 16:38
Hakko is partially right...you can extract the audio from within Virtualdub and load that. But you don't need to do any conversion, Virtualdub will do the necessary decompression itself.
Avisynth _can_ read VD's signpost files, just use AviSource("x.vdr") or whatever it's named.
I use AVI_IO to capture (but I found on Win2K that Virtualdub works just as well). Get Showshifter from www.showshifter.com to install the MJPEG codec, then set it to quality 18 or 19. This will result in (depending on your reception) about 4-5GB per hour. Avi_io can segment the files at 2gb or 4gb boundaries so they're easier to manage.
I personally record to HuffyYuv, but it results in between 20GB and 35GB per hour, depending on how complicated the source was (static will drive up the filesize). You can then load this straight into Avisynth and add whatever filters you feel are necessary for the source.
You can get the wrapper from this page: http://faq.arstechnica.com/subcat.php?i=95 (the third link, WDM -> VFW driver), and the AVI_IO trial version from http://www.nct.ch/multimedia/avi_io/
Once you get them installed, the TV Tuner is under Video->Source->Tuner. It can set timers but they all have to be on the same channel...and I would personally make sure that numbering captures is on (it has a tendency to overwrite and double-capture when set using the timer)
Krajensky
nordloewe
2nd May 2002, 06:52
thanx, guys! i'm currently testing your solutions. from what i see so far, my problems are solved! frameserving is cool!!! :cool:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.