FFMPEG to v4l2loopback Failed to allocate a buffer #84
Labels
Hardware:Dev Board
Coral Dev Board issues
subtype:Mendel Linux
Mendel Linux Build/installation issues
type:support
Support question or issue
Description
I am trying to direct an h264 DVR stream to /dev/video2 with the command below.
gst-launch-1.0 rtspsrc location="rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=0" ! rtph264depay ! h264parse ! decodebin ! videoconvert ! video/x-raw,format=YUY2 ! tee ! v4l2sink device=/dev/video2
it runs and the RTSP sources directed to the dummy device /dev/video2 below is the outcome
I ran the detection command below to get detection results from the NVR
edgetpu_detect --source /dev/video2:YUY2:960x1080:30/1 --model /home/mendel/ssdlite_mobiledet_mask_edgetpu.tflite --labels /home/mendel/mask_labels.txt --threshold .30 --max_area .1 --min_area .01
it works for a second ,display show the camera stream and error code below occurs.
I tried playing with the buffers of the sudo modprobe v4l2loopback max_buffers=x but could no. success.
Can somebody tell me what am I doing wrong.?
Issue Type
Bug
Operating System
Mendel Linux
Coral Device
Dev Board
Other Devices
No response
Programming Language
Python 3.7
Relevant Log Output
The text was updated successfully, but these errors were encountered: