Related
Generally, default subtitle tracks are specified by the video file. Is it possible to add a feature so that you can set MX to prefer a subtitle stream with a specified language, similar to how you can set it to prefer an audio language?
I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?
CDB-Man said:
I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?
Click to expand...
Click to collapse
This feature was planned for 2.0, But I will be able to pull it forward
Awesome, didn't know that, but that's even better!
XBMC generated subtitle filenames support
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'
Klojum said:
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'
Click to expand...
Click to collapse
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.
bleu8888 said:
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.
Click to expand...
Click to collapse
This is exactly the feature I am trying to request, really looking forward to it!
Just got a Nexus 5x and when I select a video file (total commander + samba) I don't see MX player in the list of applications. Not sure if this is MX player's fault or if it's something else.
f3bruary said:
Just got a Nexus 5x and when I select a video file (total commander + samba) I don't see MX player in the list of applications. Not sure if this is MX player's fault or if it's something else.
Click to expand...
Click to collapse
... just to be clear with what you are saying, you are using a file browser app on Android, navigating to an SMB share, and when selecting a video on the SMB then MX is not offered as a playback option?
May want to first check your device app defaults then.
I'm having either the same issue or a similar one. Everything works fine on my Nexus 7, but this is a problem on my Nexus 5X. If I select files with certain extensions from network locations, MX Player is not listed in the "Open with" popup where you select the app you want to open the file with. Only Media Viewer and Podcast Addict are listed in this pop-up. Trying different file types out, MX Player is listed if I select an mpg or wmv file, but not avi and mp4. I'm selecting the file in an app that let's me browse files on my NAS. If I save the video locally on my phone, there is no problem when I select the local copy, MX Player is listed in the "Open with" pop-up. When the file is still on the NAS, I think the format of the link it's trying to open is hxxp://192.168.X.X:XXXX/Folder/filename.mp4 where hxxp is replaced with http (forum rules don't allow new accounts to post links).
It's weird that I have the exact same setup, apps, OS version, files, network, etc. on my Nexus 7 and everything works fine. The same setup also worked previously on my Nexus 5. I've had this problem since I got my 5X, which was shortly after the phone was released.
dave224466 said:
I'm having either the same issue or a similar one. Everything works fine on my Nexus 7, but this is a problem on my Nexus 5X. If I select files with certain extensions from network locations, MX Player is not listed in the "Open with" popup where you select the app you want to open the file with. Only Media Viewer and Podcast Addict are listed in this pop-up. Trying different file types out, MX Player is listed if I select an mpg or wmv file, but not avi and mp4. I'm selecting the file in an app that let's me browse files on my NAS. If I save the video locally on my phone, there is no problem when I select the local copy, MX Player is listed in the "Open with" pop-up. When the file is still on the NAS, I think the format of the link it's trying to open is hxxp://192.168.X.X:XXXX/Folder/filename.mp4 where hxxp is replaced with http (forum rules don't allow new accounts to post links).
It's weird that I have the exact same setup, apps, OS version, files, network, etc. on my Nexus 7 and everything works fine. The same setup also worked previously on my Nexus 5. I've had this problem since I got my 5X, which was shortly after the phone was released.
Click to expand...
Click to collapse
The issue might be only on marshmallow.
Can you check the actual url forwarded through any other app available in openwith list?
Sent from my SM-G900H using Tapatalk
ktsamy said:
The issue might be only on marshmallow.
Can you check the actual url forwarded through any other app available in openwith list?
Click to expand...
Click to collapse
I'm not sure it has anything to do with it being Marshmallow, because I have Marshmallow on my Nexus 7 where everything seems to work OK. I'm not sure how to check to see what the URL is with the other apps. I was only guessing the URL with the NAS app because there's a "share" feature in that app where it lets me share the file with a friend and it displays the http URL I posted when I do that.
dave224466 said:
I'm not sure it has anything to do with it being Marshmallow, because I have Marshmallow on my Nexus 7 where everything seems to work OK. I'm not sure how to check to see what the URL is with the other apps. I was only guessing the URL with the NAS app because there's a "share" feature in that app where it lets me share the file with a friend and it displays the http URL I posted when I do that.
Click to expand...
Click to collapse
That's strange.
Just open mpg or mkv which can be opened in MX Player. Then check the properties in mxplayer. The URL pattern will be similar to that only except change in file/directory name.
Sent from my SM-G900H using Tapatalk
ktsamy said:
That's strange.
Just open mpg or mkv which can be opened in MX Player. Then check the properties in mxplayer. The URL pattern will be similar to that only except change in file/directory name.
Click to expand...
Click to collapse
I opened a MKV file and the path is pretty much the same as I said previously, but ends with "...mvk?_basic=lotsofletters=".
Playing around with it now again, I notice that even though I have VLC installed on my phone, it also does not show up in the "Open with" pop-up for the same file extensions that MX Player is missing for. It seems like my phone is just handling files with those extensions strangely. I think the apps that are listed in this pop-up are determined by the "App links" assigned by each app. In the list of apps' "App links" in my phone settings, MX Player and VLC both only list "*". I looked up Podcast Addict since that app is listed in the "Open with" screen for AVI files, and that has about 10 or so youtube and soundcloud URLs, but also "*". It never single-outs AVI files specifically. This whole thing just confuses me. I think it's just a bizarre bug with the Nexus 5X.
dave224466 said:
I opened a MKV file and the path is pretty much the same as I said previously, but ends with "...mvk?_basic=lotsofletters=".
Playing around with it now again, I notice that even though I have VLC installed on my phone, it also does not show up in the "Open with" pop-up for the same file extensions that MX Player is missing for. It seems like my phone is just handling files with those extensions strangely. I think the apps that are listed in this pop-up are determined by the "App links" assigned by each app. In the list of apps' "App links" in my phone settings, MX Player and VLC both only list "*". I looked up Podcast Addict since that app is listed in the "Open with" screen for AVI files, and that has about 10 or so youtube and soundcloud URLs, but also "*". It never single-outs AVI files specifically. This whole thing just confuses me. I think it's just a bizarre bug with the Nexus 5X.
Click to expand...
Click to collapse
But, still wonder how it was working in Nexus 7 with marshmallow. Probably you might have changed anything in app link settings
I don't have a device with marshmallow. I will forward the issue to the developer. He may find some workarounds.
Sent from my SM-G900H using Tapatalk
---------- Post added at 07:42 AM ---------- Previous post was at 07:40 AM ----------
BTW, can you tell me which apps are available in the pop list for avi? I will check the manifests. There might be some clue.
Sent from my SM-G900H using Tapatalk
ktsamy said:
But, still wonder how it was working in Nexus 7 with marshmallow. Probably you might have changed anything in app link settings
I don't have a device with marshmallow. I will forward the issue to the developer. He may find some workarounds.
Sent from my SM-G900H using Tapatalk
---------- Post added at 07:42 AM ---------- Previous post was at 07:40 AM ----------
BTW, can you tell me which apps are available in the pop list for avi? I will check the manifests. There might be some clue.
Click to expand...
Click to collapse
Hahah, well, things just got weirder. I was about to reply to your post and went to double check that only "Media Viewer" and "Podcast Addict" were showing in the "Open with" pop-up, but now... everything works fine. MX Player and VLC both show up when I select AVIs and MP4s. Maybe when I was tinkering around in the App Links section I changed some setting? Or maybe just looking at them "woke" the phone up somehow? I have no idea. I don't recall ever doing anything with the settings on the Nexus 7, either, but who knows. I think everything is fine now.
I had to get my phone repaired and got it back today. Surprisingly it works now. I can select MX player from Total Commander when I click a video file. Only problem now is that MX player doesn't see any subtitles. It works from ES file explorer, but not from Total Commander. It's over samba btw
f3bruary said:
I had to get my phone repaired and got it back today. Surprisingly it works now. I can select MX player from Total Commander when I click a video file. Only problem now is that MX player doesn't see any subtitles. It works from ES file explorer, but not from Total Commander. It's over samba btw
Click to expand...
Click to collapse
When MX Player gets a remote URL it will try to find the subtitle with the same name in assumption. When the local host denies or returrns with 404, it may not show the subtitles. Either Total commander has to fix the issue or you have to wait till mx player gets native SMB support.
Yes it does indeed seem to do that. I just tested a video that had a subtitle with the same filename and it works. It doesn't work however with subtitles that have language codes in them like video.en.srt. This did work with ES file explorer.
I seem to have the same issue as the OP: playing a video file from samba or FTP (tested with Solid Explorer and ES File Explorer) only returns the default Video Player app and nothing else.
This is true at least for files having wmv or mp4 file extensions. Avi or mkv files can be opened by MX Player, VLC player and Yatse, which should actually work with all kind of video files.
I checked the "App links" section in the settings, and MX Player and VLC are defined as being able to open * links and have all permissions set.
This is on my Moto X 2014, which worked as expected in Lollipop.
Any idea what I could check to fix the issue?
Thanks
Zelgadis87 said:
I seem to have the same issue as the OP: playing a video file from samba or FTP (tested with Solid Explorer and ES File Explorer) only returns the default Video Player app and nothing else.
This is true at least for files having wmv or mp4 file extensions. Avi or mkv files can be opened by MX Player, VLC player and Yatse, which should actually work with all kind of video files.
I checked the "App links" section in the settings, and MX Player and VLC are defined as being able to open * links and have all permissions set.
This is on my Moto X 2014, which worked as expected in Lollipop.
Any idea what I could check to fix the issue?
Thanks
Click to expand...
Click to collapse
Bah, I installed "Intent Intercept" app from Google Play to try and provide some additional information to help resolve this issue... and lo and behold MX Player now appears as a valid target for playing remote WMVs and MP4s...
Have no clue about what happened, but the issue seem to be Android-related, and has nothing to do with MX.
Thanks anyway!
I've this exact problem on my moto x force. Both MX player and loader droid don't show up on the apps pop up. Was fine on 5.1.1 but since update nothing
---------- Post added at 09:26 PM ---------- Previous post was at 09:16 PM ----------
Zelgadis87 said:
Bah, I installed "Intent Intercept" app from Google Play to try and provide some additional information to help resolve this issue... and lo and behold MX Player now appears as a valid target for playing remote WMVs and MP4s...
Have no clue about what happened, but the issue seem to be Android-related, and has nothing to do with MX.
Thanks anyway!
Click to expand...
Click to collapse
OK this exact thing has just happened to me. Installed Intent Intercept and now everything is showing. I've uninstalled t now to see and they still show. Maybe something in that app has kicked android to work proper now haha
madnlooney said:
I've this exact problem on my moto x force. Both MX player and loader droid don't show up on the apps pop up. Was fine on 5.1.1 but since update nothing
---------- Post added at 09:26 PM ---------- Previous post was at 09:16 PM ----------
OK this exact thing has just happened to me. Installed Intent Intercept and now everything is showing. I've uninstalled t now to see and they still show. Maybe something in that app has kicked android to work proper now haha
Click to expand...
Click to collapse
Thanks, glad I found this thread! works for me!
namartlu said:
Thanks, glad I found this thread! works for me!
Click to expand...
Click to collapse
Glad it worked. It's a really strange one
Installing intent intercept fix the problem for me too. Thanks a lot for the advice
This needs to be put in the FAQ. I have been digging for a solution to this for hours, and it was really driving me up the wall. This worked perfectly. Thanks everyone!
I am making an app in html/js and php and using appsgeyser to construct it
it is basically a website and the app acts as the browser so no real app code involved
I am desperately trying to open streams in mxplayer but i cant get the option to come up so trying to force it
Open link in chrome:
window.top.location = "googlechrome://navigate?url="+url; - WORKS!!!
Open Link in XMTV Player
var url = '<?php echo base64_encode($stream);?>';
window.top.location = "xmtv://"+url; - WORKS!!! (but mxplayer runs better)
How can I do the same in MX player?
Please help
I'm no web development pro, but if you want to interface directly with MX, you should be using the API where possible: https://sites.google.com/site/mxvpen/api
the only option i can see is
Code:
Launch through Intent scheme.
which doesnt work with js
I am going to attempt to create the link in a hidden div and click it with js, i will update if that works
UPDATE: The Intent link only bring you to the playstore, it doesnt open the stream
dennisbtv said:
the only option i can see is
Code:
Launch through Intent scheme.
which doesnt work with js
I am going to attempt to create the link in a hidden div and click it with js, i will update if that works
UPDATE: The Intent link only bring you to the playstore, it doesnt open the stream
Click to expand...
Click to collapse
Probably you are using MX Player Pro. The code you have mentioned uses MX Player Free version.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Probably you are using MX Player Pro. The code you have mentioned uses MX Player Free version.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
I am afraid i tried on 2 devices both free and pro
its a real shame i cant get it to work. I have to now rewrite my app using local only files to permit only external files to open in default browser, that will work but pain in the arse
Remove the space between "bipbopall.m3u8 #Intent" and it should open the url in MXPlayer not the Play Store.
Also, only seems to work on URLs which have a file extension (such as .m3u8, mp4, mp3 etc.)
Hi, I am helping out a math instructor to let his students watch videos that he recorded during class on their own phones, tablets.
And i found that the video format is MTS.
I got a internal network http file server system running and mounted all the files, mp4 file streams are looking good with MX player.
But when I attempt to open a link that refers to MTS files, they do not stream. They just download on the phones.
And it seems like it works when I paste the url on the app manually, but does not when I click the link on the browser... So I assume it is a problem that the browser cannot handle MTS files as video formats...
Q.Can I modify the browser(I'm using chrome, but I can let the students use any other apps) by some settings to associate the MTS file links to MX player?
P.S. I was not allowed to encode the files to any another formats, because those files need to be big enough (so nobody else could steal them easily&sneaky, the instructor is selling those videos to non-students, so stealing would be a big problem.), and all the computers they have literally suck at encoding. (Probably 1 : 2 / video runtime : rendering time ratio, even the server sucks.)
Sorry for the poor grammar and thank you!
jameskyer said:
Hi, I am helping out a math instructor to let his students watch videos that he recorded during class on their own phones, tablets.
And i found that the video format is MTS.
I got a internal network http file server system running and mounted all the files, mp4 file streams are looking good with MX player.
But when I attempt to open a link that refers to MTS files, they do not stream. They just download on the phones.
And it seems like it works when I paste the url on the app manually, but does not when I click the link on the browser... So I assume it is a problem that the browser cannot handle MTS files as video formats...
Q.Can I modify the browser(I'm using chrome, but I can let the students use any other apps) by some settings to associate the MTS file links to MX player?
P.S. I was not allowed to encode the files to any another formats, because those files need to be big enough (so nobody else could steal them easily&sneaky, the instructor is selling those videos to non-students, so stealing would be a big problem.), and all the computers they have literally suck at encoding. (Probably 1 : 2 / video runtime : rendering time ratio, even the server sucks.)
Sorry for the poor grammar and thank you!
Click to expand...
Click to collapse
We have checked with the latest version of the MX Player with the latest version of the chrome. MX Player is listed properly when the MTS file link is clicked. In our tests, Firefox has shown the similar issue as Firefox uses standard mime types.
Kindly check it again with chrome.
If you prefer Firefox, assign a video mime (like video/mp2ts) for mts extension on your server. Then it will also work.
Thirumalai.K said:
We have checked with the latest version of the MX Player with the latest version of the chrome. MX Player is listed properly when the MTS file link is clicked. In our tests, Firefox has shown the similar issue as Firefox uses standard mime types.
Kindly check it again with chrome.
If you prefer Firefox, assign a video mime (like video/mp2ts) for mts extension on your server. Then it will also work.
Click to expand...
Click to collapse
I have added the mime-type on the server and it worked.
Thank you!
나의 SM-N915S 의 Tapatalk에서 보냄
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.