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 … 66 67 68 69 70 … 115 Next »
resuming .avi files....?

 
  • 0 Vote(s) - 0 Average
resuming .avi files....?
cakes
Offline

Member

Posts: 204
Threads: 40
Joined: Dec 2005
#1
2006-06-03, 01:36 PM (This post was last modified: 2006-06-04, 06:00 AM by cakes.)
... well, not really, but this comes close.

The idea I had (well I got it from this thread : http://forums.nextpvr.com/showthread.php?t=15982) is to copy the temporary mpg that gbpvr is streaming to the mvp to a cache directory once it is fully transcoded.

When playing an avi file for the second time, the trans2mvp.bat first looks if there is a fully transcoded mpg in the cache directory. If yes, then it copies this mpg back to the temporary file, so gbpvr immediately has a full mpg file in which you can skip. Maybe it is possible to also implement a resume, but that seems a bit too complicated, so I won't try.

Here is what you need: [ATTACHMENT NOT FOUND]
- trans2mvp.bat: is called by gbpvr and should be in the gbpvr directory. All it does is to start another trans2mvp2.bat. it is essential to 'start' it, because this way, the batch file keeps on running even if you stop watching in the middle of an avi file.

- trans2mvp2.bat: this batch file either copies from the mvp cache, or starts transcoding with ffmpeg, but first it kills any running ffmpeg processes. And when ffmpeg fully has transcoded an .avi, it copies the mvp to the buffer. In the beginning of the script you 'll need the adjust the path in some variables.

- process.exe: small utility used to kill the ffmpeg process. You can download it here: http://www.beyondlogic.org/solutions/pro...ssutil.htm

I've tested this script for some weeks and it works fine for me. It could be handy to combine the script with the solution for maintaining the aspect ratio (http://forums.nextpvr.com/showthread.php?t=15156), but as it is now, it plays 99% of all my avi's. One limitation I found is that when whatching a movie for which a copy from the cache is used, and immediately you stop and play another movie, then still the first movie is played. Reason is that copying back a large file to the cache can take some minutes. Also you will need to clean the mvpcache from time to time.

Good luck with it.

(edit: uploaded correct batch file)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  No audio on MKV files on the PCH pcostanza 3 3,714 2011-11-22, 02:21 AM
Last Post: pcostanza
  MVP Crashes when playing some video files szkoda 7 4,617 2011-06-30, 11:16 AM
Last Post: HtV
  Freeze to black screen when stopping wmv, mkv, some avi files jksmurf 6 3,252 2010-03-18, 09:24 PM
Last Post: mvallevand
  Watching .TS files on my MVP, not in GBPVR emulation mode Probedude 1 1,882 2010-03-16, 11:32 AM
Last Post: mvallevand
  No sound playing trailers or other .mpg files through mvp navyblue 3 2,702 2009-05-16, 03:51 AM
Last Post: Pengu
  MVP TS Files gf404 2 1,968 2009-01-06, 02:32 AM
Last Post: gf404
  Transcoding files times out before they begin Zato 3 2,176 2008-10-13, 04:01 AM
Last Post: Zato
  iPlayer .wmv files with PC and MVP xsilvergs 9 5,594 2008-09-18, 09:04 PM
Last Post: tbutcher
  problem reading mediacenter files jasjol 4 2,163 2008-05-02, 05:48 PM
Last Post: Sheik Yerbouti
  MPV locks up when playing .MOV files rtmey2000 13 4,214 2007-08-31, 05:12 AM
Last Post: rtmey2000

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

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

Linear Mode
Threaded Mode