|
|
| fccHandler |
| Posted: Nov 21 2002, 07:07 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Amigos,
I posted my very first question to these forums a long time ago. Since then I've been a frequent visitor (and ultimately became a moderator) but I never received a satisfying answer to my first post. So here it is again (requires Avisynth):
1) Create the simplest script possible: AVISource("CAPTURE.AVI") 2) Save it as CAPTURE.avs 3) Open CAPTURE.avs in VirtualDub 4) Choose "Save WAV" to rip the audio
From my experience, this is like 10 times faster than opening the original AVI with VirtualDub and choosing "Save WAV." Anyone else seen this? Anyone know why?
(Maybe no one knows, and it's an eternal mystery...)
-------------------- May the FOURCC be with you... |
 |
| phaeron |
| Posted: Nov 21 2002, 08:44 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
VirtualDub attempts heavier buffering than Avisynth -- or, rather, AVIFile -- for AVI files. This is very effective for high-bandwidth files, but for finely interleaved files, it can result in excessive disk I/O. The problem is particularly bad if the audio interleaving is too far off, causing cache misses in the read routine. There is a checkbox on the extended options dialog for AVI, "disable streaming I/O," that disables the readahead cache and may improve throughput. |
 |
| fccHandler |
| Posted: Nov 21 2002, 06:06 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Thanks, I'll try that!
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Nov 21 2002, 07:01 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Thanks so much, phaeron; it worked just like you said. Neat trick! I'm still amazed by how huge the difference is. The quick test I just did was to rip all of the PCM audio from an approx. 1G capture file:
with streaming: 1 minute, 30 secs without streaming: 12 secs
I'm so much happier now!
-------------------- May the FOURCC be with you... |
 |