News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Progress bar "lost" after skipping about 3 times

Started by laz, October 31, 2012, 09:20:16

Previous topic - Next topic

hondansx

new try..


Log::getInstance()->log("DemuxerTS", Log::DEBUG, "TEST parseTSPacketDetails me.pts: %lu frame_num: %lu me.frame: %lu tfps: %f", me.pts, frame_num, me.frame, tfps);
Log::getInstance()->log("DemuxerTS", Log::DEBUG, "TEST pts_expected: %llu tfps: %f", pts_expected, tfps);
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

MartenR

Sorry that is stilln ot working me.pts have to be "me.pts: %llu" two l !
If there is no second l it corrupts the output of the other variables.

Marten

hondansx

Quote from: MartenR on November 04, 2012, 19:05:30
Sorry that is stilln ot working me.pts have to be "me.pts: %llu" two l !
If there is no second l it corrupts the output of the other variables.

Marten

Fine, now looks better.
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

MartenR

long long pts_expected = me.pts + 90000LL*((long long)(((double)(frame_num - me.frame)) / tfps));
     
      while (pts_expected < 0) pts_expected += (1LL<<33);
      while (pts_expected > (1LL<<33)) pts_expected -= (1LL<<33);

Can you please try this code?

Marten

hondansx

Yes it works. Many thanks.
Is there any chance to get it into the mvp git too?

GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

MartenR

QuoteIs there any chance to get it into the mvp git too?
I do not think, that this is necessary, you can try to build it for mvp also from the raspberry git.
(If it does not work, tell me were the problems is....)

Marten