Add extra uri in playbin

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

Add extra uri in playbin

Taapat
Or is it possible to implement extra uri in playbin?
Or the possibility to specify multiple links in "uri"?

Now for URIs that playbin will play you can use the "uri" property.
For subtitles, you can use the "suburi" property.
If I'm not mistaken, no more properties are provided.

If I want to watch a video from youtube with 1920x1080 resolution, I need to use a Dash MP4 video that does not contain audio: http://www.genyoutube.net/formats-resolution-youtube-videos.html
For audio, I need to use an extra link with Dash MP4 Audio.

For Dash MP4 Audio link, I use "suburi" property, which is intended for subtitles but also works for audio.
Unfortunately, in this case, I can no longer use subtitles.

It would be nice if someone could introduce additional uri for audio to watch 1080HD videos from youtube with subtitles.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Add extra uri in playbin

Adrian Pardini
On 17 July 2017 at 09:58, Taapat <[hidden email]> wrote:
> Or is it possible to implement extra uri in playbin?

Hi Taapat, it is possible.

See https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstUriHandler.html#GstURIHandlerInterface
.

We also did something like that to use shm:// uris. The code is a bit
old but may be of use to you:
https://github.com/pardo-bsso/gst-urishmsrc

Regards
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Add extra uri in playbin

Taapat
Hi, Adrian.

Thanks for the reply!
I do not have much experience with the gstreamer, but I will try to understand from the gst-urishmsrc code how to implement extra uri in my case.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Add extra uri in playbin

Adrian Pardini
On 18 July 2017 at 07:22, Taapat <[hidden email]> wrote:
> Hi, Adrian.
>
> Thanks for the reply!
> I do not have much experience with the gstreamer, but I will try to
> understand from the gst-urishmsrc code how to implement extra uri in my
> case.
>

You are more than welcome.
Please bear in mind that it's an old codebase and has very little
error handling.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...