NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT v
« Previous 1 … 42 43 44 45 46 … 115 Next »
trans2mvp.bat not always running.

 
  • 0 Vote(s) - 0 Average
trans2mvp.bat not always running.
cakes
Offline

Member

Posts: 204
Threads: 40
Joined: Dec 2005
#1
2007-05-01, 10:21 AM
Hi,

After my upgrade to 99.12, I discovered that trans2mvp.bat is not always called as expected.

In my config.xml, I have the following lines:
<MVPTranscodeUsingFFmpeg>false</MVPTranscodeUsingFFmpeg>
<MVPTranscodeUseFFDSHOW>false</MVPTranscodeUseFFDSHOW>

So when I play an .avi, my trans2mvp.bat is running as expected (I use ffmpeg for transcoding in my trans2mvp.bat). But when I then stop the playback and try to watch another .avi while the transcoding of the previous .avi is still busy, trans2mvp.bat is not called anymore.

Why? Is that because gbpvr detects another ffmpeg process is still ongoing?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2007-05-01, 01:02 PM (This post was last modified: 2007-05-01, 01:06 PM by pBS.)
try putting "taskkill.exe /IM ffmpeg.exe" before your ffmpeg line to kill any existing ones if you start another...Smile
[i believe taskkill.exe comes with windows or is freely available,by MS]

also, possibly just putting "start /b /w "" ffmpeg.exe etc etc..." might kill ffmpeg when gbpvr kills the command window..
would be a better fix if it works..

and be sure to check if the cmd.exe window is closed at all..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
cakes
Offline

Member

Posts: 204
Threads: 40
Joined: Dec 2005
#3
2007-05-01, 01:37 PM
thanks pBS

pBS Wrote:kill any existing ones if you start another..

I already did that in my script (although with another utility i found somewhere)...

I also discovered that my trans2mvp.bat does start the second time, but it does so two minutes after I started the 2nd avi in the gbpvr/mvp interface.

when checking the active processes it seems that trans2mvp.bat is launched with low priority. Also it seems that the trans2mvp.bat remains active. Both of these could cause the new instance kicking in late.

Could the way trans2mvp.bat is called have changed in one of the previous versions?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2007-05-01, 03:37 PM
cakes Wrote:thanks pBS



I already did that in my script (although with another utility i found somewhere)...

I also discovered that my trans2mvp.bat does start the second time, but it does so two minutes after I started the 2nd avi in the gbpvr/mvp interface.

when checking the active processes it seems that trans2mvp.bat is launched with low priority. Also it seems that the trans2mvp.bat remains active. Both of these could cause the new instance kicking in late.

Could the way trans2mvp.bat is called have changed in one of the previous versions?

Hey Cakes. I think you nailed it. Using the batch files, will have trouble because of the priority. That's why ZProcess works a little better in this case. It monitors itself and only launches processes in Below Normal priority, so that other processes will function well two.

Yes, when you cancel a transcode, GB-PVR should close the current transcode window. And it mostly does. It could have something to do with not using the 'call ffmpeg' mechanism, but rather, GB-PVR may leave the trans2mvp.bat to its own devices...

I suspect that because the first window is still transcoding, and using CPU, when the second widow is called, it's unable to run the taskkill in a timely fashion
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
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#5
2007-05-01, 04:54 PM
Quote:Could the way trans2mvp.bat is called have changed in one of the previous versions?
I'm not aware of anything that has changed on this front. I'm sure its just the CPU usage thats causing this delay.
cakes
Offline

Member

Posts: 204
Threads: 40
Joined: Dec 2005
#6
2007-05-01, 07:31 PM
Hey Zehd, Sub

Thanks for your answers, but I am still puzzled by the reason why. I had the script running smoothly for half year (gbpvr 95.x). Some time ago I did a complete reinstall of my PC, with a fresh install of 99.12 and now it doesn't work anymore...

It is a script that I put a LOT of effort into, so it's hard to let go. But maybe I should start some reading on the wiki to see what zprocess has to offer.... Wink
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Odd occurrence of show automatically speeding up and running at its own speed on NMT? jksmurf 14 5,047 2010-08-29, 04:02 PM
Last Post: mvallevand
  PCH with GBPVR running not able to access network shares on Windows Home Server (WHS) jeffers 3 2,455 2010-07-19, 12:40 PM
Last Post: mvallevand
  Hauppauge running MVPMC stops without apparent reason StevHodge 3 2,138 2010-07-07, 10:20 PM
Last Post: mvallevand
  GB-PVR on HP Mediasmart Server - service not running ossodiseppia 1 2,032 2009-04-08, 06:15 AM
Last Post: User
  Trans2MVP.bat & ffmpeg jkressin262 4 2,572 2007-01-20, 02:28 PM
Last Post: rooomish
  Choppy Playback on Main PC When MVP Server is running cgmt 14 4,984 2006-11-04, 03:46 PM
Last Post: HtV
  trans2mvp.bat spyork 3 2,023 2006-08-19, 09:26 PM
Last Post: spyork
  Running applications rscheller 4 1,830 2006-08-06, 06:51 PM
Last Post: rscheller
  MVP, DIXV, half-screen & Trans2MVP.bat jbs0902 4 2,735 2006-06-06, 04:58 AM
Last Post: jbs0902
  Trans2MVP.bat on 0.97.07 jkressin262 6 2,314 2006-05-22, 08:49 PM
Last Post: drain

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

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

Linear Mode
Threaded Mode