UNSOLVED Stream h264 from camera VEYE-MIPI-IMX327S using v4l2
-
Hello.
We use the h264 stream in the RPi system using veye_raspivid:veye_raspivid -n -t 0 -o -
But there was a need to work through v4l2. Call:
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! x264enc ! h264parse ! rtph264pay config-interval=1 pt=96 ! rtph264depay ! rtspclientsink protocols=tcp location=rtsp://0.0.0.0:8554/live/h264 latency=1000
results something like this:
pipeline stream error v4l2src0 ...How to get h264 stream via v4l2 from camera VEYE-MIPI-IMX327S?
-
On the Tinker Edge T board, we get video from the camera using the command:
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! glimagesink
But when trying to get the h264 stream using the command:
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)YUY2, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! x264enc ! h264parse ! rtph264pay config-interval=1 pt=96 ! rtph264depay ! rtspclientsink protocols=tcp location=rtsp://0.0.0.0:8554/live/h264 latency=1000
An error is thrown:
How to get h264 stream?