Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To investigate - sequence of problems when recreating streams #308

Open
joaoantoniocardoso opened this issue Nov 28, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@joaoantoniocardoso
Copy link
Collaborator

joaoantoniocardoso commented Nov 28, 2023

Related report:

I have two cameras and rtsp-streams on the ROV. After a while it seems like the cameras disconnect, there are no devices on the webpage. Asking with websocket with availableStreams returns the two streams though. But you get no videodata. I have to restart the ROV to fix this. The process also stopped completely a bit later.

  1. Both streams seem to have ended at the same time. Is this a USB problem on Linux?
  2. Maybe because of timing, but the devices are switched (/dev/video2 is recreated as /dev/video6.
  3. Somehow, at some point we try to create a null device ( device_path: """")
  4. What is StateChangeError?
2023-11-15T11:26:30.275732Z DEBUG         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a �[3mstate�[0m�[2m=�[0mMutex { data: StreamState { pipeline_id: fa41ec6c-327f-4f7f-8962-9bd28401d32a, pipeline: V4l(V4lPipeline { state: PipelineState { pipeline_id: fa41ec6c-327f-4f7f-8962-9bd28401d32a, pipeline: Pipeline { inner: TypedObjectRef { inner: 0x2d3f3d8, type: GstPipeline } }, sink_tee: Element { inner: TypedObjectRef { inner: 0x2d3e100, type: GstTee } }, sinks: {cc7ce199-522d-43e6-8095-8a0711deddc4: Rtsp(RtspSink { sink_id: cc7ce199-522d-43e6-8095-8a0711deddc4, queue: Element { inner: TypedObjectRef { inner: 0x2d467c8, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0x2cc6158, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x2d8e848, type: GstPad } }, tee_src_pad: Some(Pad { inner: TypedObjectRef { inner: 0x2d4a478, type: GstTeePad } }), path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }), 00951840-c1e2-4b86-87de-c10283a144f9: Image(ImageSink { sink_id: 00951840-c1e2-4b86-87de-c10283a144f9, pipeline: Pipeline { inner: TypedObjectRef { inner: 0x2d3f560, type: GstPipeline } }, queue: Element { inner: TypedObjectRef { inner: 0x2d47c98, type: GstQueue } }, proxysink: Element { inner: TypedObjectRef { inner: 0x2d54130, type: GstProxySink } }, _proxysrc: Element { inner: TypedObjectRef { inner: 0x2d551a0, type: GstProxySrc } }, _transcoding_elements: [Element { inner: TypedObjectRef { inner: 0x2d58408, type: GstRtpH264Depay } }, Element { inner: TypedObjectRef { inner: 0x2d9da28, type: GstH264Parse } }, Element { inner: TypedObjectRef { inner: 0x2d62440, type: GstIdentity } }, Element { inner: TypedObjectRef { inner: 0x2d9f450, type: avdec_h264 } }, Element { inner: TypedObjectRef { inner: 0x2d88480, type: GstVideoConvert } }], appsink: AppSink { inner: TypedObjectRef { inner: 0x2c8e690, type: GstAppSink } }, tee_src_pad: Some(Pad { inner: TypedObjectRef { inner: 0x2d4a748, type: GstTeePad } }), flat_samples_sender: broadcast::Sender, pad_blocker: Mutex { data: None, poisoned: false, .. }, pipeline_runner: PipelineRunner { pipeline_weak: WeakRef(GWeakRef @ 0x2c7f548 { priv_: GWeakRef_priv @ 0x2c7f548 { p: 0x2d3f560 } }, PhantomData<*mut gstreamer::auto::pipeline::Pipeline>), start: Mutex { data: true, poisoned: false, .. }, watcher_thread_handle: JoinHandle { .. } }, thumbnails: Mutex { data: CachedThumbnails { map: {} }, poisoned: false, .. } })}, pipeline_runner: PipelineRunner { pipeline_weak: WeakRef(GWeakRef @ 0x2c6f720 { priv_: GWeakRef_priv @ 0x2c6f720 { p: 0x2d3f3d8 } }, PhantomData<*mut gstreamer::auto::pipeline::Pipeline>), start: Mutex { data: true, poisoned: false, .. }, watcher_thread_handle: JoinHandle { .. } } } }), video_and_stream_information: VideoAndStreamInformation { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, mavlink_camera: Some(MavlinkCameraHandle { inner: MavlinkCamera { component: MavlinkCameraComponent { system_id: 1, component_id: 101, stream_id: 1, vendor_name: ""H264 USB Camera: USB Camera"", model_name: ""Stream /dev/video2"", firmware_version: 0, resolution_h: 1080, resolution_v: 1920, framerate: 30.0, bitrate: 5000, rotation: 0, hfov: 90, thermal: false }, mavlink_stream_type: VIDEO_STREAM_TYPE_RTSP, video_stream_uri: Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }, video_stream_name: ""Stream /dev/video2"", video_source_type: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, _runtime: Runtime { scheduler: MultiThread(MultiThread), handle: Handle { inner: MultiThread(multi_thread::Handle { ... }) }, blocking_pool: BlockingPool }, heartbeat_handle: JoinHandle { id: Id(226) }, messages_handle: JoinHandle { id: Id(227) } }) }, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a}:try_new{�[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a ... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}: src/stream/pipeline/v4l_pipeline.rs:115: pipeline_description: ""v4l2src device=/dev/video6 do-timestamp=false ! h264parse ! capsfilter name=Filter-fa41ec6c-327f-4f7f-8962-9bd28401d32a caps=video/x-h264,stream-format=avc,alignment=au,width=1920,height=1080,framerate=30/1 ! rtph264pay aggregate-mode=zero-latency config-interval=10 pt=96 ! tee name=SinkTee-fa41ec6c-327f-4f7f-8962-9bd28401d32a allow-not-linked=true""
2023-11-15T11:26:30.280317Z DEBUG         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a �[3mstate�[0m�[2m=�[0mMutex { data: StreamState { pipeline_id: fa41ec6c-327f-4f7f-8962-9bd28401d32a, pipeline: V4l(V4lPipeline { state: PipelineState { pipeline_id: fa41ec6c-327f-4f7f-8962-9bd28401d32a, pipeline: Pipeline { inner: TypedObjectRef { inner: 0x2d3f3d8, type: GstPipeline } }, sink_tee: Element { inner: TypedObjectRef { inner: 0x2d3e100, type: GstTee } }, sinks: {cc7ce199-522d-43e6-8095-8a0711deddc4: Rtsp(RtspSink { sink_id: cc7ce199-522d-43e6-8095-8a0711deddc4, queue: Element { inner: TypedObjectRef { inner: 0x2d467c8, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0x2cc6158, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x2d8e848, type: GstPad } }, tee_src_pad: Some(Pad { inner: TypedObjectRef { inner: 0x2d4a478, type: GstTeePad } }), path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }), 00951840-c1e2-4b86-87de-c10283a144f9: Image(ImageSink { sink_id: 00951840-c1e2-4b86-87de-c10283a144f9, pipeline: Pipeline { inner: TypedObjectRef { inner: 0x2d3f560, type: GstPipeline } }, queue: Element { inner: TypedObjectRef { inner: 0x2d47c98, type: GstQueue } }, proxysink: Element { inner: TypedObjectRef { inner: 0x2d54130, type: GstProxySink } }, _proxysrc: Element { inner: TypedObjectRef { inner: 0x2d551a0, type: GstProxySrc } }, _transcoding_elements: [Element { inner: TypedObjectRef { inner: 0x2d58408, type: GstRtpH264Depay } }, Element { inner: TypedObjectRef { inner: 0x2d9da28, type: GstH264Parse } }, Element { inner: TypedObjectRef { inner: 0x2d62440, type: GstIdentity } }, Element { inner: TypedObjectRef { inner: 0x2d9f450, type: avdec_h264 } }, Element { inner: TypedObjectRef { inner: 0x2d88480, type: GstVideoConvert } }], appsink: AppSink { inner: TypedObjectRef { inner: 0x2c8e690, type: GstAppSink } }, tee_src_pad: Some(Pad { inner: TypedObjectRef { inner: 0x2d4a748, type: GstTeePad } }), flat_samples_sender: broadcast::Sender, pad_blocker: Mutex { data: None, poisoned: false, .. }, pipeline_runner: PipelineRunner { pipeline_weak: WeakRef(GWeakRef @ 0x2c7f548 { priv_: GWeakRef_priv @ 0x2c7f548 { p: 0x2d3f560 } }, PhantomData<*mut gstreamer::auto::pipeline::Pipeline>), start: Mutex { data: true, poisoned: false, .. }, watcher_thread_handle: JoinHandle { .. } }, thumbnails: Mutex { data: CachedThumbnails { map: {} }, poisoned: false, .. } })}, pipeline_runner: PipelineRunner { pipeline_weak: WeakRef(GWeakRef @ 0x2c6f720 { priv_: GWeakRef_priv @ 0x2c6f720 { p: 0x2d3f3d8 } }, PhantomData<*mut gstreamer::auto::pipeline::Pipeline>), start: Mutex { data: true, poisoned: false, .. }, watcher_thread_handle: JoinHandle { .. } } } }), video_and_stream_information: VideoAndStreamInformation { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, mavlink_camera: Some(MavlinkCameraHandle { inner: MavlinkCamera { component: MavlinkCameraComponent { system_id: 1, component_id: 101, stream_id: 1, vendor_name: ""H264 USB Camera: USB Camera"", model_name: ""Stream /dev/video2"", firmware_version: 0, resolution_h: 1080, resolution_v: 1920, framerate: 30.0, bitrate: 5000, rotation: 0, hfov: 90, thermal: false }, mavlink_stream_type: VIDEO_STREAM_TYPE_RTSP, video_stream_uri: Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }, video_stream_name: ""Stream /dev/video2"", video_source_type: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, _runtime: Runtime { scheduler: MultiThread(MultiThread), handle: Handle { inner: MultiThread(multi_thread::Handle { ... }) }, blocking_pool: BlockingPool }, heartbeat_handle: JoinHandle { id: Id(226) }, messages_handle: JoinHandle { id: Id(227) } }) }, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}:try_new{... { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}: src/mavlink/mavlink_camera.rs:106: Starting new MAVLink camera: MavlinkCamera {
    component: MavlinkCameraComponent {
        system_id: 1,
        component_id: 102,
        stream_id: 1,
        vendor_name: ""H264 USB Camera: USB Camera"",
        model_name: ""Stream /dev/video2"",
        firmware_version: 0,
        resolution_h: 1080,
        resolution_v: 1920,
        framerate: 30.0,
        bitrate: 5000,
        rotation: 0,
        hfov: 90,
        thermal: false,
    },
    mavlink_stream_type: VIDEO_STREAM_TYPE_RTSP,
    video_stream_uri: Url {
        scheme: ""rtsp"",
        cannot_be_a_base: false,
        username: """",
        password: None,
        host: Some(
            Domain(
                ""192.168.40.194"",
            ),
        ),
        port: Some(
            8554,
        ),
        path: ""/video_stream__dev_video2"",
        query: None,
        fragment: None,
    },
    video_stream_name: ""Stream /dev/video2"",
    video_source_type: Local(
        VideoSourceLocal {
            name: ""H264 USB Camera: USB Camera"",
            device_path: ""/dev/video6"",
            typ: Usb(
                ""usb-0000:01:00.0-1.3"",
            ),
        },
    ),
}
2023-11-15T11:26:30.282265Z DEBUG         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104 �[3mstate�[0m�[2m=�[0mMutex { data: <locked>, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}: src/video/video_source_local.rs:705: Failed to capture formats for device: /dev/video5
Error: Os { code: 19, kind: Uncategorized, message: ""No such device"" }
2023-11-15T11:26:30.282446Z ERROR         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104 �[3mstate�[0m�[2m=�[0mMutex { data: <locked>, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}: src/video/video_source_local.rs:688: Faield to get device ""/dev/video4"": Os { code: 2, kind: NotFound, message: ""No such file or directory"" }
2023-11-15T11:26:30.283159Z DEBUG         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104 �[3mstate�[0m�[2m=�[0mMutex { data: <locked>, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:try_new{�[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104 ... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}: src/stream/pipeline/v4l_pipeline.rs:115: pipeline_description: ""v4l2src device=/dev/video6 do-timestamp=false ! h264parse ! capsfilter name=Filter-20d67556-f2ec-4eb4-8209-e42d90aa8104 caps=video/x-h264,stream-format=avc,alignment=au,width=1920,height=1080,framerate=30/1 ! rtph264pay aggregate-mode=zero-latency config-interval=10 pt=96 ! tee name=SinkTee-20d67556-f2ec-4eb4-8209-e42d90aa8104 allow-not-linked=true""
2023-11-15T11:26:30.289425Z DEBUG         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104 �[3mstate�[0m�[2m=�[0mMutex { data: <locked>, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }}: src/mavlink/mavlink_camera.rs:106: Starting new MAVLink camera: MavlinkCamera {
    component: MavlinkCameraComponent {
        system_id: 1,
        component_id: 103,
        stream_id: 1,
        vendor_name: ""H264 USB Camera: USB Camera"",
        model_name: ""Stream /dev/video6"",
        firmware_version: 0,
        resolution_h: 1080,
        resolution_v: 1920,
        framerate: 30.0,
        bitrate: 5000,
        rotation: 0,
        hfov: 90,
        thermal: false,
    },
    mavlink_stream_type: VIDEO_STREAM_TYPE_RTSP,
    video_stream_uri: Url {
        scheme: ""rtsp"",
        cannot_be_a_base: false,
        username: """",
        password: None,
        host: Some(
            Domain(
                ""192.168.40.194"",
            ),
        ),
        port: Some(
            8554,
        ),
        path: ""/video_stream__dev_video6"",
        query: None,
        fragment: None,
    },
    video_stream_name: ""Stream /dev/video6"",
    video_source_type: Local(
        VideoSourceLocal {
            name: ""H264 USB Camera: USB Camera"",
            device_path: ""/dev/video6"",
            typ: Usb(
                ""usb-0000:01:00.0-1.3"",
            ),
        },
    ),
}
2023-11-15T11:26:30.289939Z DEBUG                                     MavlinkCamera-4 ThreadId(29) src/mavlink/mavlink_camera.rs:43: Thread started
2023-11-15T11:26:30.291383Z DEBUG                                     MavlinkCamera-5 ThreadId(30) src/mavlink/mavlink_camera.rs:43: Thread started
2023-11-15T11:26:30.291659Z DEBUG                                     MavlinkCamera-7 ThreadId(32) src/mavlink/mavlink_camera.rs:43: Thread started
2023-11-15T11:26:30.292193Z DEBUG                                     MavlinkCamera-6 ThreadId(31) src/mavlink/mavlink_camera.rs:43: Thread started
2023-11-15T11:26:30.309528Z DEBUG         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", ... device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }........ path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }),...VideoAndStreamInformation { name: ""Stream /dev/video2"", ... video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } ...: src/stream/pipeline/mod.rs:151: Got tee's src pad ""src_0""
2023-11-15T11:26:30.312378Z  WARN         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", ... device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }........ path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }),...VideoAndStreamInformation { name: ""Stream /dev/video2"", ... video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } ...:unlink{�[3mpipeline�[0m�[2m=�[0mPipeline { inner: TypedObjectRef { inner: 0x9eb3b9e8, type: GstPipeline } } �[3mpipeline_id�[0m�[2m=�[0mfa41ec6c-327f-4f7f-8962-9bd28401d32a}: src/stream/sink/rtsp_sink.rs:150: Failed removing the RTSP Sink socket file. Reason: Os { code: 2, kind: NotFound, message: ""No such file or directory"" }
2023-11-15T11:26:30.313700Z DEBUG                                     MavlinkCamera-4 ThreadId(29) src/mavlink/mavlink_camera.rs:44: Thread stopped
2023-11-15T11:26:30.317784Z DEBUG         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", ... device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }... }}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:add_sink{�[3msink�[0m�[2m=�[0mRtsp(RtspSink { sink_id: fdb4ada9-15f2-4c96-9c18-d26c63272fc4, queue: Element { inner: TypedObjectRef { inner: 0x9b88a318, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0xb338d5a8, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x9cc0ae28, type: GstPad } }, tee_src_pad: None, path: ""/video_stream__dev_video6"", socket_path: ""/tmp/fdb4ada9-15f2-4c96-9c18-d26c63272fc4"" })}:add_sink{�[3msink�[0m�[2m=�[0mRtsp(RtspSink { sink_id: fdb4ada9-15f2-4c96-9c18-d26c63272fc4, queue: Element { inner: TypedObjectRef { inner: 0x9b88a318, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0xb338d5a8, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x9cc0ae28, type: GstPad } }, tee_src_pad: None, path: ""/video_stream__dev_video6"", socket_path: ""/tmp/fdb4ada9-15f2-4c96-9c18-d26c63272fc4"" })}: src/stream/pipeline/mod.rs:151: Got tee's src pad ""src_0""
2023-11-15T11:26:30.319532Z DEBUG                                     MavlinkCamera-5 ThreadId(30) src/mavlink/mavlink_camera.rs:44: Thread stopped
2023-11-15T11:26:30.320168Z ERROR         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", ... device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }........ path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }),...VideoAndStreamInformation { name: ""Stream /dev/video2"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, mavlink_camera: Some(MavlinkCameraHandle { inner: MavlinkCamera { component: MavlinkCameraComponent { system_id: 1, component_id: 101, stream_id: 1, vendor_name: ""H264 USB Camera: USB Camera"", model_name: ""Stream /dev/video2"", firmware_version: 0, resolution_h: 1080, resolution_v: 1920, framerate: 30.0, bitrate: 5000, rotation: 0, hfov: 90, thermal: false }, mavlink_stream_type: VIDEO_STREAM_TYPE_RTSP, video_stream_uri: Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video2"", query: None, fragment: None }, video_stream_name: ""Stream /dev/video2"", video_source_type: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }, _runtime: Runtime { scheduler: MultiThread(MultiThread), handle: Handle { inner: MultiThread(multi_thread::Handle { ... }) }, blocking_pool: BlockingPool }, heartbeat_handle: JoinHandle { id: Id(226) }, messages_handle: JoinHandle { id: Id(227) } }) }, poisoned: false, .. } �[3mterminated�[0m�[2m=�[0mMutex { data: false, poisoned: false, .. }}: src/stream/mod.rs:169: Failed to recreate the stream fa41ec6c-327f-4f7f-8962-9bd28401d32a: ""Failed to add Sink of type RTSP to the Pipeline. Reason: Failed starting Pipeline fa41ec6c-327f-4f7f-8962-9bd28401d32a. Reason: StateChangeError"". Trying again in one second...
2023-11-15T11:26:30.329624Z  WARN         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", ... device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }... }}:try_new{... { name: ""Stream /dev/video6"", stream_information: StreamInformation { endpoints: [Url { scheme: ""rtsp"", cannot_be_a_base: false, username: """", password: None, host: Some(Domain(""192.168.40.194"")), port: Some(8554), path: ""/video_stream__dev_video6"", query: None, fragment: None }], configuration: Video(VideoCaptureConfiguration { encode: H264, height: 1080, width: 1920, frame_interval: FrameInterval { numerator: 1, denominator: 30 } }), extended_configuration: Some(ExtendedConfiguration { thermal: false, disable_mavlink: false }) }, video_source: Local(VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}:add_sink{�[3msink�[0m�[2m=�[0mRtsp(RtspSink { sink_id: fdb4ada9-15f2-4c96-9c18-d26c63272fc4, queue: Element { inner: TypedObjectRef { inner: 0x9b88a318, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0xb338d5a8, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x9cc0ae28, type: GstPad } }, tee_src_pad: None, path: ""/video_stream__dev_video6"", socket_path: ""/tmp/fdb4ada9-15f2-4c96-9c18-d26c63272fc4"" })}:add_sink{�[3msink�[0m�[2m=�[0mRtsp(RtspSink { sink_id: fdb4ada9-15f2-4c96-9c18-d26c63272fc4, queue: Element { inner: TypedObjectRef { inner: 0x9b88a318, type: GstQueue } }, sink: Element { inner: TypedObjectRef { inner: 0xb338d5a8, type: GstShmSink } }, sink_sink_pad: Pad { inner: TypedObjectRef { inner: 0x9cc0ae28, type: GstPad } }, tee_src_pad: None, path: ""/video_stream__dev_video6"", socket_path: ""/tmp/fdb4ada9-15f2-4c96-9c18-d26c63272fc4"" })}:unlink{�[3mpipeline�[0m�[2m=�[0mPipeline { inner: TypedObjectRef { inner: 0x9cc0e0c0, type: GstPipeline } } �[3mpipeline_id�[0m�[2m=�[0m20d67556-f2ec-4eb4-8209-e42d90aa8104}: src/stream/sink/rtsp_sink.rs:150: Failed removing the RTSP Sink socket file. Reason: Os { code: 2, kind: NotFound, message: ""No such file or directory"" }
2023-11-15T11:26:30.330792Z DEBUG                                     MavlinkCamera-6 ThreadId(31) src/mavlink/mavlink_camera.rs:44: Thread stopped
2023-11-15T11:26:30.330767Z DEBUG                                     MavlinkCamera-7 ThreadId(32) src/mavlink/mavlink_camera.rs:44: Thread stopped
2023-11-15T11:26:30.331185Z ERROR         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", ... device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }... }}: src/stream/mod.rs:169: Failed to recreate the stream 20d67556-f2ec-4eb4-8209-e42d90aa8104: ""Failed to add Sink of type RTSP to the Pipeline. Reason: Failed starting Pipeline 20d67556-f2ec-4eb4-8209-e42d90aa8104. Reason: StateChangeError"". Trying again in one second...
2023-11-15T11:26:30.379311Z ERROR PipelineRunner-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(27) runner{�... src/stream/pipeline/runner.rs:152: Error from Some(""/GstPipeline:pipeline2/GstV4l2Src:v4l2src2""): Cannot identify device '/dev/video6'. (Some(""../subprojects/gst-plugins-good/sys/v4l2/v4l2_calls.c(608): gst_v4l2_open (): /GstPipeline:pipeline2/GstV4l2Src:v4l2src2:\nsystem error: No such file or directory""))
2023-11-15T11:26:30.412711Z ERROR PipelineRunner-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(28) runner{�... src/stream/pipeline/runner.rs:152: Error from Some(""/GstPipeline:pipeline3/GstV4l2Src:v4l2src3""): Cannot identify device '/dev/video6'. (Some(""../subprojects/gst-plugins-good/sys/v4l2/v4l2_calls.c(608): gst_v4l2_open (): /GstPipeline:pipeline3/GstV4l2Src:v4l2src3:\nsystem error: No such file or directory""))
2023-11-15T11:26:30.480761Z DEBUG PipelineRunner-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(27) runner{�... src/stream/pipeline/runner.rs:144: Received EndOfStream: Eos { structure: None, source: None }
2023-11-15T11:26:30.481387Z  INFO PipelineRunner-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(27) src/stream/pipeline/runner.rs:42: PipelineWatcher ended normally.
2023-11-15T11:26:30.513833Z ERROR PipelineRunner-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(28) runner{�... src/stream/pipeline/runner.rs:152: Error from Some(""/GstShmSink:shmsink3""): Failed waiting on fd activity (Some(""../subprojects/gst-plugins-bad/sys/shm/gstshmsink.c(842): pollthread_func (): /GstPipeline:pipeline3/GstShmSink:shmsink3:\ngst_poll_wait returned -1, errno: 16""))
2023-11-15T11:26:30.614394Z DEBUG PipelineRunner-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(28) runner{�... src/stream/pipeline/runner.rs:144: Received EndOfStream: Eos { structure: None, source: None }
2023-11-15T11:26:30.616608Z  INFO PipelineRunner-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(28) src/stream/pipeline/runner.rs:42: PipelineWatcher ended normally.
2023-11-15T11:26:31.430297Z  WARN         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", ... device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }........ path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }),...VideoAndStreamInformation { name: ""Stream /dev/video2"", ...: src/stream/manager.rs:189: Device VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: """", typ: Usb(""usb-0000:01:00.0-1.3"") } was invalidated. Reason: Device not found
2023-11-15T11:26:31.444205Z  WARN         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", ... device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }... }}:...: src/stream/manager.rs:189: Device VideoSourceLocal { name: ""H264 USB Camera: USB Camera"", device_path: """", typ: Usb(""usb-0000:01:00.0-1.3"") } was invalidated. Reason: Device not found
2023-11-15T11:26:31.457850Z  WARN         Stream-20d67556-f2ec-4eb4-8209-e42d90aa8104 ThreadId(12) watcher{... { name: ""Stream /dev/video6"", ... device_path: ""/dev/video6"", typ: Usb(""usb-0000:01:00.0-1.3"") }) }... }}: src/stream/mod.rs:146: Failed to recreate the stream 20d67556-f2ec-4eb4-8209-e42d90aa8104: Custom { kind: NotFound, error: ""The source string '' does not exist, the available options are: [\""/dev/video15\"", \""/dev/video14\"", \""ball\"", \""Redirect\""]."" }. Is the device connected? Trying again each second until the success or stream is removed. Next report in 1s to reduce log size.
2023-11-15T11:26:31.464397Z  WARN         Stream-fa41ec6c-327f-4f7f-8962-9bd28401d32a ThreadId(17) watcher{... { name: ""Stream /dev/video2"", ... device_path: ""/dev/video2"", typ: Usb(""usb-0000:01:00.0-1.1"") }) }........ path: ""/video_stream__dev_video2"", socket_path: ""/tmp/cc7ce199-522d-43e6-8095-8a0711deddc4"" }),...VideoAndStreamInformation { name: ""Stream /dev/video2"", ...: src/stream/mod.rs:146: Failed to recreate the stream fa41ec6c-327f-4f7f-8962-9bd28401d32a: Custom { kind: NotFound, error: ""The source string '' does not exist, the available options are: [\""/dev/video15\"", \""/dev/video14\"", \""ball\"", \""Redirect\""]."" }. Is the device connected? Trying again each second until the success or stream is removed. Next report in 1s to reduce log size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant