Greetings,
I'm working on an android port of Android 5.1.1 on a device that does not have native codec support for MPEG2 (no video/mpeg2 in /etc/system/media_codecs.xml), yet I find when I install MX Player on this platform it can playback MPEG2 files. Note I have not downloaded/installed any codec packs. Is there some native software decode built into MX Player? The processor architecture is an ARM Coretex-A8.
My goal is to understand how to playback MPEG2 in an application of my own, so I'm trying to understand how MX Player does it.
Thanks for any info,
Tim
Related
So, MX Player appears to have hardware decoding, but you have to side load the Intel codecs.
I am right now watching live sports through my HRHomerun Prime using this method.
1) Install MX Player from the market MX Player Free On Google Play
2) Side Load the Intel Hardware Codec from MX Player Side Load
3) Install the AC3 audio Codec from
XDA MX Player AC3 Audio Codec
To Watch HDHomerun Prime channels with the method play the network stream
http:// [ IP Address ]:5004/auto/v[channel number]
Ex: http://192.168.1.150:5004/auto/v817 (CNN)
My device is a Samsung Galaxy Tab S 8.4 using Lollipop 5.02
I use MX Player Pro for decoding RTP-Streams from the ip-tv platform t-Entertain in Germany. These RTP-Streams uses MPEG-4 AVC/MEG-4 part 10 Codec.
I also own a NAS containing all my videos. Streaming videos from NAS using HW+ Decoder to MX Player works fine. But videos from RTP-Streams to MX-Player
do not! The reason is: MPEG-4 AVC/MPEG-4 part 10 have to decode in software mode on my device! But both streams (Nas-Videos and RTP-Streams) come from network.
There is no option in MX Player to set NAS-Streams to HW+ and RTP-Streams to SW! A workaround will be to set both to SW. But this is not state of the art!
So please give MX Player an option, to set "network streams" separate to SW or HW+ mode.
Best regards to the developers and to the Forum
Andro Uno
Andro Uno said:
My device is a Samsung Galaxy Tab S 8.4 using Lollipop 5.02
I use MX Player Pro for decoding RTP-Streams from the ip-tv platform t-Entertain in Germany. These RTP-Streams uses MPEG-4 AVC/MEG-4 part 10 Codec.
I also own a NAS containing all my videos. Streaming videos from NAS using HW+ Decoder to MX Player works fine. But videos from RTP-Streams to MX-Player
do not! The reason is: MPEG-4 AVC/MPEG-4 part 10 have to decode in software mode on my device! But both streams (Nas-Videos and RTP-Streams) come from network.
There is no option in MX Player to set NAS-Streams to HW+ and RTP-Streams to SW! A workaround will be to set both to SW. But this is not state of the art!
So please give MX Player an option, to set "network streams" separate to SW or HW+ mode.
Best regards to the developers and to the Forum
Andro Uno
Click to expand...
Click to collapse
We will try adding option for selecting decoder based on network protocol.
+1
I need to work with my nas
Tnx
Is it working by now with the individual streams from http://iptv.blog/artikel/multicastadressliste/ ?
Or does MX Player even handle one of the playlists (more akin to DVB bouquets actually) provided there (FKA http://grinch.itg-em.de/entertain/downloads/playlist.php?ETV&xspf etc.).
Hi everyone,
Hoping someone can help
I just bought an Android TV Box featuring the RK3288 SoC and I cannot get MX Player to play the standard HEVC's (Sintel, Kazu, Tears of Steel etc).
They are just resulting in a black screen with audio only using the HW decoder, I tried activating the HW+ decoder but it says it's not available.
Any ideas? The files play fine in HW mode on Kodi.
Thanks,
Steve
I dont know about tv box. HW is not supported for HEVC. SW Decoder can play HEVC in my mobile. Have you switch to sw decoder?
SW is too stuttery to be of any use. The weird thing is I know that others can playback HEVC on theis SoC on MX Player so there is obviously something I'm missing...
It depends.
H/W decoder uses android's mediaplayer API to play the video. In short it will be similar to stock player. Some devices natively support HEVC. So, they can play HEVC in H/W decoder.
In some cases, the SOC may support HEVC decoding. But, the OEM may disable it to avoid patent issue or to save licensing fees.
If it's not natively supported, S/W decoder is the only option. But, in this entire decoding will be done on CPU. So, the performance will be purely depends on CPU power. It may be laggy on HEVC/HD videos.
I have a number of videos with the following properties. Their video frame rate is 30 at 720p with codec of H.264 part 10, using Lavf57.27.100 to encode. The audio is AAC at 48kHz..
I played these videos on different number of android devices using MX Player with HW decoding. The video is delayed by a second or two. But with HW+. things seem ok.
I played these same videos on the same android devices using BS Player. The video and the audio are perfectly in sync.
How come? Please help.
BS uses a implementation similar to HW+ as default. So, you will get the result like HW+.
In HW decoder, MX Player uses the mediaplayer implementation from android itself. MX Player's control on it is very limited.
If HW+ works fine, you may just use it. From 1.9.0 HW+ will be enabled by default for all users with android 5.0+. But, HW will be the default one as usual.
Hi there, I was understanding how the MX Player handle the Decoding settings for various types of Video Formats.
I figured out that on default settings all videos are played by HW DECODER And if it fails then SW OR HW+ DECODER is used.
Android Media Framework supports H.265 VIDEO IN ONLY MPEG-4 CONTAINER as
https://developer.android.com/guide/topics/media/media-formats.html
So when I play H.265 Video in MKV CONTAINER It is still played via HW Decoder in MX Player.
How??
xdahimanshu said:
Hi there, I was understanding how the MX Player handle the Decoding settings for various types of Video Formats.
I figured out that on default settings all videos are played by HW DECODER And if it fails then SW OR HW+ DECODER is used.
Android Media Framework supports H.265 VIDEO IN ONLY MPEG-4 CONTAINER as
https://developer.android.com/guide/topics/media/media-formats.html
So when I play H.265 Video in MKV CONTAINER It is still played via HW Decoder in MX Player.
How??
Click to expand...
Click to collapse
Thanks for sharing your findings with us.
In most of the modern Android devices, android media framework can handle HEVC videos streams on Matroska container natively. It seems that this documentation is not updated to modern android versions or it is applicable only to nexus and pixel devices.
Oh.
Ok.
Thanks for solving the query.