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

Enhancement request - MPEG-TS output via UDP for mediamtx #199

Open
MittaAxt opened this issue Apr 28, 2023 · 1 comment
Open

Enhancement request - MPEG-TS output via UDP for mediamtx #199

MittaAxt opened this issue Apr 28, 2023 · 1 comment

Comments

@MittaAxt
Copy link

Hi

I would like to know if it would be possible to add UDP MPEG-TS output for the video/audio stream, which could be sent via TCP already.
I'm looking to reduce the overall load on the pi, by trying to get rid of all "publishing" services, like node-rtsp-rtmp and just sending the stream to another host, where it could be restreamed either viat rtsp or directly into webrtc like with https://github.com/aler9/mediamtx (previously known as rtsp-simple-server). unfortunately the mediamtx does not accept TCP MPEG-TS streams as it seems.

If there is any other option to reduce the load/keep up high framerates on a Pi3+ or PiZero and to publish the stream via rtsp, I'm also happy to hear about that.

@iizukanao
Copy link
Owner

Actually, it is possible to use UDP with the --tcpout option. Sorry the option name is confusing.
For example: picam --tcpout udp://192.168.1.2:8181

There is a trade-off between frame rate and resolution. If you want to increase the frame rate, you have to decrease the width and height of the video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants