Avatar of g0all
Flag for Saint Pierre and Miquelon asked on

Find out link/IP address on streaming media websites for playing inside VLC player?


I'd like to use VLC for playing specific links normally played in browser.
Is there a way to find out link/IP?

Example: http://www.digisport.ro/Pages/TV/DigiSport+2

Thank you!
MultiMedia ApplicationsWindows OSSoftware

Avatar of undefined
Last Comment

8/22/2022 - Mon

The easiest thing would be to open a command prompt and ping the domain name digisport.ro and that should get you its IP.  However if they are redirecting or showing content from some other source this won't help you much.

Tried that, but VLC is not loading the video

In looking at that particular link, it looks like the IP is embedded in the player, and they do some sort of IP checking, since it would not play the video for me (saying host not allowed).  The next way to get it would be to use a tool like wireshark to see what IP your computer is communicating with while playing the video.  Its a pretty advanced tool but it should do the trick.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

RaithZ - they check source IP - to be part of a specific IP range.

Please find attached wireshark output. I've closed all connections and let streaming browser to play, so that must be the IP: port 54837

However, I've pasted inside VLC and cannot play stream...stream

I agree that it looks like that would be the correct IP and port.

IF you want, Do a wireshark capture of what happens when you put the IP in PVC and try to play the video.  Look at the contents of the packets, there may be messages indicating an error of some sort.
I'm guessing they do more than just stream it, and that the player on the web page does the authentication (whatever that may be) which isn't happening when you use VLC.  

If that's the case, I don't think you will be able to use VLC because of the extra steps they take to check IP and do some sort of authentication before playing the video.

Will do. However, I'm sure they're not doing any type of authentication (by user + password, for example). They only check source IP to be in desired subnets.

I've followed tcp stream and I can see nothing, it seems encrypted somehow.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

I agree that they don't require a user/pass but when the player loads it shows a message along the lines of "Authenticating..." before it loads the video.  IT could be that its checking my IP against whatever range it allows during that step.

It looks like they are using a player called "jwplayer" which is loaded with this code on their webpage:

  <!-- javascript -->
    <script src="/classes/OneDB/components/jwplayer/jwplayer.js"></script>
    <script type="text/javascript" src="/js/jwplayer.key.js"></script>
    <script type="text/javascript" src="js/console.js?v=2"></script>
    <script type="text/javascript" src="js/mobile_redirect.js?v=2"></script>
    <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/onedb/frontend.js?v=1.4.1"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
    <script type="text/javascript" src="http://assets.rcs-rds.ro/onedb/js/json.js"></script>
    <script type="text/javascript" src="http://assets.rcs-rds.ro/onedb/js/onedb.js"></script>

Open in new window

If you look at the player script itself it does encrypt and decrypt the content it seems, probably using the key located in the /js/jwplayer.key.js file.  

Not sure if that could be worked around or not as I'm not 100% with the capabilities of VLC.


Content of the file is:

jwplayer.key = "DVXMwrorMiUdaY+6WMqog6a0dENP6LvDcnan01x8vt0=";e

I'm not sure you can browse this: http://www.digisport.ro/js/

Do you have any idea of a player that could play that?

On Android for example I use MX Player. When I browse that page, it automatically pop-ups MX Player and plays video inside MX Player.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you very much for your effort.