... 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)
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)