I'm trying to use my Rasberry pi as a hardware encoder to stream h264 video from a USB webcam.
My current command is:
gst-launch-1.0 v4l2src ! "video/x-raw,framerate=15/1" ! \
omxh264enc ! \
video/x-h264,profile=high ! h264parse ! queue ! \
flvmux name=mux alsasrc device=hw:1 ! audioresample ! audio/x-raw,rate=48000 ! \
queue ! voaacenc bitrate=32000 ! queue ! mux. mux. ! \
rtmpsink location=\"rtmp://<my-address-here> live=1\"
Unfortunately, this command says that the encoder was not initialized.
To fix this I can either run commands on the PI that you give me, and I'll give you the response, or I can set up ssh outside my LAN and have you directly make whatever changes are needed.
Thanks for reading,