More VirtualDub woes for recording Dune.

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

jblondi

Senior member
Apr 27, 2000
538
0
0
My first commment is to the origionator of this thread. I had the same problem with virtual dub not recording audio. I emailed the help for virtual dub and he wrote me back the next day. You need to turn the recording volume for line in on. Im assuming that the tv tuner uses a loop cable and inputs audio with the line in on your sound card. Go into "volume control -> Options -> Properties -> (adjust volume for) Recording -> (select line in). Make sure line in is checked and that you can now see it on recording. This should fix your right up.

My other question is what do you guys do to encode in mp3? I get crashes "couldnt write to wave buffer". I know one of you guys had the same problem. Is there a way around this? How can I compress the audio after? Let me know what you guys think. Thanks for the help.
 

Floyd

Senior member
Nov 17, 1999
674
0
0
A quick update, I managed to capture the first part losslessly with AVI_IO and the HuffYUV codec...0 dropped frames. The final size was 31GB (zapped out commercials during the capture). Final running time of the first part is approx 1:31.xx. I set up the compression overnight and awoke this morning to find the final file size of 510MB (video only), so I upped the bitrate a bit (not literally) and have it encoding again at the moment. Looking good.


> "Floyd, I thought 1 was good when I was giving it to ya. OK, I just rated you 11.....er, um, maybe not....maybe that was a 1 also."

Haha, thanks chief ;)


> &quot;I had the same problem with virtual dub not recording audio. You need to turn the recording volume for line in on. Im assuming that the tv tuner uses a loop cable and inputs audio with the line in on your sound card. Go into &quot;volume control -> Options -> Properties -> (adjust volume for) Recording -> (select line in)&quot; <

Yes, I almost suggested the same thing (actually, I did in the old thred), but it was pretty apparent he had set up a different card successfully. That would be depressing if that's all that was wrong.


> &quot;My other question is what do you guys do to encode in mp3? I get crashes &quot;couldnt write to wave buffer&quot;. I know one of you guys had the same problem. Is there a way around this?&quot; <

First the basics, are you sure you have a valid MP3 codec registered to your system? That is, one with which you can encode as well as decode? The most common is a hacked version of Fraunhoffer under the name Radium.


> &quot;How can I compress the audio after?&quot; <

With VirtualDub it is very easy. I usually capture in 44.1kHz 16-bit PCM, and compress to WMA or MP3. Just go to Audio->Compression menu and pick your codec, then save the AVI. As it is saving, VirtualDub will compress the PCM to whatever format you choose and reinterleave it with the video. Be sure you select Full Processing for the audio, and direct stream copy for the video (assuming it has already been compressed).

Be aware that the compression menus will allow you to pick invalid formats, i.e. you may have decoding permission but no encoding, which would explain the crashes you're experiencing.

Best regards,
Floyd
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
Yes I made sure the Line input was selected for recording. :) And remember that it did work perfectly fine in ATI's own software.

Unfortunately my computer hates me. I did a test capture of a full 1 hour 50 minutes yesterday, and it captured fine (although I lose about 1 frame in a thousand, I don't know why, and yes everything else was shut down). Possibly this is due to IRQ sharing, which I hate but can't avoid because of the damn way that every system is designed these days.

Anyway, I started up the capture on the first airing, but then realized I hadn't checked a setting, so I stopped it and by the time I got back to it I'd already lost several seconds of the opening credits. No big deal I thought, because it was airing again immediately afterward. So I let the VCR record and just left the computer recording off.

11PM rolls around. VCR goes off, it worked fine. Since I had to work the next day, I figured I could set AVI_IO to record for 2 hours and 15 minutes, just to be sure I got it all. I started it a minute or so before the actual movie started again, it seemed to be going okay for about half an hour (though still losing a frame in a thousand, plus it lost a few more when I decided to do something that caused disk usage). So I shut off my monitor and went to bed. A couple of times I got up to check on something (since I usually read for a long time after getting in bed), and it was going fine. But I ended up going to sleep about 20 minutes before it ended recording.

I woke up this morning, turned on the monitor, and got the 'No Input Signal' warning. That's normal when the system sleeps due to no activity (or perhaps dozes is the correct term) and the system is still running, so I move the mouse expecting immediate response as usual. No response. Try again, click the buttons, nothing. Start hitting keys on the keyboard, nothing. Control Alt Delete...hard drives spin up...still no signal...tried C-A-D again, nothing...so I hard power cycled it. Boots up fine, there's the 27 initial files on the capture drive created by AVI_IO, all either 0 bytes or 2KB for the header info. No captured video of any kind. Whatever it got during the recording was completely lost and is probably a lost fragment right now and totally useless.

So, tonight I'll be recording episode 2 while I'm awake, and starting the encoding before going to bed, and tomorrow I will record episode 1 again off of VHS, assuming it's decent quality (haven't watched it yet). If it's crap, I'll wait for SciFi to re-air it next Sunday (I'll probably capture it again then anyway).

So of course my real problem is the lost frames. I don't know what might be causing them. It's not a lot, but it's certainly not 0% loss. I've got a Thunderbird 800 and 640MB of RAM, so I don't think the compression process is being bogged down since it's not all that extreme a compression going to HuffYUV, and I'd hope that the hard drives aren't the problem, given the speed they're able to pass data at (and even if they were a bit too slow, the system should be able to buffer a bit more to avoid losing frames). AVI_IO doesn't seem to have any options for buffer settings, but the IO Buffer item at the bottom during the capture never went above 3 of 50 for so brief a time I could barely see it.
 

Sohcan

Platinum Member
Oct 10, 1999
2,127
0
0
Hehehe...doh. Guess what I just found: Dune Mini-series pre-order. The DVD version is set to follow soon after.

I always tend to loose a few frames as well...but it's about 1 frame a minute, so it's pretty negligible.
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
Yeah but who wants to buy a VHS version?

And it isn't supposed to be released until 1/23/01. Still want a digital and VHS copy now. Then I'll rip the DVD as well. :)
 

