FAQ  •  Register  •  Login

Stream to Android

<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sat Jul 28, 2012 8:35 pm

Re: Stream to Android

i tried to create a profile with aac audio but the container type mpegts does not seem to be supported on my device.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jul 28, 2012 8:35 pm

Re: Stream to Android

ok, can you try this profile - it'll remux any files with ac3/mp3 audio to mpegts with aac audio

  Code:
<Profile id="android" name="Android NVidia" extendsProfileId="1">
   <Transcoding>
      <Video targetContainer="mpegts" targetACodec="aac">
         <Matches container="*" aCodec="ac3" />
         <Matches container="*" aCodec="mp3" />   
      </Video>
   </Transcoding>
</Profile>


Edit: If mpegts is not supported you'd have to transcode everything to mpeg2 - try this one first
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sat Jul 28, 2012 8:47 pm

Re: Stream to Android

"Sorry, this video cannot be played"

says the player
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jul 28, 2012 8:48 pm

Re: Stream to Android

With MX Player go to settings/decoder and select S/W audio option "use sw audio instead of h/w audio when h/w decoder is being used"
Then you won't need to transcode or mess with profiles.
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sat Jul 28, 2012 8:50 pm

Re: Stream to Android

@jhb50 dice player does that too, choppy video is the result, need something that gets hw decoded, otherwise no 720p for me, thanks for the informaton tho, did not know mx player can do hat too now
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jul 28, 2012 8:53 pm

Re: Stream to Android

Ok, transcode it to mpeg2:

  Code:
<Profile id="android" name="Android NVidia" extendsProfileId="1">
   <Transcoding>
      <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="aac">
         <Matches container="*" aCodec="ac3" />
         <Matches container="*" aCodec="mp3" />   
      </Video>
   </Transcoding>
</Profile>
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sat Jul 28, 2012 8:58 pm

Re: Stream to Android

"Sorry, this video cannot be played"

again :/

i dont really understand upnp from a technical view so this might not be possible, but cant i stream it in a mkv oder mp4 container?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jul 28, 2012 9:05 pm

Re: Stream to Android

no, only mpegts, mpegps and asf are suitable for transcoding
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jul 28, 2012 9:05 pm

Re: Stream to Android

Not to question you, but it seems to me that the minor load of sw decoding audio is not enough to cause choppy video. It also makes no sense to me that your device cannot play mpeg2video which is the simpilist of all codecs and the codec used to scale down streams. Have you tried ServiiGo? If it works or doesn't it will give you some info to fix your problems.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jul 28, 2012 9:09 pm

Re: Stream to Android

Its not working for him in ServiiGo either, Medium and Low which is mpeg2video doesn't work at al. Original, which doesn't touch the file results in choppy audio.

@hanzibanzi so do these videos play from the SD card?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sat Jul 28, 2012 9:26 pm

Re: Stream to Android

@jb50 serviigo has choppy playback on original resolution, and loading circle for ever when trying to play lower quality.
the mkv files play totally fine from the sdcard with no audio, with audio choppy playback. i am open to ideas what else could be the root of the problem.

@zip through upnp in generlal or through serviio?

@will video plays smoothly, audio is mute due to the unsupported ac3
sw decoding audio results in choppy video and audio/video desynch


imdb.com 720p trailers or revision3 hd videos play fine, locally and via webstream
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 29, 2012 7:46 am

Re: Stream to Android

Can you provide ffmpeg -i of one of the videos that does work then.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sun Jul 29, 2012 10:05 am

Re: Stream to Android

the videofile we discussed yesterday plays smoothly from sdcard *without audio*, since ac3 is unsupported.
when using diceplayer with software audio decode, playback is choppy with video/audio asynch.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 29, 2012 10:13 am

Re: Stream to Android

I ment any video that does play OK with audio on, you mentioned some youtube ones work.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sun Jul 29, 2012 10:31 am

Re: Stream to Android

Oh sry i misunderstood

here is ffmpeg -i for a 720p.mp4 file that plays without issues

eems stream 1 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '720.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
creation_time : 2010-04-20 23:33:06
Duration: 00:06:09.66, start: 0.000000, bitrate: 1919 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 115 kb/s
Metadata:
creation_time : 2010-04-20 23:33:06
Stream #0.1(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1801 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2010-04-20 23:33:06
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 29, 2012 10:56 am

Re: Stream to Android

OK. Are there any of sorts of videos that work on your device?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sun Jul 29, 2012 10:57 am

Re: Stream to Android

What do you mean by "any of sorts"?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 29, 2012 11:03 am

Re: Stream to Android

Ment to say, any other sorts of videos. E.g. avi files or mkv with different content etc.

If we are going to build a profile to transcode to something you can play, we have to know what is actually supported.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

hanzibanzi

Streaming enthusiast

Posts: 37

Joined: Thu Jul 19, 2012 9:25 pm

Post Sun Jul 29, 2012 11:07 am

Re: Stream to Android

avi(divx(xvid) plays, in sd at least, never seen a hd xvid file.

No idea, most of the streaming content on the web is mp4.

Something with h264 video codec and aac audio codec would be the best for my device. Do you want me to test anything specific?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Jul 29, 2012 11:18 am

Re: Stream to Android

The problem is that you cannot transcode to mp4 and steam it on the fly, it doesn't support it.

I'm really suprised that Low/Medium (using ServiiGo) do not work, as it drops the resolution, uses a low bitrate and uses a very simple codec which even my old HTC Wildfire could software decode.

Just having a look around and it doesn't look that promising, I'll say if I find anything.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
PreviousNext

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 39 guests

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