HLS output to decklink SDI

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

HLS output to decklink SDI

vmm2017
I am new and trying to figure out how to output HLS stream to DeckLink card.

My command line is as follows:

gst-launch-1.0 souphttpsrc location=http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8 ! hlsdemux ! decodebin name=u u. ! queue ! videoconvert ! videoscale ! decklinkvideosink mode=15 u. ! queue ! decklinkaudiosink

Output:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:u: Delayed linking failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstDecodeBin:u:
failed delayed linking some pad of GstDecodeBin named u to some pad of GstQueue named queue1
ERROR: from element /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0: GStreamer encountered a general stream error.
Additional debug info:
gstadaptivedemux.c(2148): _src_chain (): /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Please guide me.
Thanks
Vick
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: HLS output to decklink SDI

Tim Müller
On Fri, 2017-08-11 at 11:06 -0700, vmm2017 wrote:

Hi,

> I am new and trying to figure out how to output HLS stream to
> DeckLink card.
>
> My command line is as follows:
>
> gst-launch-1.0 souphttpsrc
> location=http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_
> index.m3u8
> ! hlsdemux ! decodebin name=u u. ! queue ! videoconvert ! videoscale
> !
> decklinkvideosink mode=15 u. ! queue ! decklinkaudiosink

Try something like:

  gst-launch-1.0 playbin uri=http://...  \
      audio-sink="decklinkaudiosink" \
      video-sink="cecklinkvideosink mode=15"

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/
_______________________________________________
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: HLS output to decklink SDI

vmm2017
Tim,

Thanks for command.

I finally managed to get the SDI to output video but now picture is all red means that I need to force it to use pix format uyvy422.

Any ideas how can I set that ?

Thanks,
V
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: HLS output to decklink SDI

Baby Octopus
Both videoscale and videoconvert would autonegotiate based on the mode that you have set on decklinkvideosink. Can you enable verbose mode to see if something isn't right?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: HLS output to decklink SDI

vmm2017
In reply to this post by vmm2017
I managed to get this working, Thanks for all the help.

Now I am running in to problem where - my pipeline pauses due to buffering.
How do add buffer or queue to avoid that ?

Please help.

Thanks,
V
Loading...