• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:30
CET 10:30
KST 18:30
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
SC2 All-Star Invitational: Jan 17-1815Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises2Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou Starcraft 2 Zerg Coach ComeBackTV's documentary on Byun's Career !
Tourneys
WardiTV Mondays OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ I would like to say something about StarCraft (UMS) SWITCHEROO *New* /Destination Edit/ What monitor do you use for playing Remastered? BW General Discussion
Tourneys
[BSL21] Grand Finals - Sunday 21:00 CET SLON Grand Finals – Season 2 [Megathread] Daily Proleagues [BSL21] LB SemiFinals - Saturday 21:00 CET
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! Stormgate/Frost Giant Megathread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread 12 Days of Starcraft
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 955 users

VirtualDub multi-process script complete...

Blogs > x89
Post a Reply
x89
Profile Blog Joined July 2010
United Kingdom276 Posts
August 19 2010 03:27 GMT
#1
Want to use your 4 core computer effectively?
Here's some code I whipped up

Run vdub and edit the variables to reflect your file locations, but if you have a file full of AVIs that are 4GiB that Fraps outputs this will run 4 instances of conversion at the same time.

Essentially it means you'll transcode in 1/4 of the time, each ~2 minute capture takes me about 440 seconds to transcode to a nice avi, I have some filters to reduce the resolution (need to experiment with more later) but if you have Perl and the modules installed and run this you'll find nothing faster at making great fast threaded transcodes of your Fraps castings.

I warn you, I have a quad core (Phenom II 940BE) and it's killed my computer more than anything I've done before. DO NOT go above the amount of cores your computer has, you'll probably die.

I actually wanted real time transcoding as I made the captures but I can't work the -r and -w options (check if file is read / writable) with Windows, it just seems to fail and opens the file and dies.

Anyway I thought any of you casters / programmers (not progamers, horribly close those two words) might find this script handy.

[image loading]

As you can see, with my settings, each thread will use almost 800MiB of RAM and 100% of one processor. If you're lucky enough to have one of the 6-core procs out there and 6GiB of RAM then you'll get beautiful speeds.

You do have to disable GPU optimizations in vdub unfortunately as your GPU simply can't do it. It would be possible to do one thread with GPU processing, I may do that just for the slight improvement in one thread.

Hope someone else finds a use for this! It does mean 400 seconds for 8 minutes of files, and this is HDD to the same HDD and it's only a Samsung F1, nothing special!

I'll keep working on the real-time transcoding, and I intend to add features to use blip.tv's FTP features to upload on completion as well as joining of the AVI files, that can most likely be done with more tuning though.

I wrote the script as legibly as I possibly could in Perl, it shouldn't be hard to understand. You will need the Paralell::ForkManager module installed.

***
Hallowed are the Ori.
T.O.P. *
Profile Blog Joined January 2009
Hong Kong4685 Posts
August 19 2010 03:44 GMT
#2
Why not just compress with a multi threaded codec like x264vfw?
Oracle comes in, Scvs go down, never a miscommunication.
x89
Profile Blog Joined July 2010
United Kingdom276 Posts
August 19 2010 03:49 GMT
#3
On August 19 2010 12:44 T.O.P. wrote:
Why not just compress with a multi threaded codec like x264vfw?

Initially I wanted real time transcoding, as in capture, as soon as the capture file is done, transcode it. So I just worked on it from there.

No point in changing now I have something that works perfectly and I know inside-out.
Hallowed are the Ori.
Please log in or register to reply.
Live Events Refresh
Next event in 1d 3h
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Sea 2090
actioN 395
Stork 353
ZergMaN 180
Soma 174
PianO 163
Sharp 118
Leta 106
Shuttle 100
Larva 65
[ Show more ]
ToSsGirL 63
Zeus 54
Shine 39
Nal_rA 34
NaDa 28
Sacsri 21
yabsab 16
Dota 2
NeuroSwarm129
febbydoto105
League of Legends
C9.Mang0613
Other Games
Happy584
Fuzer 232
kaitlyn40
Mew2King33
Organizations
Other Games
gamesdonequick933
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Adnapsc2 16
• Light_VIP 10
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• HappyZerGling177
Upcoming Events
OSC
1d 3h
Korean StarCraft League
1d 17h
OSC
2 days
IPSL
2 days
Dewalt vs Bonyth
OSC
2 days
OSC
3 days
uThermal 2v2 Circuit
3 days
Replay Cast
3 days
Patches Events
4 days
Liquipedia Results

Completed

C-Race Season 1
WardiTV 2025
META Madness #9

Ongoing

IPSL Winter 2025-26
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025

Upcoming

Escore Tournament S1: W2
CSL 2025 WINTER (S19)
Escore Tournament S1: W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.