|
|
| BOB |
| Posted: Feb 12 2003, 09:55 PM |
 |
|
Unregistered

|
Hi guys,
Since i'm not the worlds greatest C programmer, i've got a couple of idea's for virtualdub for those of you more inclined... The first I think could probably be implemented the second i'm not so sure on.
First, being able to pause virtualdub whilst its encoding.. say you suddenly need the processor for something cpu intensive (well, in my case it would be pausing encoding whilst i go play a game ). Second, being able to stop encoding and closing virtualdub but being able to actually resume the encoding session where you left it, the only way I personally think something like this could be implemented is using something akin to what some emulators do, save states.. actually saving the state of memory etc about the encoding and so forth.. personally I think its probably impossible to do in a normal application but saying it does no harm. The second one would be most useful if you say suddenly need to reboot the machine or somesuch.
BOB |
 |
| jcsston |
| Posted: Feb 13 2003, 04:08 AM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
For the first idea I change the processing thread to Idle in VirtualDub which lets me do just about anything without any slow down.
-------------------- Use the Matroska file format |
 |
| muf |
| Posted: Feb 13 2003, 11:11 AM |
 |
|
MCF team member
  
Group: Moderators
Posts: 179
Member No.: 46
Joined: 21-July 02

|
The second one is called hibernation. Windows ME and up support it. Control Panel->Power Options->Enable Hibernation support.
--------------------
 |
 |
| phaeron |
| Posted: Feb 14 2003, 03:25 AM |
 |
|

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

|
If you've ever played around with emulators that have plugins, such as ePSXe, you know that in order to have save states work the plugins need to support them, because the emulator itself doesn't know how to save the state of the plugins. Well, Windows codecs don't have such support. |
 |
| BOB |
| Posted: Feb 14 2003, 06:55 PM |
 |
|
Unregistered

|
| QUOTE (muf @ Feb 13 2003, 05:11 AM) | | The second one is called hibernation. Windows ME and up support it. Control Panel->Power Options->Enable Hibernation support. |
I see my point on the second one was missed entirely, its more of a what if situation like.. what if my system suddenly becomes unstable and it requires a reboot but I don't want to waste this encode thats been going for 12 hours or somesuch.
phaeron, yeah.. I was thinking of something along those lines... as it would be a case of the codec being able to continue where it left off or something as when virtualdub is restarted after saving the encoding state when you init the codec it can then continue where it left off, however the codec would need to be programmed to continue from the state it was last in instead of starting from scratch.
jcsston, Yep, I usually use idle too.
BOB |
 |