unable to seek live recorded file

Tim-Philipp Müller t.i.m at zen.co.uk
Sat Dec 10 04:01:03 PST 2011


On Fri, 2011-12-09 at 02:16 -0800, sivaits4u wrote:

> I am trying to use gstreamer to record a live streame(audio and video).
> I am successful in recording this as an mkv file using matroskamux (h264
> +lame). everything works fine able to play with  sync but i am not able to
> seek the file while playing.
> 
> and my pipeline is here which receives rtp audio video and creates a mkv
> file :
> gst-launch-0.10 gstrtpbin name=rtpbin latency=200 udpsrc
> caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" 
> port=9000 ! rtpbin.recv_rtp_sink_0  rtpbin. ! rtph264depay ! h264parse  !
> queue  ! mux. udpsrc port=9001 ! rtpbin.recv_rtcp_sink_0  udpsrc
> caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMU"
> port=9500 ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtppcmudepay ! mulawdec !
> audioconvert ! audioresample ! lame ! queue ! mux. udpsrc port=9501 !
> rtpbin.recv_rtcp_sink_1 matroskamux name=mux ! queue !  filesink
> location=test.mkv sync=false -v
> 
> i am not able to seek it when playing it using any player like vlc

Try passing the -e option to gst-launch.

Cheers
 -Tim



More information about the gstreamer-devel mailing list