NEW android renderer

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
Post Reply
888jonathan
Posts: 2
Joined: Tue Dec 18, 2012 5:26 pm

NEW android renderer

Post by 888jonathan »

I've written a new android.conf renderer file rather than using the original one.

This renderer file is for android devices with MX Player (or Moboplayer maybe), not sure if this will work for all players (this conf is not fully tested).

If anyone can, please test them for me and correct them. If it works, please add them into the new version of UMS. Thank you~ :D

Sorry for bad english~~
Attachments
Android.conf
(15.5 KiB) Downloaded 802 times
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: NEW android renderer

Post by ExSport »

From my another post:
Who has problems with transcoding in Android devices (not pure streaming!) I found out that some players (external ones) like MX Player require data sent in chunks so adding

Code: Select all

ChunkedTransfer = true
in Android.conf file is mandatory.
Internal player in Android 4.2 doesn't need it but all other external ones which we are using due to HW acceleration, subs etc. refused all transcoded file.
This parameter had no influence on internal player so I think we can use it all the time but before adding it to config I will be glad for any experience from your side.
You should fix it in your "MediaInfo enabled" version of Android.conf file ;)
Anyway good job.
Last edited by ExSport on Wed Dec 19, 2012 1:25 am, edited 1 time in total.
888jonathan
Posts: 2
Joined: Tue Dec 18, 2012 5:26 pm

Re: NEW android renderer

Post by 888jonathan »

Got it!! ;)
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: NEW android renderer

Post by SubJunk »

Thanks, 888jonathan :)
ExSport, do you think we should use this one, or merge some of the changes?
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: NEW android renderer

Post by ExSport »

Hi all
The mandatory part is:

Code: Select all

ChunkedTransfer = true
Useful is "CreateDLNATreeFaster = true" but this one is already in conf file.
I have Nexus 7 with JB 4.2.1 so can't test with another Android version if it differ but when using external programs like BSPlayer, MX Player, VPlayer, device can play anything what this player supports.
It means the best way is stream everything 8-)
And for this purpose using "StreamExtensions = ....." is the easies way how to avoid transcoding. But when we will enable MediaInfo, we should define every container/codec manually what is harder 8-)
Supported = f:mpegps|mpegts m:video/mpeg (I am not sure if this will stream .TS and .M2TS files (mpeg2 or h264) natively)
Supported = f:mp4 m:video/mp4
Supported = f:avi m:video/x-msvideo
Supported = f:mkv m:video/x-matroska
Supported = f:rm m:application/vnd.rn-realmedia
Supported = f:rmvb m:application/vnd.rn-realmedia-vbr

In an example we should add eg. OGG/OGM, DivX (not all DivX/XviD files ends with .AVI extension),...
But it is a good start. It is harder to be defined than defining extensions for streaming but enabling MediaInfo has another pros (using MediaInfo library instead of ffmpeg etc....)
acrespo
Posts: 2
Joined: Thu Feb 28, 2013 5:09 am

Re: NEW android renderer

Post by acrespo »

Have you test this with external subtitles (.SRT)? The original android.conf can play video and audio without problems but subtitles is not appearing for me.
I am using BubbleUpnp with BSPlayer and MX Player Pro.
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: NEW android renderer

Post by kuroukage »

I was having a discussion about this in another post. I think the renderer needs to be updated. I was having trouble using BubbleUPnP + Vplayer with my Galaxy S3. Would be nice to be able to stream to my phone. :)
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
Post Reply