Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
17th January 2017, 23:14 | #161 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
In actual fact I was wrong in what I said in PM to Shekh.
This script exhibits different behaviour in all three, VD 1.10.4, VDMod 1.5.10.3, and VirtualDubFilterMod. Code:
Colorbars.Killaudio.ShowFrameNumber GSCript(""" Function paws() { x=0 for(n=1,1000000) { # EDIT: Changed 0 to 1 in Blue x=x+1 } return x } """) SSS=""" Return Last.Subtitle(string(Paws()+current_frame)) """ Return Last.ScriptClip(SSS) VD standard does not update either frame contents nor frame number/time on timeline. VDMod, updates frame contents but not timeline frame number/time. VDFM, updates timeline frame numbers/time, but not contents. I'm happiest with current VDMod behaviour, seeing frame contents change but would like both contents and timeline numbers to update. EDIT: Modify 1000000 to bigger number if fast machine. EDIT: In all 3 VD apps, updates properly when cursor key finally released.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 18th January 2017 at 05:24. |
18th January 2017, 08:52 | #162 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
A beginner in Windows GUI programming would possibly suggest to insert Application->ProcessMessages()/DoEvents() randomly in keyboard event handlers until it works...
But times of "cooperative multitasking" (where threads deliberately idle for others) are probably over. |
19th January 2017, 10:22 | #163 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
(EDIT: that was on a UniProcessor system, never tried on MultiProcessor sys)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 19th January 2017 at 10:52. |
|
19th January 2017, 11:24 | #164 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Windows will still use time slices to schedule several tasks per core. And tight loops will probably still hog at least one core to a point where the task scheduler itself hardly gets a slice, despite several priority classes. But hogging a multi-core system to death should be quite improbable now, as long as you don't fill it with real-time class threads.
I would not be surprised about CPU features supporting task scheduling and thread switching in OS kernels, which are now superior to those in times of CPUs with only (80)x86 numbers as name; I just couldn't point at them, not knowing specific names. Cooperative multitasking may not be "necessary to survive" anymore; but I guess it can still support fluid interaction. |
19th January 2017, 11:31 | #165 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I just tried to knock up a VB exe with forever loop, and tried on Multi-Processor system Duel core, 50% CPU hogged on one processor, no seize up problems encountered.
Tried on single physical core P4 with hyper-threading, 50% CPU on one logical core, no seize up. Tried on P4 with single physical CPU and no hyper-threading, 100% CPU used and again no seizure experienced. Both P4's used were even over VNC (no monitors nor keyboards attached), and no problems experienced. Bit of a surprise that we had no problems at all, guess I was totally wrong (all 3 systems XP, so W7+ probably also ok). EDIT: Just did a reboot, and got alert saying that could not shut down Project1.exe, so I force closed it. I had forgotten to kill the VB exe after using VNC on P4's (had let it continue whilst using VNC). it was no problem at all to the point that I forgot that it was running.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 19th January 2017 at 11:59. |
19th January 2017, 11:40 | #166 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
As suspected: user ring (3) processes may not anymore be able to suppress kernel ring (0) processes; task switching will have a superior priority. Somehow. Someone may know its name. But we should stop detrailing this forum thread...
|
19th January 2017, 11:43 | #167 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
But we still have plenty of ways to knock the system. Simple example: x64 process can infinitely allocate memory. Try it. Try to kill it.
__________________
VirtualDub2 |
4th February 2017, 19:06 | #169 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
Uploaded new version (15)
Single-stepping refresh is also fixed, and some other suggestions. About experimental stuff: it has more trouble than I expected, so leaving in quite unfinished state now. It is possible to save Utvideo\MagicYUV\FFV1 and the like to mkv, mov. It is possible to use AAC encoder and save to ffmpeg formats (avi too). Will accept any type of samples. Using legacy acm codecs with ffmpeg formats is not possible at all (likely will never be). Using x264 encoder when writing to ffmpeg formats is something I hope to sort later.
__________________
VirtualDub2 |
5th February 2017, 10:07 | #170 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,969
|
shekh
Thank you very much for the opportunity to be saved in MKV, MP4 and MOV.
__________________
MPC-BE 1.7.0 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
5th February 2017, 13:58 | #171 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Great stuff, cheers Shekh
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
5th February 2017, 18:41 | #173 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
I don't like that they are mixed in the same directory. Please keep them at least in separate subdirectories; people can umpack as they like, but sorting them out is annoying.
Anyway, thanks for another update. But somehow I do not yet understand how to export a video with x264, if not via "external encoder". The description sounds as if there is some internal support. But I missed it so far. |
5th February 2017, 18:58 | #174 | Link | ||
Registered User
Join Date: Mar 2015
Posts: 775
|
Quote:
Maybe shared jobs/autosave can make some trouble, is it the case? Quote:
I deliberately put internal encoders at top to make them easier to find..
__________________
VirtualDub2 |
||
5th February 2017, 19:09 | #175 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
How the name "Veedub64.exe" was invented?
For me it seems ridiculous, why not VirtualDub64.exe?
__________________
VirtualDub2 |
8th February 2017, 04:32 | #177 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,969
|
This is your fork. You can change the name to more clear.
__________________
MPC-BE 1.7.0 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
8th February 2017, 12:21 | #179 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
Does not seem to add anything specific yet, so probably just a declaration of compatibility.
__________________
VirtualDub2 |
|
|