how to create correct pipeline to stream to youtube?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to create correct pipeline to stream to youtube?

bronstein87
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?

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

Re: how to create correct pipeline to stream to youtube?

Nicolas Dufresne-5


Le jeu. 15 oct. 2020 08 h 00, Борис <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel