I'm in the middle of this project and need to be able to start MX player with varying TV feeds from HTML.
I'm using the Surefox browser, which has a javascript api allowing app launching. I am able to launch the MX Player with the following javascript:
window.surefox.launch('com.mxtech.videoplayer.ad'), but I need to be able to tell the launch activity that the video stream I want it to start is
Video feed address is 172.23.10.253:9981/stream/channelid/41?ticket=40FDCFBF0031EEAAF41F3A69A4BABEB3223A902C&mux=matroska&transcode=1&resolution=288&acodec=AAC&vcodec=H264&scodec=NONE
If I simply redirect to this URL, it attempts to download the stream. I'm assuming it is not recognising that it is a video feed.
Any suggestions would be appreciated.
Millsy
[email protected] said:
I'm in the middle of this project and need to be able to start MX player with varying TV feeds from HTML.
I'm using the Surefox browser, which has a javascript api allowing app launching. I am able to launch the MX Player with the following javascript:
window.surefox.launch('com.mxtech.videoplayer.ad'), but I need to be able to tell the launch activity that the video stream I want it to start is
Video feed address is 172.23.10.253:9981/stream/channelid/41?ticket=40FDCFBF0031EEAAF41F3A69A4BABEB3223A902C&mux=matroska&transcode=1&resolution=288&acodec=AAC&vcodec=H264&scodec=NONE
If I simply redirect to this URL, it attempts to download the stream. I'm assuming it is not recognising that it is a video feed.
Any suggestions would be appreciated.
Millsy
Click to expand...
Click to collapse
I am also in need of a solution. Have you found a option?
TheAllen said:
I am also in need of a solution. Have you found a option?
Click to expand...
Click to collapse
Kindly refer http://mx.j2inter.com/api for complete information about the same. If you are having any difficulties, kindly let us know. We will be happy to assist you.
Hi,
I am trying to view live videos from MoneyControl android app on LENOVO Tab 2 A10-70. It throws an error to install Mx player. However, even after installing Mx player it does not work and throws the same error.
Do I have to install additional codec or get paid version of it?
Thanks.
mrkapasi said:
Hi,
I am trying to view live videos from MoneyControl android app on LENOVO Tab 2 A10-70. It throws an error to install Mx player. However, even after installing Mx player it does not work and throws the same error.
Do I have to install additional codec or get paid version of it?
Thanks.
Click to expand...
Click to collapse
This sounds like more of a question for the developers of "MoneyControl" if they are failing to detect MX Player's presence.
CDB-Man said:
This sounds like more of a question for the developers of "MoneyControl" if they are failing to detect MX Player's presence.
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
I am not able to view live video though Google Chrome. using the same tablet I believe it internally uses MX player - please correct me if I'm wrong.
Live video sites:
moneycontro llive (please google search - it does not allow me to post link)
ndtv live (please google search - it does not allow me to post link)
It looks like Mx player is not installed correctly on the tablet.
Do you know how to fix this issue?
Thanks
Does MX Playe work if you try to launch it by itself? If MX Player is able to launch itself as a standalone app, then the problem likely isn't with MX Player. Again, you should also go ask MoneyControl to see if they can help as well.
P.S. you can still post links if you remove the URL tags around them.
Hi. I use MX Player on my Sony TV (android).
I want to play videos from my NAS, but I can not make it work.
I have entered the server name (/Johansen) and I have tried with the IP address (192.168.1.106), but I only get an error.
Perhaps the problem is User-id and PW for my NAS.
I will be happy with suggestions for solutions.
jjdk said:
Hi. I use MX Player on my Sony TV (android).
I want to play videos from my NAS, but I can not make it work.
I have entered the server name (/Johansen) and I have tried with the IP address (192.168.1.106), but I only get an error.
Perhaps the problem is User-id and PW for my NAS.
I will be happy with suggestions for solutions.
Click to expand...
Click to collapse
Currently, MX Player can't list the videos stored in the NAS.
If it supports file listing just use a browser or use a NAS client to open the files.
If your android tv is rooted, you can simply mount the nas server as a local drive by command lines or use some apps like CifsManager to mount it. Then MX Player can read it as a normal directory.
VLC can play from samba shares as well as switch audio streams and subtitles. It's available in the androidtv play market.
ccpizz said:
VLC can play from samba shares as well as switch audio streams and subtitles. It's available in the androidtv play market.
Click to expand...
Click to collapse
Ya but I already own mx player pro and like it better.. is there any way to use this app to stream from all my favorite sites and subscription serveces
Edit Server
Name : Anything
Server : smb://HostName (example : smb://mypcname)
Path : Movie (Only the name of shared folder name)
Uncheck Anonymously
Domain : nothing
Name : Your-PC-User-Account-Name
Password : The-Password
redw4rrior said:
Edit Server
Name : Anything
Server : smb://HostName (example : smb://mypcname)
Path : Movie (Only the name of shared folder name)
Uncheck Anonymously
Domain : nothing
Name : Your-PC-User-Account-Name
Password : The-Password
Click to expand...
Click to collapse
This answer, which you're adding to every single comment where this issue is mentioned, doesn't work.
Any chance of getting cdn-FastServer streams to work in mx player
They work fine in vlc & yesplayer
When playing a video from a cdn-FastServer on my phone mx player can play it but on the firestick it just eventually comes up with unable to play video
However vlc player (and others such as yes player) can play the stream on the firestick without issue
See below post for logs/error report
Any reason why mx player won't play videos from cdn-FastServer
They play perfectly fine with vlc
TheFixItMan said:
Any chance of getting cdn-FastServer streams to work in mx player
They work fine in vlc & yesplayer
Click to expand...
Click to collapse
Could you please explain the issues in detail? It will be great if you can collect a bug report from MX Player help menu immediately after the issue.
NB: Kindly post the issues in a separate thread. Otherwise, It will be very difficult to track us.
Thirumalai.K said:
Could you please explain the issues in detail? It will be great if you can collect a bug report from MX Player help menu immediately after the issue.
NB: Kindly post the issues in a separate thread. Otherwise, It will be very difficult to track us.
Click to expand...
Click to collapse
Here are the error logs (in attachment)
If I play a video that is hosted on a cdn-FastServer on my phone in mx player it plays fine but on my firestick the buffer circle just spins and eventually says cannot play this video
However if I open the same video stream in vlc on my firestick it plays fine meaning its not a firestick limitation but a problem with mx player playing these streams on a firestick
TheFixItMan said:
Here are the error logs (in attachment)
If I play a video that is hosted on a cdn-FastServer on my phone in mx player it plays fine but on my firestick the buffer circle just spins and eventually says cannot play this video
However if I open the same video stream in vlc on my firestick it plays fine meaning its not a firestick limitation but a problem with mx player playing these streams on a firestick
Click to expand...
Click to collapse
It's strange. According to the logs, HW Decoder which is based on the android mediaplayer API implementation in your firmware has failed to play with unknown error. And FFMpeg has returned with 404 (File not found). Both are completely independent. Need to check whether there is something that is intercepting or blocking the connection of MX Player.
Thirumalai.K said:
It's strange. According to the logs, HW Decoder which is based on the android mediaplayer API implementation in your firmware has failed to play with unknown error. And FFMpeg has returned with 404 (File not found). Both are completely independent. Need to check whether there is something that is intercepting or blocking the connection of MX Player.
Click to expand...
Click to collapse
Any suggestions because like I said - the video plays fine in other players so it's not my Internet connection or anything on the firestick blocking it
MX player can play all other streams except from cdn-FastServer on the firestick
MX player can play cdn-FastServer streams on my phone
So there's something that mx player does differently on the firestick compared to my phone
The firestick is android 5 and my phone is android 7 both using the custom codec
So unless there are missing codecs that are native to android 7 & not 5 or just missing from the firestick I don't know what the difference is
TheFixItMan said:
Any suggestions because like I said - the video plays fine in other players so it's not my Internet connection or anything on the firestick blocking it
MX player can play all other streams except from cdn-FastServer on the firestick
MX player can play cdn-FastServer streams on my phone
So there's something that mx player does differently on the firestick compared to my phone
The firestick is android 5 and my phone is android 7 both using the custom codec
So unless there are missing codecs that are native to android 7 & not 5 or just missing from the firestick I don't know what the difference is
Click to expand...
Click to collapse
are your Mobile and Firestick on the same network?
can you change the MX Player user agent (Check general Settings) to something like your mobile & check again?
FFmpeg should work as long as you are using the right version for your CPU architecture. If your CPU architecture is different, MX Player itself will show the error.
The logs from FFmpeg was clear that it has received 404. But, we couldn't reproduce it any of our devices. We have even directly tried FFmpeg command line version on desktops. It also works. Even if it's an FFmpeg fault, It will affect only HW+ & SW decoders. HW decoder is independent. As we said earlier, it's just a wrapper of android mediaplayer API implementation on your device. So, MX Player does not have many controls. But, It is also having the issues.
It is the clear indication that there is something that is preventing MX from connecting to the CDN. If it possible, can you use any debugging proxies & check the connection logs of yours firestick? In our tests, it receives 302 (Moved Temporarily along with the new URL) and then it connects to redirected URL properly.
If You clearly receives 404, then there might be some server configuration which might be preventing you from connecting to the server.
Thirumalai.K said:
are your Mobile and Firestick on the same network?
can you change the MX Player user agent (Check general Settings) to something like your mobile & check again?
FFmpeg should work as long as you are using the right version for your CPU architecture. If your CPU architecture is different, MX Player itself will show the error.
The logs from FFmpeg was clear that it has received 404. But, we couldn't reproduce it any of our devices. We have even directly tried FFmpeg command line version on desktops. It also works. Even if it's an FFmpeg fault, It will affect only HW+ & SW decoders. HW decoder is independent. As we said earlier, it's just a wrapper of android mediaplayer API implementation on your device. So, MX Player does not have many controls. But, It is also having the issues.
It is the clear indication that there is something that is preventing MX from connecting to the CDN. If it possible, can you use any debugging proxies & check the connection logs of yours firestick? In our tests, it receives 302 (Moved Temporarily along with the new URL) and then it connects to redirected URL properly.
If You clearly receives 404, then there might be some server configuration which might be preventing you from connecting to the server.
Click to expand...
Click to collapse
Both firestick & phone are on same network
Both have exactly same settings in mx player
Both are arm v7 neon
It doesn't explain why other players can play the cdn link on the firestick but mx player can't
Surely if something was blocking the link it would block it across all players unless it was an app specific block & I have set up no such block of apps either individually or globally
Equally if there was a server configuration block I don't see why they would block mx player connecting & not other players on a firestick especially as it works on a phone
I don't know if this would help but Iv attached the log of vlc whilst playing the stream on the firestick
TheFixItMan said:
Both firestick & phone are on same network
Both have exactly same settings in mx player
Both are arm v7 neon
It doesn't explain why other players can play the cdn link on the firestick but mx player can't
Surely if something was blocking the link it would block it across all players unless it was an app specific block & I have set up no such block of apps either individually or globally
Equally if there was a server configuration block I don't see why they would block mx player connecting & not other players on a firestick especially as it works on a phone
I don't know if this would help but Iv attached the log of vlc whilst playing the stream on the firestick
Click to expand...
Click to collapse
There are plenty of ways, a server could block a particular device or app.
Have you tried after changing the User Agent on MX Player to something like in your mobile or something generic like MXPlayer/1.9.24 ?
Unlike others, MX Player generates a unique user agent for every device model based on its build properties. If the CDN's redirect conditions block the particular UA string, then it could happen. As it works everywhere except Firestick, it could be a possible reason.
Thirumalai.K said:
There are plenty of ways, a server could block a particular device or app.
Have you tried after changing the User Agent on MX Player to something like in your mobile or something generic like MXPlayer/1.9.24 ?
Unlike others, MX Player generates a unique user agent for every device model based on its build properties. If the CDN's redirect conditions block the particular UA string, then it could happen. As it works everywhere except Firestick, it could be a possible reason.
Click to expand...
Click to collapse
Yes Iv changed it & it made no difference
Apart from the Android version & the build name they both use mozilla 5.0
I changed it to the generic string but it made no difference
Guess I'll just to use vlc for these streams
TheFixItMan said:
Yes Iv changed it & it made no difference
Apart from the Android version & the build name they both use mozilla 5.0
I changed it to the generic string but it made no difference
Guess I'll just to use vlc for these streams
Click to expand...
Click to collapse
Can you collect the network data using a debugging proxy? It will help us to understand better.
Thirumalai.K said:
Can you collect the network data using a debugging proxy? It will help us to understand better.
Click to expand...
Click to collapse
Not sure if this exactly what you wanted as I can only use apps which I find (no pc)
Iv captured the packets whilst playing the stream in mx player & vlc
You can see that vlc redirects to a different server where as mx player fails to redirect & says file not found
TheFixItMan said:
Not sure if this exactly what you wanted as I can only use apps which I find (no pc)
Iv captured the packets whilst playing the stream in mx player & vlc
You can see that vlc redirects to a different server where as mx player fails to redirect & says file not found
Click to expand...
Click to collapse
Thanks for your efforts.
In fact, MX has tried the redirected URL. It looks like a server side restriction as we have expected.
If you look at the #1 of MX & VLC get requests, both MX & VLC has sent a GET request for the same URL.
Code:
GET: /storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
HOST: cdn.vidnode.net
If you look at the Server Reply, Both has returned with 302 (i.e redirection). But with the different target location
For VLC, the server has returned with a valid video URL which is same as what we are receiving on our mobiles.
Code:
Location: https://video.xx.fbcdn.net/v/t42.9040-2/10000000_403505290165887_8647744692890370048_n.mp4?_nc_cat=0&efg=eyJybHIiOjIwMDUsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2005&vabr=1337&oh=70cdf02f8b7a517206ca3be7918d6a2e&oe=5B18F57C
But, For MX, the server has returned with a URL which does not exist.
Code:
Location: http://cdn16.micetop.us/cdn2_vidcdn_pro/movie/hoaphuong/Thang 6/1.6/Watch World of Dance - Season 2 For Free On yesmovies.to.mp4
Then both VLC & MX has tried whatever URL it has received. As VLC has received a valid URL, it has played the file. But, MX has received an invalid URL. So, it has failed to play.
Can you provide the actual source of the URLs?
MX Player API allows passing any HTTP headers which are required for the connection. The application which calls MX through intents sends the referer as "https://vidnode.net/". When MX Passes the received referer on the GET request, the server returns with the invalid redirection URL. If there is no referer is passed on the headers, server properly returns the valid URL.
So, there might be some configs on the server which decides the redirection URL based on the Referer. We are not sure whether it's intentional or mistake.
So, it is something that has to be fixed on the app which calls MX Player or on the server end. We can't drop the HTTP referer on the GET requests as it will break the apps that genuinely rely on it.
You can confirm this by directly inputting the URL on the MX Player's network stream option.
Code:
http://cdn.vidnode.net/storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
If this works, Kindly contact the app developer of the parent app which is calling the MX.
Thirumalai.K said:
Thanks for your efforts.
In fact, MX has tried the redirected URL. It looks like a server side restriction as we have expected.
If you look at the #1 of MX & VLC get requests, both MX & VLC has sent a GET request for the same URL.
Code:
GET: /storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
HOST: cdn.vidnode.net
If you look at the Server Reply, Both has returned with 302 (i.e redirection). But with the different target location
For VLC, the server has returned with a valid video URL which is same as what we are receiving on our mobiles.
Code:
Location: https://video.xx.fbcdn.net/v/t42.9040-2/10000000_403505290165887_8647744692890370048_n.mp4?_nc_cat=0&efg=eyJybHIiOjIwMDUsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2005&vabr=1337&oh=70cdf02f8b7a517206ca3be7918d6a2e&oe=5B18F57C
But, For MX, the server has returned with a URL which does not exist.
Code:
Location: http://cdn16.micetop.us/cdn2_vidcdn_pro/movie/hoaphuong/Thang 6/1.6/Watch World of Dance - Season 2 For Free On yesmovies.to.mp4
Then both VLC & MX has tried whatever URL it has received. As VLC has received a valid URL, it has played the file. But, MX has received an invalid URL. So, it has failed to play.
Can you provide the actual source of the URLs?
MX Player API allows passing any HTTP headers which are required for the connection. The application which calls MX through intents sends the referer as "https://vidnode.net/". When MX Passes the received referer on the GET request, the server returns with the invalid redirection URL. If there is no referer is passed on the headers, server properly returns the valid URL.
So, there might be some configs on the server which decides the redirection URL based on the Referer. We are not sure whether it's intentional or mistake.
So, it is something that has to be fixed on the app which calls MX Player or on the server end. We can't drop the HTTP referer on the GET requests as it will break the apps that genuinely rely on it.
You can confirm this by directly inputting the URL on the MX Player's network stream option.
Code:
http://cdn.vidnode.net/storage_movie/1/194057/cdn2_vidcdn_pro/movie/hoaphuong/Thang%206/1.6/Watch%20World%20of%20Dance%20-%20Season%202%20For%20Free%20On%20yesmovies.to.mp4
If this works, Kindly contact the app developer of the parent app which is calling the MX.
Click to expand...
Click to collapse
Yes inputting the stream directly into mx player alows it to work
So the app that calls mx player to play the link is doing something to stop it working
It's odd because on my phone that same app which calls mx player allows it to play fine
Thanks for your help
TheFixItMan said:
Yes inputting the stream directly into mx player alows it to work
So the app that calls mx player to play the link is doing something to stop it working
It's odd because on my phone that same app which calls mx player allows it to play fine
Thanks for your help
Click to expand...
Click to collapse
In fact, the calling app sends the full set of http headers to be used (including the user agent string). As the app has requested, It will be used on http connection despite your custom User Agent settings. You could see a Windows UA on the http logs.
As the invalid redirection URL also a media url, it could be even a conflict on server which is triggered when using the referer. So, we are not sure that whether intentionally done or not.
Btw, Can you specify the name of the app?
It will help us to provide a better support for those who has similar issues.
Thirumalai.K said:
In fact, the calling app sends the full set http headers to be used (including the user agent string). As the app has requested, It will be used on http connection despite your custom User Agent settings. You could see a Windows UA on the http logs.
As the invalid redirection URL also a media url, it could be even a conflict on server which is triggered when using the referer. So, we are not sure that whether intentionally done or not.
Btw, Can you specify the name of the app?
It will help us to provide a better support for those who has similar issues.
Click to expand...
Click to collapse
Imagine if there were hardly any planets in the planetarium
Bit cryptic but you should be able to work out the app from that lol as I can't post it here for obvious reasons
Volka IPTV crush
I have a similar issue, my iptv application "Volka Pro2" keeps crushing on amazon Fire stick but not on my Mobile phone. I get an error " error creating player"
Anyone with similar problem who have figured out the solution?
Mndj said:
I have a similar issue, my iptv application "Volka Pro2" keeps crushing on amazon Fire stick but not on my Mobile phone. I get an error " error creating player"
Anyone with similar problem who have figured out the solution?
Click to expand...
Click to collapse
It seems to be an issue with the app. As this subforum is dedicated for MX Player related queries, request you to post your query in an appropriate section for better support.