PDA

View Full Version : Video plays while resume/restart buttons on screen



ggee
2007-08-06, 01:15 AM
Not sure if this is something in the mvpmc or not, but I notice a difference in the way things start. On the donlge from GBPVR which is running on one MVP, when I start a video and the resume/restart dialog appears, the video is paused until I choose something. But with the MVPMC dongle on my other MVP, the video keeps playing while I am trying to choose. This is sort of related to another post I did where during this situation, it is really hard to press the buttons. The MVP running the mvpmc dongle is on a low bandwidth connection(weak wireless).

Is the GBPVR dongle doing an internal pause command until the resume/restart dialog finishes?

Thanks,
Greg

sub
2007-08-06, 01:29 AM
I'm assuming its some bug in the mvpmc dongle that is ignoring the pause request.

mvallevand
2007-08-06, 02:14 AM
Is the GBPVR dongle doing an internal pause command until the resume/restart dialog finishes?

I am assuming it is an mvpmc but I don't consider it a bug because it is one of the situations where I have to guess what to do, since I don't know the logic behind it This problem was addressed during the test round and I thought I fixed it. In many ways it was working but after looking at the logs, it looks like I have a small problem which would actually not be visible on a normal network.

Right now, emulation mode immediatly responds with a hardware pause after the pause command is received from the server, and the pause OSD is displayed. It appears to be working, but what is missing right now is logic to stop feeding the demux while video is paused. A few megs could get streamed while the demux file and on my machine that took about 2 seconds.

When the resume is hit the exra data in the demux is cleared, so resume in effect is working.

I will have to check, I'm not sure if GBPVR server continued to feed the data afterwards. In any case I will fix the bug either tonight or tomorrow morning given the Civic holiday.

As for the key strokes, they certainly get sluggish while any OSD screen is up. There's a lot of data and a lot of math going on. One a slow if you wait two seconds for the data to stop you'd probably find the keys more responsive.

Martin

sub
2007-08-06, 02:22 AM
Normally with the resume prompt, GB-PVR will start playback of the movie, then show the resume/restart OSD popup, then send a pause request to the MVP. When the user selects to restart, it'll send a play request. When the user selects to resume, it'll send a play request + a skip request.


I will have to check, I'm not sure if GBPVR server continued to feed the data afterwards. In any case I will fix the bug either tonight or tomorrow morning given the Civic holiday.While the MVP is paused, it shouldnt continue to ask GBPVR for data, but if it does ask for it, then GB-PVR will supply it.

mvallevand
2007-08-06, 02:29 AM
While the MVP is paused, it shouldnt continue to ask GBPVR for data, but if it does ask for it, then GB-PVR will supply it.

That was my logic bug. As I said because there is no video playing because of the hardware pause, it only goes to the demux and then it gets cleared on the skip so in effect it is just extra data that slows the key response which I didn't notice it during my testing.

Martin

ggee
2007-08-06, 03:49 AM
I will have to check, I'm not sure if GBPVR server continued to feed the data afterwards. In any case I will fix the bug either tonight or tomorrow morning given the Civic holiday.

Martin

No rush. I'm trying to enjoy the holiday as well.

Thanks,
Greg

mvallevand
2007-08-06, 04:11 AM
No rush. I'm trying to enjoy the holiday as well.

I updated the alpha with a patch anyway. I'm going to see if how the Hauppauge dongle reacts, since now once GBPVR unpauses after you select resume and mvpmc starts reading again, for a brief period, )until the skip is received as sub explained) the reads do continue from the beginning of the file. Your keystrokes should be faster.

There is also a brief artifact of the initial reads that I am not sure I can get rid of easily.

Edit: Hauppauge does basically the same thing, execept they have even more video in their buffer because they actually do more reads.

Edit: I also checked GBPVR and it streams much less unnecessary data then PVRX2, if this continues to be an issue. I forgot how nice having the status bar on resume was.

Martin

ggee
2007-08-07, 02:26 AM
Thanks. I'll give it a try. I had tried what you mentioned before about waiting a few seconds to see if the buffer would clear, but it kept playing the video and didn't stop, well, at least after 5-10 seconds.

I'll give the new dongle a try.

Greg

mvallevand
2007-08-07, 02:39 AM
Thanks. I'll give it a try. I had tried what you mentioned before about waiting a few seconds to see if the buffer would clear, but it kept playing the video and didn't stop, well, at least after 5-10 seconds

Actually when I was testing the Hauppauge dongle I had two situations which I are really what you are talking about.

1. The resume prompt didn't come up at all and it started from the beginning.

2. The resume popup came up overlaying the video as it continued to play from the beginning.

I've never seen this with mvpmc.

Martin

mvallevand
2007-08-10, 04:14 AM
Actually I noticed a small problem with this patch that caused unnecessary pixelation problems lost on the pause key because I discarded a few packets and so there is a new nightly.

Martin