-
Notifications
You must be signed in to change notification settings - Fork 860
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
transfer quality about SRT #1129
Comments
One helpful piece of troubleshooting is to see what is going with on VLC's end. You can select I've also found it helpful when troubleshooting to turn the verbosity of srt-live-transmit's stats up, I usually use |
It's really helpful for me to turn on VLC debug option. I should analyse the error messages carefully. Thanks for your instructions. |
I am having similar issues. I think the problem is that there are continuity issues in the MPEG-TS stream. Testing with a similar setup (both ffmpeg and srt-live-transmit on the same Windows 10 system), I don't see any lost or dropped packets in srt's stats, but VLC shows a ton of messages like this:
and piping it through tsduck and using the continuity tool, there is a constant string of missing packets:
I did have some success in getting a better quality stream by fiddling with ffmpeg's encoder settings; some settings produce mostly watchable video with glitches only every few seconds, and others are essentially blank video (though the audio track seems less problematic). I'm not sure if this is an ffmpeg problem or just masking over a problem somewhere else. I am aware that ffmpeg is not amazing at doing MPEG-TS, and doing just UDP to UDP with tsduck does show some continuity issues, but far less than using srt. |
Actually, testing further, I don't see this problem using ffmpeg with libsrt support instead of srt-live-transmit, so this is perhaps just #933 (though I see it at bitrates below 8M). |
Thanks a lot. Maybe using FFMpeg with libsrt is good choice worth to try. The version I use now is a static version without libsrt support. I need to google to look for some articles for how build it. Actually, I have tried all these configurations in Ubuntu14.04 LTS and Ubuntu18.04 LTS in VMWare. Configurations were completed successfully, but it doesn't work. There is no any video or audio I can get in the receiver. Instread, I deploy in Windows 7 system. The voice is retrieved finally. By the way, it is so tedious to compile in Windows. |
A short guide on FFMpeg + srt: link |
Wow, that's a good instruction. Thank you very much. A short guide is more easy to understand for a newbie. |
SRT can be built on Windows using vcpkg manager. Vcpkg builds the dependencies (pthreads and OpenSSL) without the need to manually configure everything. |
Sorry, I don't look up my email yesterday later. Thanks to remind me of this important infomation. Using vcpkg is really a better choice to a Windows user. After building SRT, I should learn about some related concepts and set parameters carefully to improve the video effect. |
Hello @whu-ysw I'm working through some old tickets, which are still left open. Did you manage to build it? Do you still experience any issues? Or can we close this ticket? best regards, |
My problem has been solved already, you can close this ticker now. Thanks. |
I'm the new to srt, and set up whole environment in Windows 7 by documents. However, the video quality can't satisfy common use in daily life. The VLC srceen is blurred as following picture shows. Maybe I should do something to improve video quality. Could someone help me? Thanks in advance.
Following code is my configuration:
FFmpeg configuration:
ffmpeg -r 30 -re -i test.mp4 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -profile:v baseline -preset ultrafast -f mpegts "udp://127.0.0.1:5000?pkt_size=1316"
srt configuration:
srt-live-transmit.exe udp://5000 srt://:9000
The text was updated successfully, but these errors were encountered: