Closed jattie-ire closed 1 year ago
@jattie-ire Is this RPI?
No, it's a Linux PC
@jattie-ire Currently the application will try to run and decode MJPG to re-encode it into H264. Since there's no HW decoder you have to run it with: --camera-video.disabled
. Only MJPG stream will be available then.
This is one of the cases where It is rough on edges outside of RPI platform currently.
Hi Kamil, I just want to use the same streamer to allow me to be compatible and portable for pi support, so will try to get it working with the disabled
flag now.
The disabled
will make it work, as this is something that I tested on other platforms.
It does indeed, thanks for the help.
root@ustream:~/camera-streamer# ./camera-streamer --camera-video.disabled
./camera-streamer Version: v0.1-23-gf0634f9 (f0634f9)
device/v4l2/device.c: CAMERA: Device path=/dev/video0 fd=14 opened
device/v4l2/device_options.c: CAMERA: The 'horizontal_flip=0' was failed to find.
device/v4l2/device_options.c: CAMERA: The 'vertical_flip=0' was failed to find.
device/camera/camera_input.c: CAMERA: Disabling DMA since device uses USB (which is likely not working properly).
device/v4l2/buffer_list.c: CAMERA:capture: Requested resolution=1920x1080 is unavailable. Got 1280x720. Accepted
device/buffer_list.c: CAMERA:capture: Using: 1280x720/MJPG, buffers=3, bytesperline=0, sizeimage=1.8MiB
device/buffer_list.c: CAMERA:capture: Opened 3 buffers. Memory used: 5.3 MiB
device/device.c: CAMERA: Setting frame interval_us=0 for FPS=30
device/v4l2/device_options.c: CAMERA: The 'AfTrigger=1' was failed to find.
device/links.c: ?: Link 0: CAMERA:capture[1280x720/MJPG/3] => [SNAPSHOT-CAPTURE, STREAM-CAPTURE]
device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 3 enqueud
Glad that I could help.
Hi Kamil,
I am working on the migration process for Octoprint to camera-streamer as the defacto standard, implementing that as a Linuc container using LXC.
It just fails at running and I have been at it for days now, so was hoping to get some guidance.
Is my issue related to this missing component
liblivemedia-dev
or do I just miss some basic options passed in?Thanks
Jattie