FAQ  •  Register  •  Login

Profile for Support of Android Devices

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jun 29, 2012 4:36 am

Profile for Support of Android Devices

Android Devices are capable of being DLNA Renderers communicating directly via DLNA with Serviio to access its files and streams.

This only requires the installation of UPnP software on the Android device and the addition of a device profile to the Serviio profiles.xml file.

While there are other possible combinations, the BubbleUPnP Renderer, combined with the MX Video Player, and the attached "BubbleUPnP" profile play all variations of file containers and codecs without transcoding on my Nextbook 7 Android 2.3 ARMv7 cpu device, plus all my online streams with limited transcoding.

It would be of value to know if this profile supports other Android and CPU versions with simlar results.

EDIT:
Confirmed below to also work with:

Galaxy tab 10.1
HTC EVO 3D
eeepad Transformer TF300 Tegra3
Attachments
Android_Profile.txt.zip
Android Profle V1 6/29/12
(664 Bytes) Downloaded 4504 times
Last edited by jhb50 on Mon Jul 23, 2012 5:12 pm, edited 1 time in total.
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Tue Jul 03, 2012 8:30 pm

Re: Android Support

Testing with my tablet now... Galaxy tab 10.1
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

molitar

Serviio newbie

Posts: 12

Joined: Fri Jul 06, 2012 5:10 pm

Post Fri Jul 06, 2012 9:25 pm

Re: Android Support

Thanks for this information.. I have an HTC EVO 3D and it is working great.
<<

scapman

Serviio newbie

Posts: 4

Joined: Wed Jun 23, 2010 7:17 am

Post Mon Jul 09, 2012 12:02 pm

Re: Android Support

Great post!

I have tried it out with my Asus eeepad Transformer TF300 Tegra3.

With the combination of BubbleUPnP Renderer and MX Video Player I could not listen to DTS or AC3 sound.
Could see al formats but wouldn't listen.

I solved using DicePlayer instead.

Everything now works perfectly and smoothly...

Thanks again!!
<<

loop

Serviio newbie

Posts: 4

Joined: Wed Mar 07, 2012 12:11 pm

Post Mon Jul 09, 2012 12:53 pm

Re: Android Support

scapman wrote:Great post!

I have tried it out with my Asus eeepad Transformer TF300 Tegra3.

With the combination of BubbleUPnP Renderer and MX Video Player I could not listen to DTS or AC3 sound.
Could see al formats but wouldn't listen.

I solved using DicePlayer instead.

Everything now works perfectly and smoothly...

Thanks again!!


Not sure if this could be the cause, but MX Player recently removed support for DTS sound
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Wed Jul 11, 2012 3:49 am

Re: Android Support

I've had issues with MX player. DicePlayer seems to work better, specially with hardware decoding option.

I have a Samsung Galaxy Tab 10.1.

Online/Live streams don't seem to work well. They load just fine when using VLC/XBMC on computer, but don't work on tablet.
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 11, 2012 1:50 pm

Re: Android Support

Online Streams work fine for me using MX player. I have found that it takes MXPlayer up to a minute to decide if it can use hw decoding on my 7" Nextbook but if I set the default to sw decode it plays within seconds.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Jul 23, 2012 5:14 pm

Re: Profile for Support of Android Devices

Updated Title and added list of Devices Confirmed to work.
<<

lollylegs

Serviio newbie

Posts: 1

Joined: Sun Jul 29, 2012 6:23 am

Post Sun Jul 29, 2012 6:28 am

Re: Profile for Support of Android Devices

Just got it working on a Galaxy Tab II 10.1.

Had to use it with Dice Player, default video player & MX Player would not play the streams from Serviio over WiFi. They would play fine if I downloaded the file to the device, but not over WiFi - would get stuttering video (ie play 1sec pause for 5sec, etc). But with Dice Player it works perfectly.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Jul 29, 2012 4:03 pm

Re: Profile for Support of Android Devices

Would you try downloading and playing this video?

http://www.filedropper.com/testavcac312sec
<<

Bravia-Ex7

Serviio newbie

Posts: 6

Joined: Thu Aug 25, 2011 1:31 pm

Post Tue Oct 02, 2012 10:57 am

Re: Profile for Support of Android Devices

Hi guys,

I have a Galaxy Player 5.0 (YP-G70C/NAW) and I have been trying to get it to play my video files using Serviio but it has problems playing multi-track audio (AAC/AC-3/DTS 5.1 channels). I have been using the aVia Media Player with the MX PLayer (I'll try the DicePlayer next) but they have not done that great of a job. So I was wondering if this profile is able to turn AAC/DTS/AC-3 5.1 audio into stereo and 1080p video down to 720p so that my player can play them? If not how can I modify it to make it do that? :?

My specs are similar to a Galaxy S I or II:

Galaxy Player Specs:
Android OS: Android 2.3.5 Gingerbread
Display Resolution: WVGA (800 x 480)
Video: AVI, MP4, 3GP, WMV, ASF, MKV, FLV
Audio: MP3, WMA, Ogg, FLAC, AAC, WAV
Pictures: JPEG, GIF, BMP, PNG
Network: Wi-Fi 802.11b/g/n - DLNA/AllShare
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Oct 02, 2012 2:32 pm

Re: Profile for Support of Android Devices

The formats supported by Android are documented in http://developer.android.com/guide/appendix/media-formats.html.

Currently the profile plays all files natively, but you can add a section immediately after <Transcoding> to invoke transcoding.

For audio you can transcode to mp3, and for the video you can transcode to mpeg2video and limit the resolution using the maxHeight option. In your case to your screen size of 480. I also limit the bitrate to ensure it does not overload the device.

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video"  maxHeight="480" maxVBitrate="3000" targetACodec="mp3" forceStereo="true" aSamplerate="44100" >
   <Matches container="*" />
</Video>


While Android support does not include mpeg2video, it is needed for DLNA playback. The MX player (and most others) does support it with SW decoding and it plays great.
<<

chronosghost

Serviio newbie

Posts: 1

Joined: Fri Oct 05, 2012 11:56 am

Post Fri Oct 05, 2012 12:48 pm

Re: Profile for Support of Android Devices

jhb50 wrote:While Android support does not include mpeg2video, it is needed for DLNA playback. The MX player (and most others) does support it with SW decoding and it plays great.
It's not correct, others media server transcoders how mint media server o plex use h264 codec in mpegts and tablets with android and tegra 2 can play movies with hw decoding. it's needed for DLNA playback in serviio.

With that, serviio is a great server transcoder. And excuse my english please.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Oct 05, 2012 5:38 pm

Re: Profile for Support of Android Devices

chronosghost wrote:
jhb50 wrote:While Android support does not include mpeg2video, it is needed for DLNA playback. The MX player (and most others) does support it with SW decoding and it plays great.
It's not correct, others media server transcoders how mint media server o plex use h264 codec in mpegts and tablets with android and tegra 2 can play movies with hw decoding. it's needed for DLNA playback in serviio.

You misunderstood my post. In the context of wanting to downscale the resolution, transcoding to mpeg2video is necessary, and requires software support from a player to do so via DLNA in the absence of Android support. As the Android documentation that I cited says, and you have repeated,it is capable of playing native h264 if you do not want to change the attributes.
<<

Bravia-Ex7

Serviio newbie

Posts: 6

Joined: Thu Aug 25, 2011 1:31 pm

Post Tue Oct 09, 2012 6:37 am

Re: Profile for Support of Android Devices

Sorry for the late reply, I'll be testing your suggestions and modifying as needed. Thanks... ;)
<<

Swehawk

Serviio lover

Posts: 70

Joined: Mon Oct 10, 2011 8:08 pm

Post Wed Mar 06, 2013 6:15 pm

Re: Profile for Support of Android Devices

@jhb50:I tried to add your Android profile + the transcoding options you suggested (cause I have a cheap Rockchip single core tablet), but Serviio won't even run! I can't find anything wrong in the profiles.xml though. Strange! Any suggestions?
<<

jvingaard

Serviio newbie

Posts: 5

Joined: Thu Sep 20, 2012 6:19 pm

Post Wed Mar 06, 2013 7:01 pm

Re: Profile for Support of Android Devices

Swehawk wrote:@jhb50:I tried to add your Android profile + the transcoding options you suggested (cause I have a cheap Rockchip single core tablet), but Serviio won't even run! I can't find anything wrong in the profiles.xml though. Strange! Any suggestions?


Found an error in the profile that cause Serviio not to start.

<SubtitlesMimeType>text/srt</SubtitlesMimeType>

replace with:

<Subtitles>
<SoftSubs mime-type="text/srt" />
</Subtitles>
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Mar 06, 2013 8:52 pm

Re: Profile for Support of Android Devices

the subtitle lines in profiles were changed in serviio 1.2
<<

Swehawk

Serviio lover

Posts: 70

Joined: Mon Oct 10, 2011 8:08 pm

Post Fri Mar 08, 2013 6:00 pm

Re: Profile for Support of Android Devices

Works now :) Just have to find the optimal bitrate setting for my tablet.

Thanks guys!

Edit: Found it! MaxVbitrate=2000 + maxHeight=480 works lika a charm on my low spec 480x800 tablet :)
Serviio+Android+BubbleUpnp+MXPlayer(H/W-decode setting) - what a great combo....
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Sat Mar 23, 2013 12:56 pm

Re: Profile for Support of Android Devices

jhb50 wrote:Android Devices are capable of being DLNA Renderers communicating directly via DLNA with Serviio to access its files and streams.

This only requires the installation of UPnP software on the Android device and the addition of a device profile to the Serviio profiles.xml file.

While there are other possible combinations, the BubbleUPnP Renderer, combined with the MX Video Player, and the attached "BubbleUPnP" profile play all variations of file containers and codecs without transcoding on my Nextbook 7 Android 2.3 ARMv7 cpu device, plus all my online streams with limited transcoding.

It would be of value to know if this profile supports other Android and CPU versions with simlar results.

EDIT:
Confirmed below to also work with:

Galaxy tab 10.1
HTC EVO 3D
eeepad Transformer TF300 Tegra3

I have a samsung galaxy i9001 s plus, I used this profile with bubblupnp and mx player, but when I played mkv with dts still I did not get Audio , I am using serviio 1.2. Thanks for any help or info

<Profile id="Android" name="BubbleUPnP" extendsProfileId="1" >
<Detection>
<HttpHeaders>
<X-AV-Client-Info>BubbleUPnP?.*</X-AV-Client-Info>
</HttpHeaders>
</Detection>

<Transcoding>
<Audio targetContainer="mp3">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="lpcm" />
<Matches container="adts" />
<Matches container="asf" />
</Audio>
</Transcoding>

<OnlineTranscoding>
<!-- NOTE: Other rules are inherited from profile 1 -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="4000">
<Matches container="flv" vCodec="vp6" />
<Matches container="asf"/> <!-- to support mms:// streams -->
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" >
<Matches container="flv"/>
<Matches container="mp4"/>
</Video>
</OnlineTranscoding>

<Subtitles>
<SoftSubs mime-type="text/srt" />
</Subtitles>
</Profile>
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 33 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.