Loggytronic Forum

VOMP => VOMP for Raspberry Pi => Topic started by: dingo35 on March 22, 2015, 07:44:23

Title: bug report scraper_support version
Post by: dingo35 on March 22, 2015, 07:44:23
Although just one day experience, I really like the scraper_support version; it seems more stable than the current vomp-client version (I think that's because of the segfault conditions Marten debugged); haven't had to reboot once yet...(knock on wood).

I just have two small bugs to report:
1) When displaying a 16:9 screen on 4:3 TV in letterbox mode, the lower black bar is not black but dark blue; the upper black bar is black, as expected.
2) When exiting a recording, and resuming it, the recording starts about 30 seconds later than where it was exited. This is not new behaviour, it also happened on the current (git master) vomp-client.
I guess this has something to do with either the vomp-server or the vomp-client starting at the first i-frame it encounters, but it means all p- and b-frames in between the exiting and the resuming are lost.

IMHO, the correct thing to do would be to jump back to the first I frame and start playing from there; this is the behaviour VDR itself does. It usally means the resume point is a little before the exiting point, but a little "replay" of a recording is less annoying than missing half a minute of the story  :(
I have no idea how complex that might be, a quick (but less elegant) fix would be just to rewind 30 seconds after resuming.

Marten, any ideas on this?
Title: Re: bug report scraper_support version
Post by: MartenR on March 22, 2015, 08:41:20
Regarding 2), it is supposed to go one GOP back,
, may be changing:
vdr->getNextIFrame(nextiframeNumber, 0, &filePos, &iframeNumber, &iframeLength);
to
vdr->getNextIFrame(max(nextiframeNumber-1,0), 0, &filePos, &iframeNumber, &iframeLength);

in " void Player::restartAtFramePI(ULONG newFrame)" helps. Tell me if it helps.

Regarding 1), this is the gradient in the background, in order to change this, the player would have to set the background to black.

Marten

Title: Re: bug report scraper_support version
Post by: dingo35 on March 22, 2015, 10:54:24
Very strange, the change doesnt seem to change anything in the behaviour ?!?

/EDIT: restartAtFramePi only gets called when state is switched to S_JUMP_PI , which is not switched when resuming a record to play....
Title: Re: bug report scraper_support version
Post by: MartenR on March 23, 2015, 07:07:07
Ok, then it was the wrong one.
setstartframe should then be changed, with a similar logic.

Marten
Title: Re: bug report scraper_support version
Post by: MartenR on April 04, 2015, 13:32:22
1) is now changed in git.

Marten
Title: Re: bug report scraper_support version
Post by: MartenR on April 04, 2015, 14:37:26
2) is also now changed in git. It goes back to last iframe.
The problem is you never know how long you have to go back, since the resume point is determined on the server side.
That means as resuming point always the last frame, that was streamed to the raspberry pi is taken.
Since we have some buffering, that is always inaccurate.

Marten