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

Remove FFmpeg buffer because have problems with MJPEG #378

Closed
teymur1988 opened this issue Apr 21, 2023 · 3 comments
Closed

Remove FFmpeg buffer because have problems with MJPEG #378

teymur1988 opened this issue Apr 21, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@teymur1988
Copy link

Hi there,

I've got the following config:

streams:
  doorbell_sub:
    - rtsp://admin:password@doorbellcamera.asus/cam/realmonitor?channel=1&subtype=1
    - ffmpeg:doorbell_sub#audio=opus
    - ffmpeg:doorbell_sub#video=mjpeg

When I'm trying to play the mjpeg video with this link http://10.10.10.29:1984/api/stream.mjpeg?src=doorbell_sub VLC gives an error. Logs are attached. Could you please help?

Thanks
go2rtc-logs-mjpeg.txt

@AlexxIT AlexxIT added the bug Something isn't working label Apr 24, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 24, 2023

You can try fast fix:

ffmpeg:
  output: "-user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"

@teymur1988
Copy link
Author

Hi Alexx,

Thanks. It worked.

Will this line cause any trouble when the bug is fixed in the future release?

@AlexxIT AlexxIT changed the title Can't open MJPEG stream Remove FFmpeg buffer because have problems with MJPEG May 4, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented May 4, 2023

@AlexxIT AlexxIT closed this as completed May 4, 2023
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

2 participants