TC4A's TCMP doesn't play video on some devices. Are there other players using Android MediaPlayer control?

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1625
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

TC4A's TCMP doesn't play video on some devices. Are there other players using Android MediaPlayer control?

Post by *DrShark »

On some devices, TC Media Player only plays audio for video files (with extensions like .mp4).
TC's debug logs I sent on this probem in 2018 didn't help to find the reason, so for now Chrisian Ghisler's guess that it's probably codecs problem (though he also adviced to try using Android's logcat to get more details about Android MediaPlayer behavior, but I don't know how to use it, and is it even possible on phone itself without USB debug connection to PC).

However, since Android built-in player and web browsers play MP4 files on same devices fine, there is a chance that a problem may be a way in which TC Media Player uses Android MediaPlayer class.

To check it, it would be nice to try other players (compatible with Android 4.x+) which also use Android MediaPlayer interface.

However, so far I only found 1 such player distributed as compiled app (via APK file), but it's a sample project which only can play 1 file with .mp3 extension (if it is located at specified path with name mentioned in article about app, but even with this conditon it works on Android 4.3.1, but doesn't seem to work on Android 4.4 or newer; the links to project source and APK are also there), so it can't show video. Other projects I found only available as source code, and most of them are also only play audio files.
Last edited by DrShark on 2020-08-20, 11:00 UTC, edited 1 time in total.
Android 4.3.1 no root, kernel 08.09.2016; Win7 Home Premium SP1 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39974
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC4A's TCMP doesn't play video on some devices. Are there other players using Android MediaPlayer control?

Post by *ghisler(Author) »

Try using VLC, it comes with its own codecs.
Author of Total Commander
http://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1625
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: TC4A's TCMP doesn't play video on some devices. Are there other players using Android MediaPlayer control?

Post by *DrShark »

ghisler(Author) wrote:
2020-08-17, 15:50 UTC
Try using VLC, it comes with its own codecs.
As I wrote, preinstalled Android player, as well as web browsers, play the same videos fine, so required codecs are installed in system. That's why I want to check some other players that use Android MediaPlayer control and don't have own codecs: maybe it's Android MediaPlayer control bug on some devices that it can't play video part from media files, or the control is fine and there is some bug in TC Media Payer in a way it uses that control...
Android 4.3.1 no root, kernel 08.09.2016; Win7 Home Premium SP1 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
User avatar
DrShark
Power Member
Power Member
Posts: 1625
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: TC4A's TCMP doesn't play video on some devices. Are there other players using Android MediaPlayer control?

Post by *DrShark »

And TC4A shows the thumbs for video files if enabled. Does it use Android MediaPlayer component to get thumbnails?
Android 4.3.1 no root, kernel 08.09.2016; Win7 Home Premium SP1 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Post Reply