ERJ

Senior member
Oct 9, 1999
325
0
0
What, am I the only one that is going to post a clip of my capture? I need some competition here ;)

Actually, I would really like to see how some other peoples captures turn out quality wise. I think mine looks pretty good. Sitting 5-7 feet from my 21 inch monitor it looks as good as tv in my opinion, if not better.

ERJ
 

ERJ

Senior member
Oct 9, 1999
325
0
0
TTT

I normally don't do this but it gets me senior member status ;)

ERJ
 

Floyd

Senior member
Nov 17, 1999
674
0
0
I'll be posting a clip later tonight hopefully...it's gonna take a while on a 56k modem. :(
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
Well, after redoing my RAID array with 64k stripes instead of 32k, I managed to eliminate half the frame loss (1 in 2000 now). However the reformat was not finished until 20 minutes into the fir airing of the second episode, so I was stuck recording it again at the 11PM airing. However after watching half of the second episode, I have lost all interest in actually recording this movie on my computer and will accept just the VHS copies.

Quite frankly, this version is disappointing on many levels, but also is quite good on other levels.

The graphics: Barbarella meets Flash Gordon meets the original Star Trek. I mean, people running in front of an obvious blue screen on an obvious fake set? Not even a blue screen, more like those old movies where they had a picture that rolled behind somebody on a bicycle to make it look like a street scene moving by.

And the acting?! Ugh. Some of it's okay, I'm totally loving Baron Harkonnen, and Paul isn't too bad. But some of the choices for actors were just horrible. Stilgar is supposed to be the strongest of the Fremen, able to take on any other, and only be beaten by Jessica. Instead, he's a balding, paunchy, 45 year old man that I'm just waiting for a belch and a scratch from. And Chani is the most unattractive woman they could have found and still fit the part I think.

And why does everyone have to have a Russian or Hungarian or Turkish accent unless they're Atreides? I can't tell if these are non-American's having to enunciate to be understandable in English, or English-speakers having to enunciate to make a fake accent. It just totally ruins it to have to constantly focus on the stupid accents (along with ignoring the poor sets and graphics).

They could have made so much more out of this. You can't tell me they didn't have a huge budget to make this with. They didn't need to go out to an actual desert to film it, like the original, but they could have gotten at least a LITTLE more realistic.

So, now I can actually work on setting up the hard drives the way I want, as my main boot drive, to get the performance gains, and get my DVD drive set up.
 

Floyd

Senior member
Nov 17, 1999
674
0
0
I've uploaded a ~2min clip of the sand worm scene. The file is spanned to four files of 4MB each (~15MB total)...will need WinRAR to decompress.

Files

It's on freedrive, which means you need to sign in to link up the files to your account...sorry, I would have preferred a direct link but I'm not that familiar with free file hosting (plus it took over an hour and a half for me to upload on the dialup connection). Let me know if there are any problems downloading.

Best regards,
Floyd
 

ERJ

Senior member
Oct 9, 1999
325
0
0
Grabbed your clip. Looks real good. You have a little less distortion around the edges then I do. About the only thing that I didn't like about your encoding is the color. I thought it was a little too dark and a little too red. However, that could be anything from your cable to your capture card and is certainly more an aspect of personnel taste. In any case, good job. So, we have any other people going to throw their hats in the ring?

ERJ
 
Feb 29, 2000
417
0
0
Guys, you are all amazing!

Hats down to all of you, for doing this labor of love!


As for the &quot;rest of us&quot;, lazy bums (or perhaps simply out of luck as far as software and hardware goes...) here's a heads-up to the series on DVD:

Dune on DVD


Mind you, it's still a rumor, but thedigitalbits is usually proven correct!

Cheers!
 

Floyd

Senior member
Nov 17, 1999
674
0
0
<shameless bump>

Ah, kinda hate to see this thread die. Been busting my hump compressing the best rips I know how...to the top one last time for anyone interested.

Best regards,
Floyd