-
Notifications
You must be signed in to change notification settings - Fork 38
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
Not compatiable with SRT < 1.3.0 (Support HSv4) #146
Comments
vlc.mp4Can't seem to repro on Could this be an issue with the srt version that VLC is finding? I'm using VLC on arch, and I notice ti's an optional dep so I assume it's using my system version which is 1.4.4. |
Well looking at my video there is a whole slew of "packet dropped" messages but idk if these are because it's not valid video data or not... |
If you're interested, it would be great to have an example that actually streams a .ts file--we already have ac-ffmpeg as an optional dependency for examples, I'll code one up sometime or you could, it should be relatively straightforward |
srt-vlc-480p.movhere is my fork:
|
I think VLC must bundle an ancient SRT version. it seems that you're on macOS, and I'm not sure what version it is. Could you find out? On my linux box I can see by $ ldd /usr/lib/vlc/plugins/access/libaccess_srt_plugin.so
...
libsrt.so.1.4 => /usr/lib/libsrt.so.1.4 (0x00007f8624715000)
... |
/Applications/VLC.app/Contents//MacOS/plugins/libtospdif_plugin.dylib |
Test on windows with VLC 3.0.16 and got the same log " WARN srt_tokio::pending_connection > UnsupportedProtocolVersion(4) " |
@russelltg Hi russelltg, Is it possible that srt-rs support ProtocolVersion(4) ? :) |
Ceetainally not a high up feature on my list. You're welcome to implement it if you want, but in general compatibility with very old srt versions is not a huge priority. It seems that hsv5 was introduced in srt 1.3, which has been out for some 4 years now..... Your best bet is recompiling VLC with a newer version, or convert the srt stream to a local Udp one with srt-live-transmit from the reference implementation or srt-transmit from srt-rs. |
Closing for now. |
VLC 3.0.16 is already the newest version ... |
Yes but VLC internally uses Haivision's srt implementation to support playing srt streams. Whoever builds VLC integrates a very old version. |
After downloading the newest VLC binary for windows instead of building from source code, I got the same issue. |
After looking a bit more, only VLC 4.x bundles a new enough libsrt: Try the 4.x dev binaries here https://nightlies.videolan.org/ |
Going to reopen this as it seems like it may be a useful feature at some point. |
yes,the 4.x binary for windows works without issue |
addition info:
The text was updated successfully, but these errors were encountered: