Skip to content

Issue with RTMP input #154

@arunbpf

Description

@arunbpf

I am trying to use RTMP input with Pipeless. I am able to play the RTMP input stream on VLC and ffplay. But facing error in Pipeless.

pipeless add stream --input-uri "rtmp://x.x.x.x:1935/live/test" --output-uri "file:///app/rtmp_out.mp4" --frame-path "yolo"
[2024-08-19T11:59:14Z INFO  pipeless_ai::config::adapters::rest] REST adapter running
[2024-08-19T11:59:14Z INFO  warp::server] Server::run; addr=0.0.0.0:3030
[2024-08-19T11:59:14Z INFO  warp::server] listening on http://0.0.0.0:3030
[2024-08-19T12:01:51Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-08-19T12:01:51Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-08-19T12:01:51Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element rtmp2src0.
                    Pipeline id: 82091e35-69b8-43f8-bfe4-92f5b7ed62eb. Error: Failed to connect
[2024-08-19T12:01:51Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 82091e35-69b8-43f8-bfe4-92f5b7ed62eb due to input stream error: Failed to connect
[2024-08-19T12:01:51Z INFO  pipeless_ai::events] Stream loop stopped
[2024-08-19T12:01:51Z WARN  pipeless_ai::events] Error sending input stream error event: channel closed
[2024-08-19T12:01:51Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element flvdemux0.
                    Pipeline id: 82091e35-69b8-43f8-bfe4-92f5b7ed62eb. Error: Internal data stream error.
[2024-08-19T12:01:51Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline

Any idea why this might happen ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions