Mx player window top location - MX Player

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?

Related

[Q] working on rtsp from VLC for a week still stuck

I have been working on developing an a very simple app that plays a video rtsp stream from VLC And have been very stuck after a week I thought it might be time to call it quits but first thought I would post my problem:
I saw on the android dev site that it supports
RTSP (RTP, SDP)
HTTP progressive streaming
Video Encoding Recommendations
Video resolution 176 x 144 px
Video frame rate 12 fps
Video bitrate 56 Kbps
Audio codec AAC-LC
Audio channels 1 (mono)
Audio bitrate 24 Kbps
Click to expand...
Click to collapse
I set everything up in VLC
Stream link: (remove !'s if need for link)
ihop.!org.!edgesuite.!net/ihopkc/wls/tpr/IHOP-KC_TPR_WLS!.asx
Destonation:
RTSP -> Output: /ihop.mp4(also tried .dsp) port 5544 -> Active transcodeing checked -> video profile H.264+ACC(mp4) (and edited everything down to android's low Video Encoding Recommendations (like above))
TTL = 1
the rtsp stream works great when I open up anther VLC instance and stream the link rtsp://myip:5544/ihop.(mp4 or dsp)
but when I run it in my device (nook color w/ CM7.0.2) video viewer it says "sorry can not play this video"
sdk code:
Code:
VideoView videoView = (VideoView) findViewById(R.id.surface_view);
Uri video = Uri.parse("rtsp://192.168.1.88:5544/ihop.mp4");
videoView.setVideoURI(video);
videoView.start();
I am able to run audio stream from vlc to android and also ping my ip in terminal emulator so i know its not a connection error
Any ideas on what im doing wrong or on how to get this to work?
the only thing left that I haven't tried is Darwin streaming server on mac( tried it on windows 7) and would need to fix my hackintosh to do this.
Any Help is very appreciated
THANK YOU!!!

Need suggestion for MX player pro and MKV with embedded subtitle

Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Mrpong said:
Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Click to expand...
Click to collapse
Did you check subtitle track button on the playback screen?
There may a speech balloon button on the upper right corner of the playback screen, if video have one or more subtitle tracks.
bleu8888 said:
Did you check subtitle track button on the playback screen?
There may a speech balloon button on the upper right corner of the playback screen, if video have one or more subtitle tracks.
Click to expand...
Click to collapse
Hi bleu8888, do you mean the mini button on the right corner? There are H/W, subtitles, audio.
Yes I checked it. I enabled one, two, or sometimes even all of them, but no subtitle is shown.
Note: I just tested the file with "VLC for android" and it works as expected. All subtitles work fine.
Thus, I guess there must be some missing or incorrect configuration in my MX Player Pro. Please help.
Mrpong said:
Hi bleu8888, do you mean the mini button on the right corner? There are H/W, subtitles, audio.
Yes I checked it. I enabled one, two, or sometimes even all of them, but no subtitle is shown.
Note: I just tested the file with "VLC for android" and it works as expected. All subtitles work fine.
Thus, I guess there must be some missing or incorrect configuration in my MX Player Pro. Please help.
Click to expand...
Click to collapse
Would you share your video file?
Also, could you post the media info as well?
CDB-Man said:
Also, could you post the media info as well?
Click to expand...
Click to collapse
Sure. Here is what I captured from VLC for Windows when I played this file. This file can be played normally on VLC for Windows, VLC for Android, and TV + Dune HD.
Stream 0:
Type: Video
Codec: H264 MPEG AVC (Part 10) (avc1)
Language: English
Resolution: 1920x800
Frame Rate: 23.976216
Decoded format: Planar4:2:0 YUV
Stream 1:
Type: Audio
Codec: MPEG AAC Audio (mp4a)
Language: English
Sample rate: 480000Hz
Stream 2:
Type: Audio
Codec: A52 Audio (aka AC3) (a52)
Language: English
Sample rate: 48000Hz
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: English
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: China
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: Japan
Hmm, pgs subs shouldn't generally cause a problem... as bleu requested, mind sharing your file somewhere? If the file's big, could you clip out a few minutes and share that instead?
Mrpong said:
Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Click to expand...
Click to collapse
I believe this issue is fixed on latest test version
https://sites.google.com/site/mxvpen/translation/test-build
Feedback will be appreciated.
Thanks
Hi bleu8888
I installed it. It looks like an updated part, doesn't it? Anyway, it works as expected now.
Thank a lot!
You can use Avdshare Video Converter to removing subtitles from MKV with the help of an MKV Subtitle Remover named MKV Subtitle Remover.

[Bug Report] MicroDVD subtitles don't work on MKV videos after in version >= 1.7.33

[Bug Report] MicroDVD subtitles don't work on MKV videos after in version >= 1.7.33
After updating to version 1.7.33 or 1.7.34 the MicroDVD subtitles on MKV videos aren't showing.
SRT subtitles wok well, MP4 videos with MicroDVD subtitles work well too.
Example video file:
Video stream:
Sub type: H.264/MPEG-4 AVC
FourCC: AVC1 (H.264/MPEG-4)
Bit planes: 12
Dimensions: 1280x720
AvgTimePerFrame: 417083
FPS: 23,98
Audio stream:
Major type: Audio
Sub type: DOLBY_AC3
Channels: 6
Audio tag: 0x2000 (Dolby AC3 / FAST Multimedia AG DVM)
Frequence: 48000 Hz
Bitrate: 1536000
Are you getting sound? Did you install any custom codec?
It depends on the device. On my TV Dongle (Rikomagic MK802IIIS8G(B) - RK3066 procerssor) I have sound but MicroDVD subtitles don't work.
On my phone (HTC One S Z520e - MSM8260A procerssor) I don't have sound in H/W mode,
must use S/W audio (custom codec v7 NEON 1.7.32) but the MicroDVD subtitles don't work either...
Does the subtitle file have the same name and is in the same folder with the video you are trying to play?
Yes, it is... I've reverted back to 1.7.32 and everything works ok. On 1.7.33 and 1.7.34 it doesn't.
I've noticed that when I jump a few minutes forward on the movie a random subtitle is shown, but it doesn't change for correct one.
One important thing. I'm streaming this videos from Windows share on my computer.
I'm doing this with ES File Explorer using Samba protocol. Nevertheless the SRT subtitles work well in this config...
Did you check settings>subtitles>enable subtitles?
Yup, it's enabled. I've tried different settings with my TV dongle. In pure S/W mode the subtitles work, they also work in H/W+ mode.
But in H/W mode the don't. I don't have custom codec but I have sound so I presume that my dongle has AC3 codec built in the firmware.
devshin said:
Yup, it's enabled. I've tried different settings with my TV dongle. In pure S/W mode the subtitles work, they also work in H/W+ mode.
But in H/W mode the don't. I don't have custom codec but I have sound so I presume that my dongle has AC3 codec built in the firmware.
Click to expand...
Click to collapse
Does MX Player lists the subtitle when you start in H/W decoder?
If it's loaded it will show a symbol.
If it's not showing, do the following
Start playing in HW decoder (you won't get subtitle as per your statement), then try in H/W+ (you may get subtitle). Now close the video & immediately goto Help | Bug Report. Save the logs and upload here.
For what container formats do the MicroDVD subtitles not show? Mp4? Mkv? Both?
devshin said:
After updating to version 1.7.33 or 1.7.34 the MicroDVD subtitles on MKV videos aren't showing.
SRT subtitles wok well, MP4 videos with MicroDVD subtitles work well too.
Example video file:
Video stream:
Sub type: H.264/MPEG-4 AVC
FourCC: AVC1 (H.264/MPEG-4)
Bit planes: 12
Dimensions: 1280x720
AvgTimePerFrame: 417083
FPS: 23,98
Audio stream:
Major type: Audio
Sub type: DOLBY_AC3
Channels: 6
Audio tag: 0x2000 (Dolby AC3 / FAST Multimedia AG DVM)
Frequence: 48000 Hz
Bitrate: 1536000
Click to expand...
Click to collapse
@devshin Would you send me subtitle file (or video file is subtitle is embedded in a video file)?
I've checked some MicroDVD subtitles file but could not find any issue.

Network streaming video not play in mx-player.

I try to implement mx-player with network streaming from android my own activity to mx player.
Its working when I pass network stream url from my activity to mx-player. Mx Player open and suddenly close without playing video.
Here is my code.
Uri uri = Uri.parse(appController.getVideoUrl());
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(uri, "application/*");
intent.setDataAndType(uri, "video/*");
intent.setPackage("com.mxtech.videoplayer.ad.ActivityScreen");
intent.putExtra("return_result", true);
startActivityForResult(intent, 1);

MX Player hide File Path(url)

Hi
I am using mx player to play stream urls,
I was wondering if there is a way to hide the url path when my app open Mx player from intent (action.view)
If you go to properties on Mx player there can be found the stream url,
I have seen other apps that use Mx player to play streams urls but they hide the url you cannot see what url you’re playing.

Categories

Resources