Thank you so much for that! I've added a output.youtube.live as a wrapper
using your code!

2018-07-04 14:15 GMT+02:00 Per Gunnarsson via Savonet-users <
savonet-users@lists.sourceforge.net>:

> Maybe I misunderstand what you mean by youtube live streaming, but I got
> liquidsoap streaming to youtube like this:
>
> #!/usr/local/bin/liquidsoap
> # XTRadio Video
> # Standard settings
> set("log.file.path","/tmp/vlc-radio.log")
> set("log.level",4)
> set("server.telnet",false)
> # Stream Settings
>
> video=input.v4l2()
> audio=input.pulseaudio(clock_safe=false)
> video=buffer(buffer=0.1,mksafe(video))
> video=mksafe(video)
>
> source = mux_video(video=video,audio)
> # source= mksafe(source)
>
>
> output.gstreamer.audio_video(fallible=true,
> video_pipeline="videoconvert ! timeoverlay ! x264enc bitrate=2000 ! \
> video/x-h264,profile=main ! queue ! mux.",
> audio_pipeline="audioconvert ! voaacenc bitrate=128000 ! queue ! mux.",
> pipeline="flvmuxstreamable=1 name=mux ! rtmpsink location=\"rtmp://a.rtmp.
> youtube.com/live2/my-secret-KEY\
> <http://a.rtmp.youtube.com/live2/my-secret-KEY%5C>"",
> source)
>
> In case you mean that liquidsoap should read from youtube live streaming,
> I apologize.
>
> On 07/04/18 12:21, Romain Beauxis wrote:
>
> Yeah, youtube-dl is for downloading. I would still love to see this
> feature added but I have no plans to do it myself for the moment. I'm
> available to mentor someone to do it, though.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/savonet/liquidsoap/issues/498#issuecomment-402436058>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Am23y6m6fCxyIHyLHEnaGTNn9WzqJiQNks5uDJcxgaJpZM4QB37i>
> .
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Savonet-users mailing 
> listSavonet-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to