Assign buffer to sink pad of tsdemux element
Tim Müller
tim at centricular.com
Tue Apr 21 07:41:03 PDT 2015
On Tue, 2015-04-21 at 17:08 +0530, Mayank Agarwal wrote:
Hi,
> I am downloading tsfile content into fragment and then assigning it to GstBuffer
> Now i am creating the pipeline to play ts file using gstreamer element.
>
> 1. Is it possible to play ts file exactly the same way if i give ts
> path as uri to playbin
>
> 2.I want to realize ABR player like that e,g
> A thread will be running to gauge the network bandwidth
> and according to that i will be downloading the ts file in real time
> and give it for playing to
> the gstreamer pipeline.Is the above scheme ok to build ABR player
> using gstreamer or there
> can be alternate approach
>
> 3.Instead of above approach if i should write code for building
> pipeline as described in following link:
> https://coaxion.net/blog/wp-content/uploads/2014/05/hls-av.png
> Does souphttpsrc takes care of adaptive bit rate functionality or it
> has to be modified by writing own algorithm.
Why not just use the playbin element, by pointing its "uri" property to
a HLS playlist? It should handle everything for you, in combination with
the hlsdemux element (deciding which bitrate to use and switching
dynamically etc. etc.)
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list