NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 700 701 702 703 704 … 1231 Next »
GBPVR not releasing TaskID when caneclling Transcode...

 
  • 0 Vote(s) - 0 Average
GBPVR not releasing TaskID when caneclling Transcode...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#1
2006-10-07, 01:57 AM
Here's a toughy, sub

I'm using ZProcess. Using MVP. Wanting to play AVI. Calls ffmpeg to transcode. ZProcess is pretending to be ffmpeg. It starts a transcode process with the real FFMPEG (renamed to fmpeg). If I try to cancel the Transcode with the MVP, ZProcess (ffmpeg.exe) is forced closed, and the fmpeg transcode process continues to run. That's why I have also written 'Hunter.exe' which is also spawned when the transcode process is spawned. It watches both fmpeg and ffmpeg's TaskIds, and if one closes, Hunter closes the other. (then exits) In that way, if I cancel a transcode with the MVP, and GB-PVR forces closed ffmpeg, hunter also forces closed the spawned transcode process...

It was all working fine and dandy a while ago, because Hunter was cycling through and checking Window titles... but in order to allow for multiple instances of ZProcess and Hunter I switched to having Hunter search for ZProcess(ffmpeg.exe) TaskID.

This works fine in any other way that I call ZProcess, even from the transcode menu in the video plugin...

What happens is GB-PVR forces ZProcess closed, Hunter still thinks the TaskID exists. Task Manager says it's not there, but even if I start a fresh instance of hunter to check the supposed taskid of the ZProcess window that isn't there anymore, it says that it does exist...

This behaviour ceases once I restart the MVP Server. It would seem somehow that the MVP Server is holding the taskID open, or active, or reserved, when TaskMananger even thinks it's not there...

What do you think?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#2
2006-10-07, 03:26 AM
Its doing the same thing here as everywhere else in the app. I can only guess something is going wrong with the trickery you're attempting.


When the playback is stopped, the following is executed:

try
{
if (mvpTranscodeProcess.HasExited == false)
{
mvpTranscodeProcess.Kill();
}
File.Delete(tempMediaFile.Name);
}
catch (Exception e)
{
...
};
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#3
2006-10-08, 03:03 AM
Thanks Sub, you got me thinking in the right direction. It's fixed...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use IR server suite with GBPVR zaprat 82 63,437 2018-11-18, 05:32 PM
Last Post: Len_Lekx
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,768 2014-05-15, 12:59 AM
Last Post: lchiu7
  GBPVR and NPVR jigster99 2 5,230 2013-02-16, 01:50 AM
Last Post: jigster99
  BBC HD / BBD 1 HD in GBPVR Pob 21 13,794 2012-10-05, 05:42 PM
Last Post: Pob
  tv guide empty in gbpvr works in pvrx2 slowtech 37 17,640 2012-08-27, 04:00 PM
Last Post: rscheller
  Unused gbpvr returns to life with minimal effort KS4UA 0 2,398 2012-03-18, 02:07 AM
Last Post: KS4UA
  Last version of GBPVR download? matthrolf 8 6,592 2011-11-16, 09:22 AM
Last Post: MixMan
  Is card emulation as easy with gbpvr as with npvr? martint123 3 3,485 2011-10-20, 07:13 PM
Last Post: martint123
  GBPVR Webserver does not work - Windows 7 Pro, 64 Bit Ijaja 6 4,579 2011-10-19, 07:21 PM
Last Post: Basher52
  GBPVR will not wake up XP computer from sleep keith_leitch 8 4,984 2011-10-10, 08:26 PM
Last Post: keith_leitch

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode