Skip to content

Streaming error USB camera #14

@UshnaGul

Description

@UshnaGul

I have a usb camera that isn't directly identified as a camera by the pi but it streams on /dev/video0. I updated the command to the following:
ffmpeg -f v4l2 -framerate ${fps} -video_size ${config.video.width}x${config.video.height} -i /dev/video0 -c:v libx264 -preset ultrafast -b:v ${bitrate} -tune zerolatency -pix_fmt yuv420p -f mpegts udp://${config.host}:${config.port_udp}

I am able to test it using the ffplay command but I am not able to see the video feed on the website. The data is being transmitted and i can see the fps and bitrate in the corner of the screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions