Closed yogii786 closed 2 years ago
Does your camera support h264 format?
You can check with:
$ v4l2-ctl --list-formats
here I attached screenshot of listed formats could you please check and let me know sugggested camera which support H264 format?
using usb camera IMX291
It works with the pi camera boards (with the old camera stack) or any usb uvc camera which supports the h264 format. You can find some here: https://en.everybodywiki.com/List_of_cameras_with_onboard_video_compression
I have already started working on encoding the YUYV format with the V4L2 m2m encoder on the pi. Stay tuned!
Not sure if related, but I am getting this:
Traceback (most recent call last):
File "/home/pi/fmp4streamer/fmp4streamer.py", line 271, in
I can stream fine using gst-launch-1.0.
After removing a couple of ioctl calls I am left with the same error:
ERROR:root:V4L2Camera: can't read SPS and PPS from the first frame
I would also be interested on the YUYV format.
Hi @fcoury could you please share your Gstreamer pipeline so that I can use that
Imx291 usb camera supports H264 format hence I checked by printing sps and pps there values are 2 and 2 respectively
Try the 3.1.0 version and read the Readme for the configuration.
@yogii786 Please try the v3.2.0 with the capture_format = MJPGH264 configuration option.
Feel free to open, if you have any other questions.
ERROR:root:V4L2Camera: can't read SPS and PPS from the first frame