-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Low quality video streaming #1570
Comments
I noticed that it takes some time for the frame size to gradually increase, from 640x360 to 960x540 to 1280x720 to 1920x1080. I know that WebRTC adjusts the frame size adaptively based on network speed. Is there any way to fix it at 1920x1080 from the beginning? |
I also encountered this problem. 1920x1080 video streaming quality is poor. Is your problem solved? |
@ccl-private It seems that manual adjustments in the package are not possible... The author mentioned it here. |
I can understand it, but the difference in image clarity between local playback and webrtc playback is too big. |
OK, I tried https://github.com/aiortc/aiortc/tree/main/examples/webcam. Also Low quality for l080p. |
I have the same question |
@tunahsu @achaosss @whitphx Hei guys, I found an article that may help.https://www.freelancer.com/contest/aiortc-example-with-hardware-accelerated-codec-2035986, but it’s a bit difficult to solve it with my own ability. |
I can call hardware decoding directly with ffmpeg to extract the RTSP stream to the frame variable in real time, but I don't know how to pass it to streamlit to display it on the interface |
Hello everyone, I simply wrote a project to pull 2560*1440 streams in real time and display them on streamlit web. https://github.com/ccl-private/streamlit_rtsp/tree/main |
Why is the video streaming quality poor even though I've set the resolution to the highest resolution of the webcam in the media_stream_constraints? The quality is still worse than directly opening the camera using Windows.
Here is my code:
The text was updated successfully, but these errors were encountered: