• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:31
CET 16:31
KST 00:31
  • 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
ComeBackTV's documentary on Byun's Career !1Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win1Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship StarCraft2.fi 15th Anniversary Cup RSL Offline Finals Info - Dec 13 and 14! Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months [BSL21] RO8 Bracket & Prediction Contest BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals [BSL21] RO8 - Day 1 - Saturday 21:00 CET
Strategy
Current Meta Simple Questions, Simple Answers Game Theory for Starcraft Fighting Spirit mining rates
Other Games
General Games
PC Games Sales Thread Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV ZeroSpace Megathread
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
ゼントレーダーについて
Tech Support
Employee Retention in Behavioral Health: Building Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2025 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
WardiTV 2025
12:00
Playoffs
Scarlett vs ReynorLIVE!
TBD vs Clem
uThermal vs Shameless
WardiTV1383
ComeBackTV 612
TaKeTV 331
IndyStarCraft 214
Rex137
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko450
IndyStarCraft 214
Rex 137
ProTech115
trigger 14
DivinesiaTV 10
StarCraft: Brood War
Rain 2823
Jaedong 1955
Bisu 1880
Larva 829
GuemChi 773
Soma 739
Light 431
actioN 351
Stork 338
Mini 301
[ Show more ]
EffOrt 296
Snow 281
BeSt 278
hero 209
firebathero 172
Zeus 118
Hyun 67
Sea.KH 50
Killer 45
LaStScan 43
JYJ 40
Mind 39
sorry 37
yabsab 31
Shine 29
Aegong 23
sas.Sziky 20
Terrorterran 17
Oya187 16
Mong 12
NaDa 5
Dota 2
Gorgc5928
qojqva3121
syndereN371
BananaSlamJamma297
420jenkins282
XcaliburYe136
Dendi10
Counter-Strike
byalli383
markeloff109
Other Games
B2W.Neo2080
FrodaN924
hiko626
Hui .334
Fuzer 291
DeMusliM218
RotterdaM142
ArmadaUGS104
QueenE70
Trikslyr37
Organizations
StarCraft: Brood War
lovetv 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 21
• blackmanpl 18
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV715
• Noizen74
League of Legends
• Jankos3038
• TFBlade1384
Upcoming Events
PiGosaur Cup
9h 29m
WardiTV 2025
20h 29m
MaNa vs Gerald
TBD vs MaxPax
ByuN vs TBD
TBD vs ShoWTimE
OSC
23h 29m
YoungYakov vs Mixu
ForJumy vs TBD
Percival vs TBD
Shameless vs TBD
The PondCast
1d 18h
WardiTV 2025
1d 21h
Cure vs Creator
TBD vs Solar
WardiTV 2025
2 days
OSC
2 days
CranKy Ducklings
3 days
SC Evo League
3 days
Ladder Legends
4 days
[ Show More ]
BSL 21
4 days
Sparkling Tuna Cup
4 days
Ladder Legends
5 days
BSL 21
5 days
Replay Cast
5 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
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
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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 © 2025 TLnet. All Rights Reserved.