Seek Implementation HLS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Seek Implementation HLS

Dinesh Kumar
Hi,

I am extending the current hls design to have an queue2 in the pipeline

I am trying to acheive this by creating a new bin element, which has hlsdemux and queue2. This bin element should be autopluggable.
Hlsdemux src is linked with queue2 sink and forming a new bin element.

Seek works fine, when there is no queue2 in the pipeline.

The moment i introduced the queue2, when i issue seek to 60s, the first frame appears. Then waits for 60s to start the playback.


I think, when there is no queue2 all the events pushed in the hls src are received properly by decodebin2.

When queue2 is introduced, all the events are consumed by queue2 and it is not reaching decodebin2.

Can you please tell me how to transfer the events received by queue2 to the decodebin2

Regards
Dinesh P


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Seek Implementation HLS

Paul d'AUBIGNY
Hi Dinesh,

I don't know what kind of GstSeekFlags you use for your seek event but using GST_SEEK_FLAG_FLUSH in addition to the other flags you migh use, might solve your problem (seeĀ http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-eventsseek.html).

Cheers,


Paul

2012/12/14 Dinesh Kumar <[hidden email]>
Hi,

I am extending the current hls design to have an queue2 in the pipeline

I am trying to acheive this by creating a new bin element, which has hlsdemux and queue2. This bin element should be autopluggable.
Hlsdemux src is linked with queue2 sink and forming a new bin element.

Seek works fine, when there is no queue2 in the pipeline.

The moment i introduced the queue2, when i issue seek to 60s, the first frame appears. Then waits for 60s to start the playback.


I think, when there is no queue2 all the events pushed in the hls src are received properly by decodebin2.

When queue2 is introduced, all the events are consumed by queue2 and it is not reaching decodebin2.

Can you please tell me how to transfer the events received by queue2 to the decodebin2

Regards
Dinesh P


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel