Does vdr buffer TS/PES packets intern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am still working to improve the vdr-plg-dxr3 and I run into an
issue. Lets say I watch TV but there is nothing interesting to watch,
so I want to playback a recording.
But this happens now in the plugin:

Jun 28 11:52:46 vdr vdr: [4160] video pts 808983
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 830583
Jun 28 11:52:46 vdr vdr: [4160] video pts 852183
Jun 28 11:52:46 vdr vdr: [4160] video pts 852183
Jun 28 11:52:46 vdr vdr: [4160] video pts 852183
Jun 28 11:52:46 vdr vdr: [4160] video pts 852183
Jun 28 11:52:47 vdr vdr: [4160] video pts 852183
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4139] [dxr3-device] setting playmode 0
Jun 28 11:52:47 vdr vdr: [4139] audio enable 0
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr kernel: em8300-0: adjusting scr: 1032444
Jun 28 11:52:47 vdr vdr: [4139] replay
/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec
Jun 28 11:52:47 vdr vdr: [4139] playing
'/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec/001.vdr'
Jun 28 11:52:47 vdr vdr: [4139] loading
/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec//marks.vdr
Jun 28 11:52:47 vdr vdr: [4139] [dxr3-device] setting playmode 1
Jun 28 11:52:47 vdr vdr: [4139] audio enable 1
Jun 28 11:52:47 vdr vdr: [4175] dvbplayer thread started (pid=4139, tid=4175)
Jun 28 11:52:47 vdr vdr: [4175] resuming replay at index 6708 (0:04:28.09)
Jun 28 11:52:47 vdr vdr: [4176] non blocking file reader thread
started (pid=4139, tid=4176)
Jun 28 11:52:47 vdr vdr: [4175] SetBrokenLink: no GOP header found in
video packet
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-device] Poll
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-device] Poll
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-device] Poll
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-device] Poll
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-device] Poll
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] setting audio track to 1 (0)
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-audiodecoder] found new audio header
Jun 28 11:52:47 vdr vdr: [4175] [dxr3-audiodecoder] calculated frame size 768
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts 1079487
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321
Jun 28 11:52:47 vdr vdr: [4175] video pts -718037321


As you can see the video pts is for some time increasing to about
1079487. And then suddenly it changes to the correct value of
the recording. I assume that vdr does the following:

Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr vdr: [4139] [dxr3-device] setting playmode 0
Jun 28 11:52:47 vdr vdr: [4139] audio enable 0
Jun 28 11:52:47 vdr vdr: [4160] video pts 873783
Jun 28 11:52:47 vdr kernel: em8300-0: adjusting scr: 1032444
Jun 28 11:52:47 vdr vdr: [4139] replay
/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec
Jun 28 11:52:47 vdr vdr: [4139] playing
'/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec/001.vdr'
Jun 28 11:52:47 vdr vdr: [4139] loading
/var/vdr/video/MTV_Live/2008-06-07.21.58.50.99.rec//marks.vdr
Jun 28 11:52:47 vdr vdr: [4139] [dxr3-device] setting playmode 1
Jun 28 11:52:47 vdr vdr: [4139] audio enable 1
Jun 28 11:52:47 vdr vdr: [4175] dvbplayer thread started (pid=4139, tid=4175)
Jun 28 11:52:47 vdr vdr: [4175] resuming replay at index 6708 (0:04:28.09)
Jun 28 11:52:47 vdr vdr: [4176] non blocking file reader thread
started (pid=4139, tid=4176)
Jun 28 11:52:47 vdr vdr: [4175] SetBrokenLink: no GOP header found in
video packet
now there should not be any left over from the previous audio/video
stream, but only the new data
a pts value around  -718037321.


Is this a bug or a feature of VDR?

thanks
--
Christian Gmeiner, MSc

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux