Mts File streaming over http having minor problem - MX Player

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에서 보냄

Related

[Q] How to play video and music on android from network share?

I can't find the answer and please believe me, I'VE SEARCHED.
I have 2 Android phones in my house (HTC Aria & Samsung Captivate)
I have an Ubuntu 10.10 desktop behind my TV with a 1TB external usb drive.
the drive has 3 shared folders (videos, music, pictures) and it's shared for everyone, full control (I know "full control" is windows talk but I'm a wintel sys admin so linux guys should know what I mean)
I have downloaded and install Astro on the phones with the SMB add on and browse to the shared folders successfully but I can't find any media apps that will let me watch, play or view any of the files across the wifi network.
It seems like for all of them (default video player and rockervideo, etc.) everything has to be on the local sd card for it to play on the phones.
Help! please?
I know Orb.com and I think it is a FANTASTIC solution (FOR WINDOWS DESKTOP PC's), but it will measure your network speed and lower the quality accordingly for slow connections. Oh yea.. and I'm using an Ubuntu desktop. So orb is out.
I just want to play the file straight from the network share.
I read someone used something called cifs to mount the network shared folder to a blank folder on the sd card. (that's a whole lot of linux talk to windows guy) Can someone explain that to me please? Is that like mapping a network drive in windows? Will that work for what I want to do?
Bump...
(any info gratefully received)
I have also been playing around with this. I attempted to utilize the DLNA technology but have yet to have any success. I also agree with what you said about Orb. It's decent for desktop streaming, but for our mobile devices, it just sucks.
SlyDogJeff77 said:
I read someone used something called cifs to mount the network shared folder to a blank folder on the sd card. (that's a whole lot of linux talk to windows guy) Can someone explain that to me please? Is that like mapping a network drive in windows? Will that work for what I want to do?
Click to expand...
Click to collapse
yup, is like mapping a network drive (i'm a windows guy)
you need a compatible cifs.ko module for your devices, im a galaxy s user
here
here
Cifs Manager
reverendkjr said:
I have also been playing around with this. I attempted to utilize the DLNA technology but have yet to have any success. I also agree with what you said about Orb. It's decent for desktop streaming, but for our mobile devices, it just sucks.
Click to expand...
Click to collapse
I've managed to get DLNA to stream MP3 via Wifi on my Milestone 2. I've installed TVersity on a server PC that's always on and pointed it at my MP3 collection (which happens to be on another PC), and the DLNA app supplied on my phone picks it up and plays the stuff just fine. Obviously, it's a bit more involved than just playing the files directly from a share, but it doesn't require any messing around with the phone.
Cheers,
Steve.
Hello guys,
I want the same thing as you, now I have 2 NAS devices in my house where I have the music and videos, but I intend to build one Low Power PC (~30W - 40W) and keep everything there and few other things too like a fax PCI card and some security camera capture card.
I was thinking on buying some cheap tablets with Android OS to be able to play the music wirelessly in any room (of course, with the help of some speakers, not the build in tablet speakers) but couldn't find until now a way to do this. Now as I found this post I installed 2Player Network Music on my wife Android Phone, to test it out. I will try to find a DLNA server, for now to install it on my Windows PC , but I want to put it in the new NAS PC I want to build, I will have a LINUX distribution installed, don't know yet which one.
For music only, did you had any problems on playing streamed music from LAN ?
Hi, ppl.
I steel haven't solution for video, but for audio I use DAAP-protocol.
For android I use http://www.appbrain.com/app/daap-media-player/org.mult.daap
A lot of DAAP solutions for windows and linux to stream audio on demand.
Hi guys again!
I have the greatest news!!!
I have found Buzz Player! It's payed app, but it works great!!!!
Moment ago I have checked it on my desire hd! It works!!!
I am going to install on galaxy tab of my wife
Good luck!
Don't know if this is much help, but there is an app called VLC direct which lets you stream from or to an android device. The video quality isn't brilliant but this could just be my rubbish router.
Noodled24 said:
Don't know if this is much help, but there is an app called VLC direct which lets you stream from or to an android device. The video quality isn't brilliant but this could just be my rubbish router.
Click to expand...
Click to collapse
But you need a VLC Server. Doesn't work with a NAS.
BSPlayer Lite
I had the exact same problem. No decent player for SMB/network shares of video files. My home NAS (Synology) has no way of running the windows-only software that many of the video streaming software requires.
I recently discovered BSPlayer Lite (apparently a pro version is on the way), and it does exactly what we were looking for: plays media from a network share with no conversion or special server-side software required. It works amazingly great, and I was able to stream to my phone (HTC Thunderbolt) via my G wifi network. No stuttering or issues seen so far. It doesn't always read the subtitle information properly, but that could be my own fault somehow. I haven't tested it much, but I was able to watch several videos last night with no problems.
And the ads really aren't bad at all. I've only seen them when navigating a menu, but not while a video is playing.
Here is a link to the app, and a list of its features (I'm a new member, so excuse the funky link, as it won't let me post the full thing):
play.google.com/store/apps/details?id=com.bsplayer.bspandroid.free&hl=en
Main features:
- Hardware accelerated video playback - increases speed and reduces battery consumption*
- Support for almost all media files (video and audio player), such as: avi, divx, flv, mkv, mov, mpg, mts, mp4, m4v, rmvb, wmv, 3gp, mp3... and streaming content such as RTMP, RTSP, MMS (tcp, http), HTTP Live stream, HTTP.
- Multiple audio streams and subtitles.
- Playlist support and various playback modes.
- External and embedded subtitles ssa/ass, srt, sub...
- Find subtitles automatically (mobile data or wi-fi must be enabled to work)
- Playback media files such as videos and mp3's directly via Wi-Fi from your LAN shared drives/folders (such as external USB drives, SMB shares, PC shared folders, NAS servers (Synology and others)) - no need to convert video files and copy media files to SD card anymore!
- Playback files directly from uncompressed RAR files and much more!
This package includes support for ARMv7 with VFP and NEON. For other CPU types please download appropriate package. Application will notify you which package you need.
BSPlayer lite version is ad-supported application. Pro version without advertisements will be available soon.
works for me!
Es file explorer lets you view your lan and select servers, view files ect. play your videos and audio from there. save locations for frequent use. handy free tool
if you just want to play your video BSplayer lite will do just that, Set it lan mode and navigate through your net work.
both support user name and password protected storage
hope that helps
hi hi.. use phone can connect pc it's oke..
Thanks for your suggestions..
I will try out ES File Player and BSBPlayer
Any new programs which you can recommend?
There's an app on Google Play called Vidnal that streams audio and video from a network share - play.google.com/store/apps/details?id=org.mu.vidnal

Play video from UPNP and SMB with seeking

Does anyone have a solution on the eee pad for playing avi/xvid/etc videos over UPNP or SMB that allows seeking? I have tried all video apps I could find in the market, and found nothing that works well yet. The setup I am running works well when playing and seeking using XBMC on a PC, so it is technically possible.
Here are my observations so far:
Most video players only supports the natively supported video format (i.e. same as the gallery app), that is not really useful for me.
Of the other players, the ones that somewhat work for me are MoboPlayer, RockPlayer, QQPlayer, VPlayer, BUZZ Player, and yxplayer. Notable cases that
just crash: ArcPlayer, DreamPlayer, SeamanPlayer
For reading UPNP there is UPnPlay. However, in my setup, exporting over UPNP with ushare, it appears streaming only work with BUZZ player. MoboPlayer and RockPlayer (often reported to work wih UPnPlay) just seem to get stuck a long time when opening the file, as if they where downloading it completely before starting. Sometimes they play a few seconds of video after that, and then gets stuck again. Seeking does not work correctly with BUZZ player.
For reading from SMB shares, one solution is 'File Expert' which cleverly re-exports SMB-files via a local http-link. One opens the SMB share under 'Network' where clicking on a video file give a choice of browsers; I open in Dolphin Browser, which opens another file dialog where I can chose a video player. This I get to work with Moboplayer, Rockplayer, VPlayer, and BUZZ Player. However, none of them can seek in this stream.
Another SMB option is Astro file manager + Astro SMB module, which I assume is supposed to work the same way as File Expert. However, upon trying to access the SMB functionality in Astro, it just force closes.
Last, BUZZ player has built in functionality for accessing files through SMB and UPNP. I cannot get the SMB functionality to work (the player just don't play the file when clicked). The UPNP functionality plays the file, but seeking does not work.
Other than this I also note the following about the players:
BUZZ Player seem to have audio-video sync problems with many of my videos. It also tends to get stuck very long in "Loading. Please wait..." when accessing its built in network browsing, with no option to stop the operation.
yxplayer does not seem to register any file types at all, so it is a pain to open streaming links in it (figure out URL string and copy, open yxplayer, chose open URL, paste URL.) It also seems to have much less smooth playback than the other players.
Using cifs on Primordial 3.1 I have had great success streaming video over my wi-fi network and seeking works perfectly. I'm not sure if the player matters but I prefer Mobo Player as it seems to be the most compatible one I've found so far.
Ah, of course, I should root the pad to get this working as Linux has very nice remote filesystem abilities. Thanks for the hint.
But, isn't it odd that no one has pulled this off in a non-root market application? I cannot imagine that it would be horribly hard to do using http range requests. (Of course, if it was me, I would have gone for a port of libcurl using Android NDK.)
I finally found a solution for non-root upnp streaming with working seeking!
UPnPlay + LittlePlayer
LittlePlayer is a quite nice player with a software decoder that seems to handle most formats. It is also the first player I have found that uses the honeycomb 'Lights out mode' (the status bar gets blacked out), which is nice.
Now only remains to find a non-root solution for streaming from smb. I wonder why FileExpert's smb->http functionality does not work.
rartino said:
Does anyone have a solution on the eee pad for playing avi/xvid/etc videos over UPNP or SMB that allows seeking? I have tried all video apps I could find in the market, and found nothing that works well yet. The setup I am running works well when playing and seeking using XBMC on a PC, so it is technically possible.
Here are my observations so far:
Most video players only supports the natively supported video format (i.e. same as the gallery app), that is not really useful for me.
Of the other players, the ones that somewhat work for me are MoboPlayer, RockPlayer, QQPlayer, VPlayer, BUZZ Player, and yxplayer. Notable cases that
just crash: ArcPlayer, DreamPlayer, SeamanPlayer
For reading UPNP there is UPnPlay. However, in my setup, exporting over UPNP with ushare, it appears streaming only work with BUZZ player. MoboPlayer and RockPlayer (often reported to work wih UPnPlay) just seem to get stuck a long time when opening the file, as if they where downloading it completely before starting. Sometimes they play a few seconds of video after that, and then gets stuck again. Seeking does not work correctly with BUZZ player.
For reading from SMB shares, one solution is 'File Expert' which cleverly re-exports SMB-files via a local http-link. One opens the SMB share under 'Network' where clicking on a video file give a choice of browsers; I open in Dolphin Browser, which opens another file dialog where I can chose a video player. This I get to work with Moboplayer, Rockplayer, VPlayer, and BUZZ Player. However, none of them can seek in this stream.
Another SMB option is Astro file manager + Astro SMB module, which I assume is supposed to work the same way as File Expert. However, upon trying to access the SMB functionality in Astro, it just force closes.
Last, BUZZ player has built in functionality for accessing files through SMB and UPNP. I cannot get the SMB functionality to work (the player just don't play the file when clicked). The UPNP functionality plays the file, but seeking does not work.
Other than this I also note the following about the players:
BUZZ Player seem to have audio-video sync problems with many of my videos. It also tends to get stuck very long in "Loading. Please wait..." when accessing its built in network browsing, with no option to stop the operation.
yxplayer does not seem to register any file types at all, so it is a pain to open streaming links in it (figure out URL string and copy, open yxplayer, chose open URL, paste URL.) It also seems to have much less smooth playback than the other players.
Click to expand...
Click to collapse
Hi,
Maybe I miss something obvious but I have no issue streaming over Wifi with a combination of UPnPlay, RockPlayer (universal), mVideoPlayer, MoboPlayer.
Once clicks on a video file, UPnPlay browser allows selecting which player to launch (it is a pain that one do have to remember supporting formats for each player). Seeking within a video file does not seem to be a problem.
torrent_2004 said:
Hi,
Maybe I miss something obvious but I have no issue streaming over Wifi with a combination of UPnPlay, RockPlayer (universal), mVideoPlayer, MoboPlayer.
Once clicks on a video file, UPnPlay browser allows selecting which player to launch (it is a pain that one do have to remember supporting formats for each player). Seeking within a video file does not seem to be a problem.
Click to expand...
Click to collapse
This is really odd. Have you rooted, or done anything else "odd" with your transformer? I know that the way you describe it is how it is supposed to work, but for me most players just stalls when they should stream (but, it does work with 'Little Player'). I just assumed that this was an issue with Honeycomb compatibility. But if it works for you, then maybe it is something else. What device are you streaming *from*? I am using ushare.
All this said, wasn't there an update for UPnPlay the other day? Maybe they have fixed this now.
rartino said:
This is really odd. Have you rooted, or done anything else "odd" with your transformer? I know that the way you describe it is how it is supposed to work, but for me most players just stalls when they should stream (but, it does work with 'Little Player'). I just assumed that this was an issue with Honeycomb compatibility. But if it works for you, then maybe it is something else. What device are you streaming *from*? I am using ushare.
All this said, wasn't there an update for UPnPlay the other day? Maybe they have fixed this now.
Click to expand...
Click to collapse
Prime 1.4 rooted
Streaming of an HP Mediavault MV2120 via Asus RT16 router.

[Q]Http web direct link ( Idea )

Got a question about the application MXPLAYER you plan to add the ability to
desolation direct video link? Just as it has VLC. If you use the options:
sample : vlc://http://video.mp4 ( Magic there do ..... vlc:// )
So devastated primarily on Android VLC and even other applications that are copies of VLC.
If it were like:
mxplayer://http://video.mp4
It means that if I have applications that can let a Web browser, which will use a video out there : VLC://video.mp4
So my brown desert video in VLC without other options. Respect me for it, the councils are using the
mx player and one of the best video application, and as the only umi web stream rewind. Others can not do it: _ (
So it would be good enough. I look forward to your reply.
QuicksilverCZ said:
Got a question about the application MXPLAYER you plan to add the ability to
desolation direct video link? Just as it has VLC. If you use the options:
sample : vlc://http://video.mp4 ( Magic there do ..... vlc:// )
So devastated primarily on Android VLC and even other applications that are copies of VLC.
If it were like:
mxplayer://http://video.mp4
It means that if I have applications that can let a Web browser, which will use a video out there : VLC://video.mp4
So my brown desert video in VLC without other options. Respect me for it, the councils are using the
mx player and one of the best video application, and as the only umi web stream rewind. Others can not do it: _ (
So it would be good enough. I look forward to your reply.
Click to expand...
Click to collapse
This method is no longer officially supported by Google Chrome 25+ & many other browsers. (In my tests Firefox still supports.). For more info read here
https://developer.chrome.com/multidevice/android/intents
If you wish to use it in a app, then why don't you make use of MXPlayer api?
The documents & examples are available here
https://sites.google.com/site/mxvpen/api
If you would like to use it in webpage, here is the example cide of how to use it in webpage:
Launch through Intent scheme.
Many application developers are already using it.
I've tried different possibilities MX . It is for me to be creating apk via web: http://www.appsgeyser.com/ as the only umi let VLC and I have a build a Web page with me Generating streams.
So I wanted to run my video through this application. Video venturing over the base where the video player ratio is 4.3 and vlc problem rewind videa.Tak I thought, if by some miracle method works VLC: HTTP // if not even the same method of MX PLAYER it would be cool and be spared this trapeni.Snad Someone gets to the developers already vyborne applications that NEPAD or streaming, and the only umi rewind each video, even those other things they can not.
ps: So the problem will be that of appsgeyser unable to desolation
<a href = "intent: http: //, because I was throwing after clicked, an error loaded.

CDN-FastServer streams are not working on firestick with mx player

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.

Cannot rewind m4a or weba files while streaming

Basically rewind while streaming files via HTTP protocol only works for mp3 for me. This problem does appear on any external HTTP server, but I also used mine own server to look at HTTP requests and there is no ranged requests for non-mp3 files for some reason, only for mp3 files. I'm not sure if it's MX Player bug or not, maybe something wrong with my phone's OS, I'm using Android 6.0, if it matters.
dudoser said:
Basically rewind while streaming files via HTTP protocol only works for mp3 for me. This problem does appear on any external HTTP server, but I also used mine own server to look at HTTP requests and there is no ranged requests for non-mp3 files for some reason, only for mp3 files. I'm not sure if it's MX Player bug or not, maybe something wrong with my phone's OS, I'm using Android 6.0, if it matters.
Click to expand...
Click to collapse
actually I just checked and m4a files are working, it's a weba problem
dudoser said:
actually I just checked and m4a files are working, it's a weba problem
Click to expand...
Click to collapse
Kindly collect a bug report from MX Player help menu after reproducing the issue and share the same here. It will help us to assist you better.

Categories

Resources