2006-11-18, 05:11 PM
re: [ZProcess] Cannot play more than 1 movie per session
http://forums.nextpvr.com/showthread.php?t=21572
First off, can somone please move the above thread to the ZProcess sub-forum... Thanks
Anyway, the person who posted the above thread was unable to have ZProcess play a second video. I just wanted to hammer out the transcode concept some more. Maybe something has changed in GBPVR...
OK. ZProcess has been around for a bit, but to reiterate, ZProcess is a front-end for ffmpeg. It acts as a go between for GBPVR and ffmpeg.exe when someone wants to view an avi file on an MVP. It does that by faking out GBPVR to think IT is ffmpeg.exe...
Anyway, the way I understand it,
1 User asks the MVP to play xyz.avi.
2 GBPVR knows it can't play avis, calls ffmpeg to transcode on the fly to mpg
3 serves the mpg to the mvp. User 'thinks' he's watching an avi...
During #2, GBPVR asks ffmpeg to make a temp mpg named after the MVP and it's mac address. Let's call that mvp1234.mpg. It's created in the recordings folder.
On the first transcode, while watching the movie, the transcode progress can be watched. The right number keeps increasing until it gets to the end... When the movie first starts, the 'end time' starts at around 10 secs but tries to keep ahead of the current location pointer.
On the second movie, the end time is the length of the PREVIOUS movie... In theory, the end time should be zeroed out again because we are starting a new transcode. But instead it's getting the end time from the pre-existing mvp temp file (I think)..
In previous versions, GBPVR used to wait for the new MVP1234.mpg to be recreated, before it attempt to serve it to the MVP (I think)
But now, I think GBPVR is seeing a preexisting MVP1234.mpg file and starting to serve that, despite ZProcess/FFmpeg furious attempt to crank out the new MPG during that 5500 Transcode Pre-Delay.
The result is, I think, GBPVR thinks it playing one file, but when ZProcess/FFMpeg starts transcoding, the rug gets pulled out from under GBPBR and it drops to the Video plugin screen...
Is that the case? Should I write logic into ZProcess to delete any preexisting mvp1234.mpg right at the start, and then start transcoding the new file?
Thanks guys...
http://forums.nextpvr.com/showthread.php?t=21572
First off, can somone please move the above thread to the ZProcess sub-forum... Thanks
Anyway, the person who posted the above thread was unable to have ZProcess play a second video. I just wanted to hammer out the transcode concept some more. Maybe something has changed in GBPVR...
OK. ZProcess has been around for a bit, but to reiterate, ZProcess is a front-end for ffmpeg. It acts as a go between for GBPVR and ffmpeg.exe when someone wants to view an avi file on an MVP. It does that by faking out GBPVR to think IT is ffmpeg.exe...
Anyway, the way I understand it,
1 User asks the MVP to play xyz.avi.
2 GBPVR knows it can't play avis, calls ffmpeg to transcode on the fly to mpg
3 serves the mpg to the mvp. User 'thinks' he's watching an avi...
During #2, GBPVR asks ffmpeg to make a temp mpg named after the MVP and it's mac address. Let's call that mvp1234.mpg. It's created in the recordings folder.
On the first transcode, while watching the movie, the transcode progress can be watched. The right number keeps increasing until it gets to the end... When the movie first starts, the 'end time' starts at around 10 secs but tries to keep ahead of the current location pointer.
On the second movie, the end time is the length of the PREVIOUS movie... In theory, the end time should be zeroed out again because we are starting a new transcode. But instead it's getting the end time from the pre-existing mvp temp file (I think)..
In previous versions, GBPVR used to wait for the new MVP1234.mpg to be recreated, before it attempt to serve it to the MVP (I think)
But now, I think GBPVR is seeing a preexisting MVP1234.mpg file and starting to serve that, despite ZProcess/FFmpeg furious attempt to crank out the new MPG during that 5500 Transcode Pre-Delay.
The result is, I think, GBPVR thinks it playing one file, but when ZProcess/FFMpeg starts transcoding, the rug gets pulled out from under GBPBR and it drops to the Video plugin screen...
Is that the case? Should I write logic into ZProcess to delete any preexisting mvp1234.mpg right at the start, and then start transcoding the new file?
Thanks guys...
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]
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]