Page 1 of 1

is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 27 Mar 2018 16:13
by svyatk0
Hey guys,

Trying to receive an SRT (Secure Reliable Transport) stream from the network following the examples in this article (https://justinjoy9to5.blogspot.co.uk/20 ... mples.html)
But SRT access module mentioned, seem to be missing in version 3.0 or even nighly 3.0.2.

Was this feature removed? Can it be reenabled ?

Thanks

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 31 Mar 2018 18:26
by Rémi Denis-Courmont
OpenSRT is available in VLC 3.0 for all platforms except Windows. The blog article seems to be written on Linux. Windows support should come in VLC 4.0.

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 06 Feb 2019 01:14
by postSysAdmin
Did you figure out a solution - I am able to open SRT streams in version 3.0.6 on a Mac by going to
File > Open Network
and then pasting in my server's address like so:
srt://NNN.NNN.NNN.NNN:PPPP
where the N's are the IP address and the P's are the port number.
If its an encrypted SRT stream, you have to add the password by going to
VLC> Preferences
hit "Show All" and navigate to
input/codecs > access modules > SRT
and put your password where it says "password for stream encryption"

Also, I can open the stream via the terminal like this on a Mac:
/Applications/VLC.app/Contents/MacOS/VLC srt://NNN.NNN.NNN.NNN:PPPP
and if it is an encrypted stream, like this:
/Applications/VLC.app/Contents/MacOS/VLC srt://NNN.NNN.NNN.NNN:PPPP --passphrase=yourPasswordHere --keylength=16

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 02 May 2019 22:27
by fsantiago0704482
i'm looking for an answer to this myself. if you look around vlc 3.0.6 and 4.0 nightly as of today (5/2), the components seem to be there for SRT but it doesn't seem to work (unless i'm fubar'ing it). I have tried windows 10 pro and ubuntu linux 19.04. this with the srt stream coming from a matrox maevex 6150 HDMI encoder with current firmware. as per the matrox unit, i have SRT enabled on a MPEG-2 TS unicast stream, AES-128 encryption with a 16-bit key length / passphrase. have also tried SRT un-encrypted but no joy. if i turn off SRT, i can connect to the MPEG-2 TS stream from both versions of VLC on both OS' no sweat.

anyone?

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 03 May 2019 08:22
by postSysAdmin
fsantiago0704482 - do you mind posting the command used in win10 and also the one used in linux?

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 06 May 2019 19:52
by fsantiago0704482
oh, no commands on cli, but rather thru the GUI. the mpeg-2 ts, NON-srt stream that works was connected to using:

udp://@<ip address>:<port>

this with the maevex device's unicast stream address pointed at my target machine running VLC. same in this case between both win 10 and linux.

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 23 May 2019 21:53
by fsantiago0704482
as an update to this, i am able to also view srt UN-encrypted video by using the network stream address (in VLC):

srt://@<ip>:<port>

also with the matrox maevex 6150's target address set to that of my playback device. and the IP specified above is that of my playback device (so on my machine it is of itself). this is true in both windows 10 pro and ubuntu 19.04 (w/ vlc 3.0.6 via snap install on my linux box).

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 28 May 2019 11:58
by wanggenjie
I output SRT using the ffmpeg command in ubuntu,
srt://127.0.0.1:12321?mode=listener

i input srt://@127.0.0.1:12321 in VLC(version 3.0.6),
tips:
Your input can't be opened:
VLC is unable to open the MRL 'srt://@127.0.0.1:12321'. Check the log for details.

Does anybody know what the problem is?

Please forgive me for my poor English.

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 30 May 2019 03:46
by wanggenjie
I output SRT using the ffmpeg command in ubuntu,
srt://127.0.0.1:12321?mode=listener

i input srt://@127.0.0.1:12321 in VLC(version 3.0.6),
tips:
Your input can't be opened:
VLC is unable to open the MRL 'srt://@127.0.0.1:12321'. Check the log for details.

Does anybody know what the problem is?

Please forgive me for my poor English.

I know the reason. The VLC (3.0.6) version under Linux does not support SRT output, so input error will be prompted.
VLC (3.0.6) version of Windows is ok. :D

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 28 Apr 2022 11:16
by rullbandspelare
srt://NNN.NNN.NNN.NNN:PPPP --passphrase=yourPasswordHere --keylength=16
gives me :
VLC media player could not start.
Either the command line options were invalid or no plugins were found.

I have windows VLC version 3.0.10 and listener is using AES-128 (have tried --keylength=128)

If i remove encryption on the listener then
srt://NNN.NNN.NNN.NNN:PPPP
works.

How can i check what options and plugins are used for srt:// on my build??

Thanks for any suggestion :-)
Did you figure out a solution - I am able to open SRT streams in version 3.0.6 on a Mac by going to
File > Open Network
and then pasting in my server's address like so:
srt://NNN.NNN.NNN.NNN:PPPP
where the N's are the IP address and the P's are the port number.
If its an encrypted SRT stream, you have to add the password by going to
VLC> Preferences
hit "Show All" and navigate to
input/codecs > access modules > SRT
and put your password where it says "password for stream encryption"

Also, I can open the stream via the terminal like this on a Mac:
/Applications/VLC.app/Contents/MacOS/VLC srt://NNN.NNN.NNN.NNN:PPPP
and if it is an encrypted stream, like this:
/Applications/VLC.app/Contents/MacOS/VLC srt://NNN.NNN.NNN.NNN:PPPP --passphrase=yourPasswordHere --keylength=16

Re: is SRT Streaming actually enabled in VLC 3.0 ?

Posted: 28 Apr 2022 11:24
by rullbandspelare
PS.

I removed "--keylength=16" then it works!!!!

just use srt://NNN.NNN.NNN.NNN:PPPP --passphrase=yourPasswordHere
(AES-128 works, AES-256 does not)