plucky
23rd January 2004, 05:24
This is a 2 part question, the 2nd of which can be ignored if you don't have any idea (I just posted the bottom part in the DivX newbie forum, copy-pasted here since it's a related question, and I don't have time to retype right now, you'll see after how much I type for the first part ;) ).
Executive summary: What would help cap better/faster/harder/stronger?
About 2 weeks ago I purchased a ShuttleXPC to use as a media PC in the living room. Put the sucker together with the hardware I could get my hands on, set it up and off she went. Woot.
Before going on, here's the specs (like below, but with more info).
ShuttleXPC SK41G - Integrated Avance AC'97 Audio & NIC
1GHz Athlon CPU
512MB Corsair PC-2700 RAM
System Drive: Maxtor 8GB junk (single drive, Primary)
Capture Drive: 40GB Seagate 7200 RPM IDE (Master, Secondary)
DVD-ROM: Old Creative 5x (Slave, Secondary)
Video: ATI AIW Rage 128 PRO 32MB PCI
OS: WinXP (and no, I'm not installing Linux on this ;) )
I've tried capping both with VirtualDUB and ATIs MediaCenter (v7.1, because thats what they say you can use with the old Rage 128 Pro), with about the same results (actually, the ATI looks nicer as I haven't tried any filters in VirtualDUB to take care of the yucky interlacing problem). I'll give a run down of how I'm capping, the results, and then ask "what might help"? And yes, I've read most every guide out there, but it always seems the questions I have don't pop up, I'm glad to have gotten as far as I have through hours and hours of trial and error!
Dropped frames SEEM to be a big problem (see the 2nd part of the post for why I think they are). The only way I have been able to capture with NO dropped frames is to capture at 640x480, MPEG1 or MPEG2, I-Frames only. This gets nice big files, and they look OK. Not amazing, but they're not bad. After getting that far, I have tried many other settings, and the best picture I've been able to capture has come from 640x480, MPEG1, 1 P-Frame in Group (I also tried 2 P-Frames, 2P 1B, etc etc). This resulted in around 18% lost frames, but a slightly better looking capture (I even ran a whole batch of different tests buy my girlfriend to see which ones looked best).
I tried capping as per the Doom9 guide using VDub and Huffyuv compression, but had horrendous results (unless I turned the settings down, which worked better, but still nowhere near as nice as the Multimedia Center).
So, the big questions I have at this time are as follows:
1) If you care to read the BOTTOM section, how much do the dropped frames really effect the re-encoding of the files?
2) What would help MOST to capture at a better quality? I'm guessing it is NOT CPU (1GHz is plenty for how little it is really taking care of), RAM (it's barely touched) or Disk (which is the reason I installed the 2nd HDD, just to eliminate the "capping to the primary drive" problem), though each of these might have a LITTLE effect. I'm guessing it is not the sound-card, as there are 0 dropped frames when I'm capping "I-Frames only" (though this is just a guess), and the audio ALWAYS captures fine. How much does the video card effect this particular situation? It IS only a PCI card, so that leaves a bit of room, but i have no idea if it is actually a bottleneck at all, as I have NO expertise at video-capture cards. Would AGP in itself be helpful (i.e. AGP version of same exact card, 32MB ATI AIW Rage 128 Pro)? Would it take a huge upgrade there to make a difference (not noticable until you get a AIW 9800?) Or does the card make no difference at all in this instance and I'm just looking in all the wrong places?
So, I hope I've provided enough information to be helpful in anyone knowledgeble being helpful to me :) I've read most guides I could find, but most don't touch upon some of my issues, and I've tried to eliminate as many others as I could along the way. And because of the 5 day wait to post to the forum after registering, I've had those extra days to add more puzzles to my pile (darn 5 day wait, I usually read everything I can and register as a last resort :) ).
--------------------------------------------------------------------
Part 2 (the repost from DivX Forum, figured I'd include it here just for completeness)
Executive summary: Multipass encode ends up with video running at nearly 2x the correct speed.
I am just starting to cap and encode (as I just got a new ShuttleXPC and hooked it up to the TV/Cable/VCR/etc). My first real project is tranfering some old VHS tapes of some shows that were canceled and not available anywhere else (so sad), and then encoding them with DivX.
Before going on, quick PC Specs:
1GHz Athlon
512MB RAM
Capping to 2nd channel IDE 7200RPM 40GB HDD
Using a 32MB ATI AIW PRO 128 PCI
The best resuts I have had with the CAPPING are MPEG1 @ 640x480, 1 P frame per set. This results in a large percentage of dropped frames (~20%), but the resulting video looks fine. (as a note, the only way I can cap with NO lost frames is capping with I Frames only, but it's 0 frames lost looks worse then the 20% loss with P frames, but this is one of the questions I'm going to Doom9 with ;) ). Audio is grabbed at 22KHz, 16-bit stereo.
For a 3 hour tape I ended up with an 8GB file. Next step, chop it up and encode with DivX.
Try 1) VirtualDUB - had horrible trouble with audio/video sync (not that gradual loss, just plain horrid). Found the "change frame rate so video and audio times match", much better, but still some problems, likely because the 20% frame drops aren't perfectly proportional or something beyond me :)
Try 2) TMPGEnc - Worked great! The only problem was that in some spots the picture quality was kinda stinky. Since this was a 1 Pass encode, I decided to try a Multipass encode (after doing some RTFM that is).
Try 3) TMPGEnc with Multipass - After the 3rd pass I checked the video, and the video speed was around 2x the rate it should be! No gradual audio sync loss here, a HUGE problem, but that's not the audios fault it would seem, as it played along at normal speed, it was the video that was running at 2x the rate it should.
So the question at hand is: What am I messing up that is causing the video to crank along so quickly after a Multipass encode that is not happening in a 1-Pass encode (using default settings) It is possible I may have made some setting changes when doing the Multipass, but it would take another day of encoding (unless I chopped the file nice and tiny for MORE trial and error than I've already done the past week) to be sure I didn't.
-----------------------------------------------------------------
Thanks for any help!
Eagerly awaiting help (while encoding more in the background for more compression tests, poor PC!)
plucky
Executive summary: What would help cap better/faster/harder/stronger?
About 2 weeks ago I purchased a ShuttleXPC to use as a media PC in the living room. Put the sucker together with the hardware I could get my hands on, set it up and off she went. Woot.
Before going on, here's the specs (like below, but with more info).
ShuttleXPC SK41G - Integrated Avance AC'97 Audio & NIC
1GHz Athlon CPU
512MB Corsair PC-2700 RAM
System Drive: Maxtor 8GB junk (single drive, Primary)
Capture Drive: 40GB Seagate 7200 RPM IDE (Master, Secondary)
DVD-ROM: Old Creative 5x (Slave, Secondary)
Video: ATI AIW Rage 128 PRO 32MB PCI
OS: WinXP (and no, I'm not installing Linux on this ;) )
I've tried capping both with VirtualDUB and ATIs MediaCenter (v7.1, because thats what they say you can use with the old Rage 128 Pro), with about the same results (actually, the ATI looks nicer as I haven't tried any filters in VirtualDUB to take care of the yucky interlacing problem). I'll give a run down of how I'm capping, the results, and then ask "what might help"? And yes, I've read most every guide out there, but it always seems the questions I have don't pop up, I'm glad to have gotten as far as I have through hours and hours of trial and error!
Dropped frames SEEM to be a big problem (see the 2nd part of the post for why I think they are). The only way I have been able to capture with NO dropped frames is to capture at 640x480, MPEG1 or MPEG2, I-Frames only. This gets nice big files, and they look OK. Not amazing, but they're not bad. After getting that far, I have tried many other settings, and the best picture I've been able to capture has come from 640x480, MPEG1, 1 P-Frame in Group (I also tried 2 P-Frames, 2P 1B, etc etc). This resulted in around 18% lost frames, but a slightly better looking capture (I even ran a whole batch of different tests buy my girlfriend to see which ones looked best).
I tried capping as per the Doom9 guide using VDub and Huffyuv compression, but had horrendous results (unless I turned the settings down, which worked better, but still nowhere near as nice as the Multimedia Center).
So, the big questions I have at this time are as follows:
1) If you care to read the BOTTOM section, how much do the dropped frames really effect the re-encoding of the files?
2) What would help MOST to capture at a better quality? I'm guessing it is NOT CPU (1GHz is plenty for how little it is really taking care of), RAM (it's barely touched) or Disk (which is the reason I installed the 2nd HDD, just to eliminate the "capping to the primary drive" problem), though each of these might have a LITTLE effect. I'm guessing it is not the sound-card, as there are 0 dropped frames when I'm capping "I-Frames only" (though this is just a guess), and the audio ALWAYS captures fine. How much does the video card effect this particular situation? It IS only a PCI card, so that leaves a bit of room, but i have no idea if it is actually a bottleneck at all, as I have NO expertise at video-capture cards. Would AGP in itself be helpful (i.e. AGP version of same exact card, 32MB ATI AIW Rage 128 Pro)? Would it take a huge upgrade there to make a difference (not noticable until you get a AIW 9800?) Or does the card make no difference at all in this instance and I'm just looking in all the wrong places?
So, I hope I've provided enough information to be helpful in anyone knowledgeble being helpful to me :) I've read most guides I could find, but most don't touch upon some of my issues, and I've tried to eliminate as many others as I could along the way. And because of the 5 day wait to post to the forum after registering, I've had those extra days to add more puzzles to my pile (darn 5 day wait, I usually read everything I can and register as a last resort :) ).
--------------------------------------------------------------------
Part 2 (the repost from DivX Forum, figured I'd include it here just for completeness)
Executive summary: Multipass encode ends up with video running at nearly 2x the correct speed.
I am just starting to cap and encode (as I just got a new ShuttleXPC and hooked it up to the TV/Cable/VCR/etc). My first real project is tranfering some old VHS tapes of some shows that were canceled and not available anywhere else (so sad), and then encoding them with DivX.
Before going on, quick PC Specs:
1GHz Athlon
512MB RAM
Capping to 2nd channel IDE 7200RPM 40GB HDD
Using a 32MB ATI AIW PRO 128 PCI
The best resuts I have had with the CAPPING are MPEG1 @ 640x480, 1 P frame per set. This results in a large percentage of dropped frames (~20%), but the resulting video looks fine. (as a note, the only way I can cap with NO lost frames is capping with I Frames only, but it's 0 frames lost looks worse then the 20% loss with P frames, but this is one of the questions I'm going to Doom9 with ;) ). Audio is grabbed at 22KHz, 16-bit stereo.
For a 3 hour tape I ended up with an 8GB file. Next step, chop it up and encode with DivX.
Try 1) VirtualDUB - had horrible trouble with audio/video sync (not that gradual loss, just plain horrid). Found the "change frame rate so video and audio times match", much better, but still some problems, likely because the 20% frame drops aren't perfectly proportional or something beyond me :)
Try 2) TMPGEnc - Worked great! The only problem was that in some spots the picture quality was kinda stinky. Since this was a 1 Pass encode, I decided to try a Multipass encode (after doing some RTFM that is).
Try 3) TMPGEnc with Multipass - After the 3rd pass I checked the video, and the video speed was around 2x the rate it should be! No gradual audio sync loss here, a HUGE problem, but that's not the audios fault it would seem, as it played along at normal speed, it was the video that was running at 2x the rate it should.
So the question at hand is: What am I messing up that is causing the video to crank along so quickly after a Multipass encode that is not happening in a 1-Pass encode (using default settings) It is possible I may have made some setting changes when doing the Multipass, but it would take another day of encoding (unless I chopped the file nice and tiny for MORE trial and error than I've already done the past week) to be sure I didn't.
-----------------------------------------------------------------
Thanks for any help!
Eagerly awaiting help (while encoding more in the background for more compression tests, poor PC!)
plucky