Streaming to Youtube with gst-launch

I’m new on this forum. I was looking info about youtube live stream but I did not find.

I try tu use:

gst-launch-1.0 videotestsrc is-live=1 ! videoconvert ! 'video/x-raw, format=(string)I420, width=(int)640, height=(int)480, framerate=25/1' ! queue ! omxh264enc ! 'video/x-h264, streamformat=(string)byte-stream' ! h264parse ! flvmux streamable=true name=mux ! rtmpsink location="rtmp://" audiotestsrc ! voaacenc bitrate=128000 ! mux.

When I run this command, connection status is change from “No data” to “Wery good connection” in youtube creator studio, but preview screen spinning with message “loading preview…” and transmision doesn’t start. Any suggestion?

we don’t have experience in this usecase. Please use x264enc plugin and go to to get suggestion.
Once you have a working pipeline with x264enc, it should work fine by replacing with omxh264enc.