Page 1 of 1

NEW android renderer

Posted: Tue Dec 18, 2012 5:32 pm
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~~

Re: NEW android renderer

Posted: Tue Dec 18, 2012 8:11 pm
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.

Re: NEW android renderer

Posted: Wed Dec 19, 2012 12:18 am
by 888jonathan
Got it!! ;)

Re: NEW android renderer

Posted: Mon Jan 07, 2013 10:04 am
by SubJunk
Thanks, 888jonathan :)
ExSport, do you think we should use this one, or merge some of the changes?

Re: NEW android renderer

Posted: Wed Jan 09, 2013 5:29 am
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....)

Re: NEW android renderer

Posted: Thu Feb 28, 2013 5:27 am
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.

Re: NEW android renderer

Posted: Thu Feb 28, 2013 3:24 pm
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. :)