Close VLC process after C++ crash

About encoding, codec settings, muxers and filter usage
realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Close VLC process after C++ crash

Postby realjobe » 09 Sep 2016 11:54

Hi there.
Using VLC 2.2.4 x64 in windows 10 Pro AU+. VLC is commanded via VLM to transcode streams.. Works tryly well. Thank you for This..

There are occations when VLC crahses resulting a Microsoft C++ runtime Error windows. This may not easily be avoided, but is there a possibility not to show this window? This windows needs to be acknowledged in order to terminate vlc.exe process off compleately, so that the Windows Scheduled Task to Run VLC with command line params --one-instance can be compleated.

In another words, I have Scheduled Task to Run vlc.exe every 5 mins. This will not create new insatnce of vlc, just to make sure vlc in running properly...


"This error message appears if an exception is not handled and unexpected() is called or if an exception escapes a destructor during stack unwinding and terminate() is called. Both lead to abort() being called and its abort() implementation that shows the message box. This behaviour is by design in VS2k3, VS2k5 and VS2k8. It is really annoying especially in applications meant to run without human intervention (like daily builds for example). You can workaround this behaviour - use catch(...) to catch all exceptions at the top level and set your own terminate() handler using set_terminate()."

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: Close VLC process after C++ crash

Postby realjobe » 20 Sep 2016 08:04

Well.. I sort of solved for this now..

The minute the Microsoft C++ runtime (with OK button) crash window appears, "PushTheFreakingButton" application pushes the button automatically.
When the Scheduled task to start VLC up is triggered, the slate is clean. :)

Free and old PTFB (Push the Freakin' Button) 1.63 here http://www.majorgeeks.com/files/details ... tton).html


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 29 guests