how to create correct pipeline to stream to youtube?

Nicolas Dufresne nicolas at ndufresne.ca
Thu Oct 15 12:46:07 UTC 2020


Le jeu. 15 oct. 2020 08 h 00, Борис <bumatov at gmail.com> a écrit :

> Hi. I'm trying to stream to youtube using this pipeline:
> gst-launch-1.0 videotestsrc is-live=1 ! videoconvert ! "video/x-raw,
> width=1920, height=1080, framerate=60/1" ! queue ! x264enc tune=zerolatency
> ! "video/x-h264,profile=main" ! flvmux streamable=true name=mux ! rtmpsink
> location="rtmp://a.rtmp.youtube.com/live2/x/0cqu-tet8-fjz4-5daa-40av
> app=live2"
>
> but nothing happens after i start it... gst-lauch finishes without any
> error after a few seconds
> What is wrong here?
>

You have watch YouTube monitor. It will advise you on what encoding
parameters to change. Notably, you must have audio, you need a fixed GOP
size, and more.

_______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201015/f8901fc6/attachment.htm>


More information about the gstreamer-devel mailing list