[vlc-devel] Problems playing PES-Stream in TrickMode speed (fast forward, slow motion...)
Matthias Bauer
matthias.bauer at gmx.ch
Tue Dec 23 13:54:22 CET 2008
Hello @all
I'm currently working to get VLC running properly as player for the
VDR with ffnetdev-plugin streaming server.
This works fine for playing live TV or recordings in normal speed.
As soon as I try to "fast forward" or "fast reverse" a recording, VLC
gets a problem with to fast or ever reverse PTS/DTS info, because
these timestamps are the originals from the recording.
--> How do I have to manipulate the stream to get i played proprerly
on VLC while these trickmode playing?
I already tryed to insert additional trick mode infos as defined in
ISO-13818-1 or to remove the PTS/DTS info while playing in trickmode
speed, but both didn't work as expected:
The trickmode info seems to be ignored. Even after swiching back to
normal speed, VLC still plays very slow pictures from "fast forward"
for a long time, here some messages from log:
main warning: backward_pts != dts (-480000)
main warning: backward_pts != current_pts (-40000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (400000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
main warning: late picture skipped (218431)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
main warning: backward_pts != dts (480000)
main warning: backward_pts != current_pts (-440000)
main warning: backward_pts != dts (240000)
main warning: backward_pts != current_pts (-560000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-320000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
--> switched back to normal speed on streaming server
main warning: computed PTS is out of range (1838686), clearing out
main warning: timing screwed, stopping resampling
main warning: PTS is out of range (1841240), dropping buffer
main warning: output PTS is out of range (1840285), clearing out
main warning: PTS is out of range (1817465), dropping buffer
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to
recover from clock gap
main warning: PTS is out of range (1796877), dropping buffer
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
main warning: backward_pts != dts (360000)
main warning: backward_pts != current_pts (-440000)
Removing PTS/DTS works fine for a few seconds in trickmode speed, then
the picture freezes, here some messages from log:
main warning: late picture skipped (116521)
main warning: late picture skipped (76557)
main warning: late picture skipped (36570)
main warning: late picture skipped (40797)
main warning: late picture skipped (831)
main warning: late picture skipped (829655)
main warning: late picture skipped (1797634)
main warning: late picture skipped (1757674)
main warning: late picture skipped (1740970)
main warning: late picture skipped (2708783)
main warning: late picture skipped (2668821)
main warning: late picture skipped (3636799)
main warning: late picture skipped (3620363)
main warning: late picture skipped (3580394)
main warning: late picture skipped (3563514)
main warning: late picture skipped (3523550)
main warning: late picture skipped (4491444)
main warning: late picture skipped (5482641)
main warning: late picture skipped (5442676)
main warning: late picture skipped (5402689)
main warning: late picture skipped (6393919)
main warning: late picture skipped (6353953)
main warning: late picture skipped (7345204)
main warning: late picture skipped (8313194)
main warning: late picture skipped (8273230)
main warning: late picture skipped (9264334)
main warning: late picture skipped (9224374)
main warning: late picture skipped (10196087)
main warning: late picture skipped (10179525)
main warning: late picture skipped (11171713)
main warning: late picture skipped (11154527)
main warning: late picture skipped (12129956)
main warning: late picture skipped (12089990)
main warning: late picture skipped (12073333)
main warning: late picture skipped (13045086)
main warning: late picture skipped (13005114)
main warning: late picture skipped (12988546)
main warning: late picture skipped (14003325)
main warning: late picture skipped (13986682)
main warning: late picture skipped (13971591)
main warning: late picture skipped (13931623)
--> switched back to normal speed on streaming server
main warning: computed PTS is out of range (17911463), clearing out
main warning: PTS is out of range (17911601), dropping buffer
main warning: output PTS is out of range (17923722), clearing out
main warning: PTS is out of range (17887957), dropping buffer
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to
recover from clock gap
main warning: PTS is out of range (17870179), dropping buffer
main warning: late picture skipped (13915076)
main warning: dts != current_pts (43280000)
main warning: late picture skipped (13897011)
main warning: late picture skipped (13857048)
main warning: decoder synchro warning: pts != current_date (-59446099)
main warning: backward_pts != dts (59446099)
main warning: backward_pts != current_pts (59446099)
main warning: decoder synchro warning: pts != current_date (-59446099)
Any ideas are welcome!
Best regards,
Matthias
More information about the vlc-devel
mailing list