[vdr] vdr 1.7.4 PTS on old recordings (PES)

Josce josce at welho.com
Fri Feb 6 14:55:55 CET 2009


I am using vdr 1.7.4 + reelbox plugins (svn today) + the patch provided
by Ales Jurik, http://www.linuxtv.org/pipermail/vdr/2009-February/019504.html

I managed to get the STC working with the reelbox plugin, by setting
audio to soundcard. When I watch live or play a recording made with
vdr 1.7.4 the subtitles are displayed correctly.
  But when trying to play a recording made with vdr 1.6.0 (PES) I get
no subtitles at all.

In void cDvbSubtitleConverter::Action(void) I added:

if (cDvbSubtitleBitmaps *sb = bitmaps->First()) {
   int64_t STC = cDevice::PrimaryDevice()->GetSTC();
+  fprintf(stderr,"PTS: %lld  STC: %lld timeout: %d\r\n", sb->Pts(), cDevice::PrimaryDevice()->GetSTC(), sb->Timeout());

With the vdr-1.7.4 recording I get:

PTS: 3453357752  STC: 3453096328 timeout: 5
PTS: 3453357752  STC: 3453107848 timeout: 5
PTS: 3453357752  STC: 3453115528 timeout: 5
PTS: 3453357752  STC: 3453127048 timeout: 5
PTS: 3453357752  STC: 3453134728 timeout: 5
PTS: 3453357752  STC: 3453146248 timeout: 5
PTS: 3453357752  STC: 3453157768 timeout: 5
PTS: 3453357752  STC: 3453165448 timeout: 5
PTS: 3453357752  STC: 3453173128 timeout: 5
PTS: 3453357752  STC: 3453184648 timeout: 5

With the vdr-1.6.0 recording I get:

PTS: 4194503  STC: 3346232463 timeout: 3
PTS: 4194455  STC: 3346240143 timeout: 3
PTS: 4194449  STC: 3346263183 timeout: 4
PTS: 4194455  STC: 3346282383 timeout: 4
PTS: 4194545  STC: 3346512783 timeout: 4
PTS: 4194436  STC: 3346812304 timeout: 6
PTS: 4194439  STC: 3347223184 timeout: 4


Regards,

Josce



More information about the vdr mailing list