demuxer seeks fails when queue is before demuxer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

demuxer seeks fails when queue is before demuxer

Vinod Kesti
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
Loading...