vorbis timeline
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu May 23 11:28:35 PDT 2013
On Thu, 2013-05-23 at 17:37 +0200, lestoilfante wrote:
> gst-launch souphttpsrc ! jpegdec ! videorate ! video/x-raw-yuv,framerate=5/1 ! timeoverlay ! theoraenc keyframe-force=5 keyframe-freq=5 ! oggmux ! filesink location=test.ogg
>
> I can currently change filesink location dinamically each xx seconds or
> minutes and all resulting files are fine with playbin, however the
> timestamps in the second and later files seems to don't start from zero
> because on some players, like vlc or by embedding the video in html5
> style on chrome , the playing will stall until so many seconds have
> elapsed from previous files. So I'm looking to figuring out how to
> avoid this, please help me if you have any hints or solution.
This sounds like a bug in those other players (vlc and whatever is used
to play this in chrome).
It is perfectly normal that "timestamps" (they are not really
timestamps) in ogg don't start at 0. In any ogg streaming context they
will not start at 0, and the player needs to handle that properly.
e.g. try this:
$ wget -O radio.ogg 'http://stream-uk1.radioparadise.com:80/rp_96.ogg'
control-C after a few seconds, then:
$ oggz-dump radio.ogg | grep gpos
There isn't really an easy way to make oggmux start at 0 every X seconds
or minutes.
Cheers
-Tim
More information about the gstreamer-devel
mailing list