demuxer seeks fails when queue is before demuxer

Vinod Kesti vinodkesti at yahoo.com
Tue Jul 4 05:19:46 UTC 2017


Hi,

I have implement single file gapless playback using segment seek operation. 
Application sends seek event to demuxer after file end and starts from the
beginning.

Pipeline works perfectly when file source is directly connected to demuxer.
But pipeline fails when queue is present before the demuxer element.

This pipeline works.

gst-launch-1.0 filesrc
location=/opt/riversilica/pixflex/media/input/big_buck_bunny_1080p.mp4 !
qtdemux name=bin \
bin.! queue ! h264parse ! decodebin ! x264enc tune=4 !  mux. \
bin.! queue ! avdec_aac ! audioconvert ! voaacenc ! mux. \
mp4mux name=mux ! filesink
location=/opt/riversilica/pixflex/media/input/big.mp4

But pipeline with Queue is not working.

gst-launch-1.0 filesrc
location=/opt/riversilica/pixflex/media/input/big_buck_bunny_1080p.mp4 !
queue ! qtdemux name=bin \
bin.! queue ! h264parse ! decodebin ! x264enc tune=4 !  mux. \
bin.! queue ! avdec_aac ! audioconvert ! voaacenc ! mux. \
mp4mux name=mux ! filesink
location=/opt/riversilica/pixflex/media/input/big.mp4
 
I have used here for stat purpose.
Why seek fails when queue used before the demuxer ??

Seek doesn't work with queue ??

~ Vinod



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/demuxer-seeks-fails-when-queue-is-before-demuxer-tp4683667.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list