[Q] Check if the media player in device is playing and if it is buffering - General Topics

Hello,
I am developing an ANDROID app that is **NOT** going to play any video or audio but wants to listen if any video or audio is playing in the android device.
If yes, then whether the media player is buffering the media (and for how many times and how long each time) and when is the media player is done playing the media so that I can act upon the data collected.
I know there is a method AudioManager.isMusicActive() but it does not always return on all devices. Also, even if I have this information how can I interact with already running MediaPlayer and its Playback states?
Regards,
Ashish

Related

mms:// streaming video playback issues on windows mediaplayer

Hi guyz,
i was trying to watch some mms streams , no luck with TCPMP it says mms protocol not supported even after tweaking the buffer etc as per some suggestions. Mplayer seems to work has excellent video playback but no audio and even the app is very unstable.
Windows media player is the only player that works for both audio and video but the video playback is very poor its jerky its definitely not bcoz of the internet bandwidth it has the same behaviour even with my wifi .
have tried many of the media players w/o any luck , only other player that worked was conduits player but i had the same video play back issue guess it embeds windows media player it it.
does any of you guyz have any suggestions for correcting ther video playback on Windows media player or any othert media player that can handle mms urls smoothly ?
hope to hear from some of you guysz
thnx
Anil
anyone have an idea abt this issue?

[Q] Streaming video player?

Hi there Basically I need a streaming video player for Android that supports lots of video formats. The functionality I need is to be able to add URLs of streaming media files to the app to be played. I know video playback is a problematic topic for Android users - it was much simpler on WM via TCPMP. So until CorePlayer for Android is out what are the alternatives for playing streaming video on Android phones?

[Bug] Double Audio on Resume

Bug Description:
When resuming playback, double audio occurs (few ms delay on the echo/replay).
It does not happen when playing from the beginning and seeking.
Seeking, play/pause and changing render from hw, hw+, soft do not make a difference.
The only way to avoid the issue is to not resume playback, start from the beginning and seek to where it last was.
Environment:
I run MX Player off a Hisense Android 4.2.2 TV.
I use BubbleUPnP to offer network access to my media, I do not transcode since MX Supports the native formats.
I use Universal Media Server as the UPnP source
htmltag said:
Bug Description:
When resuming playback, double audio occurs (few ms delay on the echo/replay).
It does not happen when playing from the beginning and seeking.
Seeking, play/pause and changing render from hw, hw+, soft do not make a difference.
The only way to avoid the issue is to not resume playback, start from the beginning and seek to where it last was.
Environment:
I run MX Player off a Hisense Android 4.2.2 TV.
I use BubbleUPnP to offer network access to my media, I do not transcode since MX Supports the native formats.
I use Universal Media Server as the UPnP source
Click to expand...
Click to collapse
This looks like a device specific issue, I will try to contact device manufacturer.
Also if you would contact Hisense as a customer, we may have better chances to make them check if it is a device bug.
Thanks

Video Player with airplay audio output?

Hi everybody,
I've got a couple of airplay speakers in my apartment which I mainly use to play music from my synology nas. I also have allstream installed on my android devices. It streams the device's entire audio via airplay (root required). Unfortunately this only really works for music. Because when playing videos the sound is delayed. I tried to work around this issue using diceplayer which lets you adjust the sound delay. But once synchronized it does not stay synchronous as the delay on the airplay sound does not seem to be fixed (despite being configured to have a certain value in milliseconds in the allstream settings).
When I tested playing videos outputting the audio via airplay on an ios device I was surprised how flawlessly it worked (tested it with the youtube app). I am aware that airplay is developed by apple and is originally intended for apple devices. Anyhow it would be really nice to have an android video player which can output the videos' sound via airplay. Does anybody know if such a player exists or have any other idea for a workaround?
I hope I posted in the right forum. Wasn't too sure..
Thanks for listening

Multi-Video track feature ('Video' track selection, not Audio) on MX Player Pro

This is regarding some playback features that are unavailable, but partially visible through information menu.
On one hand, selecting information menu, all Video streams (or tracks), including Audio can be seen for an mkv container. Example as in shared attachment, Stream#1: Whiplash (2014)_FHD versus Stream#2: Whiplash (2014)_4k. However, there seems be no apparent way to select/switch to a specific Video stream. In this case Stream#2 - 4k HDR one over 1080p. It defaults only to main track 1 which is forced flagged. One can readily access/switch between Audio tracks, but is not given any such option for Video tracks.
Players such as KODI for example have this kind of feature for quite some time now. Playback of multi-video tracks is possible as one can seamlessly switch between stream using default keyboard shortcuts or Keymap Editor for custom keys/switches. Video stream switching can be done during playback, while maintaining played timeline status. Example, Stream #1 was playing at 32m:03s:500ms. When switched to Stream #2, it plays from the exact same position seamlessly. Another example of this is using more efficient players like MPC – BE on Windows, which works even more accurately. Both Videos are synced fairly accurately during switching.
I really like the playback efficiency of MX Player Pro over KODI which is bulky for most part. This is just one nagging issue that forces me to use KODI in such scenarios. Here, I am referring to playback from Media Servers such as Jellyfin with External Player support activated for MX Player Pro.
I would like to know if there is any such option or plugin that can make this possible.

Categories

Resources