You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at ChildProcess.exithandler (node:child_process:400:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1093:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: 'ffmpeg -fflags nobuffer -probesize 256 -rtsp_transport tcp -i rtsp://127.0.0.1:8554/h264 -vframes 1 -r 1 -s 640x360 -y /dev/shm/snapshot.jpg'
}
which i assume has nothing to do with the problem and just means that the RTSP server failed to start.
I checked everywhere and resolutions are all set to the same. I tried using V4L2Loopback and OBS to create the virtual cam, both fail. As I mentioned, USB capture devices also fail. So I assume the problem is not the source.
The onvif tester I use reports that connection is succesful but video streaming failed (RTSP unavailable). The FFMPEG error is thrown out when trying to connect to the ONVIF stream, I suppose because it tries to get a snapshot and it isn't able to.
I know this is somewhat chaotic but I'm really lost on this and I need to finish it. Thanks in advance
edit: I tried using a normal usb webcam and it seems to work. It works horrendously, but i assume that is because of my testing device. USB capture devices and v4l2loopback still do not work.
I might be onto something... I checked output formats for all my sources: the USB webcam only supports MJPEG, and the integrated webcam supports both MJPEG and YUV422. The non working sources only support YUV422. Could this mean that rpos is working only with MJPEG mode?
The text was updated successfully, but these errors were encountered:
The ffmpeg issue you see is just a trick (a hack) to get a JPEG image for the ONVIF GetSnapshotURI command.
I needed an image from the camera to make a JPEG, so the code tries to make a RTSP connection to itself, get 1 frame of video, and use that as the JPEG image.
So what you are seeing is just an error that says the JPEG snapshot code could not connect to 127.0.0.1
That tells me the main RTSP server is not running.
The ffmpeg issue you see is just a trick (a hack) to get a JPEG image for the ONVIF GetSnapshotURI command. I needed an image from the camera to make a JPEG, so the code tries to make a RTSP connection to itself, get 1 frame of video, and use that as the JPEG image.
So what you are seeing is just an error that says the JPEG snapshot code could not connect to 127.0.0.1
That tells me the main RTSP server is not running.
And why wouldn't it? The only way I managed to make it work was using MJPEG webcams. Using a MJPEG feed from V4L2Loopback works only for the first frame, and using h264 doesn't work at all, either with virtual cameras or a capture card. OBS Virtual Cam doesn't work either.
Hello. RPOS works wonderfully when using the integrated webcam, but fails when trying to use a virtual camera or an USB capture device
The only error I get is the FFMPEG one:
which i assume has nothing to do with the problem and just means that the RTSP server failed to start.
I checked everywhere and resolutions are all set to the same. I tried using V4L2Loopback and OBS to create the virtual cam, both fail. As I mentioned, USB capture devices also fail. So I assume the problem is not the source.
The onvif tester I use reports that connection is succesful but video streaming failed (RTSP unavailable). The FFMPEG error is thrown out when trying to connect to the ONVIF stream, I suppose because it tries to get a snapshot and it isn't able to.
I know this is somewhat chaotic but I'm really lost on this and I need to finish it. Thanks in advance
edit: I tried using a normal usb webcam and it seems to work. It works horrendously, but i assume that is because of my testing device. USB capture devices and v4l2loopback still do not work.
I might be onto something... I checked output formats for all my sources: the USB webcam only supports MJPEG, and the integrated webcam supports both MJPEG and YUV422. The non working sources only support YUV422. Could this mean that rpos is working only with MJPEG mode?
The text was updated successfully, but these errors were encountered: