Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Automatic Preload In Ram
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
sebastian___
Posted: Jan 23 2012, 01:37 PM


Newbie


Group: Members
Posts: 2
Member No.: 34100
Joined: 23-January 12



This should be a very nice feature. VirtualDub should cache the played video in RAM, so the next play should be smooth. Or even better - automatic preload. Of course optional in preference.
Also perhaps in preference a way to select how much RAM VirtualDub can use for caching.

These are the reasons a feature like this would be useful now :
- ram is cheaper and cheaper
- many people using VirtualDub tend to be graphic artists with tons of ram
- high definition and very high definition (4k) footage is starting to be widespread and it's impossible to play this in real-time from HDD

I and many render artists are working with very short rendered image sequences, but with high resolution. We can open and work with these in VirtualDub, but playback is far from real-time.
 
     Top
dloneranger
Posted: Jan 23 2012, 05:16 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



You haven't thought this through all the way unfortunately

1St, the files themselves are cached by the os itself after they've been read, as long as there's enough ram
2Nd if you want the uncompressed output cached, then you've never saved an uncompressed video, they are HUGE and you don't have enough ram to cache them

eg
take a 1920Hd frame size, at 25fps
One frame will take 1920*1080*3 bytes = 6220800 bytes or 0.6Mb
So, one second will be 6220800*25 = 155520000 bytes or just over 148Mb
A minute will be 8.6Gb
An hour would be 152Gb
Just for completeness one hour of 4k video at 25fps needs 3205Gb of ram

Soooooo........ you see the problem, you may think you have a lot of ram, but I don't think you have THAT much ram

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
sebastian___
Posted: Jan 23 2012, 05:40 PM


Newbie


Group: Members
Posts: 2
Member No.: 34100
Joined: 23-January 12



Well, there are already applications and players like this. They are designed especially for this : real-time playback from RAM of uncompressed or high-def footage that wouldn't play in real-time otherwise.

For example RAM-player it's an app included in 3ds max. You can only start the player from the 3ds max interface. But it's no so efficient to use a RAM player after 3ds max already used half or a quarter of you ram . You can not use it independently. And there are others .

For example Asynthetic Pdplayer has similar features to VirtualDub. It has a free trial version, and it's useful even on a 32 bit system. After preload in RAM, the playback is very smooth, you can freely and very fast drag the play-head forward and backward, and while it has several features not found in Vdub, Vdub also has features you are not gonna find in Pdplayer.

user posted image
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since Jan 23 2012, 01:37 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum