FAQ  •  Register  •  Login

HTML5 profile alternatives

<<

kiwi

Serviio newbie

Posts: 4

Joined: Wed Mar 11, 2015 9:56 am

Post Mon Mar 16, 2015 9:30 am

HTML5 profile alternatives

hi,

I have the current profile for html5:
  Code:
<Profile id="html5" name="HTML5" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
      <Transcoding>         
         <Audio targetContainer="mp3">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="lpcm" />
            <Matches container="adts" />
            <Matches container="asf" />
            <Matches container="wavpack" />
                <Matches container="mpc" />
                 <Matches container="ape" />
         </Audio>
      </Transcoding>   
      <OnlineTranscoding>
         <!-- by default transcode for ios / android devices -->
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac" forceStereo="true">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>

      <ThumbnailsResolution>HD</ThumbnailsResolution>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>


but I would love to have some alternative Qualties for low/medium but in the same codec, but I can't seem to find the settings for that.
Can anyone tell me how to get also the Medium / Low Quality stream? like the default flv (original, medium, low)

original stream url:

http://ws33177.sidmar.be:23424/cds/resource/8/MEDIA_ITEM/AVC_MP4_MP_HD_1080i_AAC-0/ORIGINAL?profile=html5
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Mar 16, 2015 1:09 pm

Re: HTML5 profile alternatives

Not sure what you are trying to do but have a look at the config\application-profiles.xml file for plenty of examples, looking at the <AlternativeQualities> tag. Only works for applications (not DLNA renderers) and the application must be designed to make the request on the server for the different quality. AFAIK, only works for Video, not audio, but could be wrong on this.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

kiwi

Serviio newbie

Posts: 4

Joined: Wed Mar 11, 2015 9:56 am

Post Mon Mar 16, 2015 1:16 pm

Re: HTML5 profile alternatives

I've been looking at the examples but none of them seem to do what I want.

But some tests resulted in the following:
When saving the file on the 'Original' stream it gave me a .mp4 file
When saving any AlternativeQualities I configured (via the examples in application-profiles) it always returned in something else (.mpeg, ttf, ...)

And with the player i'm using, it seems like only the mp4's can be played. So I would love to have a lower quality stream, so when accessing on mobile they don't have to stream the 1080p file that the desktop get's.

All my requests for the stream are done via the API.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 16, 2015 10:09 pm

Re: HTML5 profile alternatives

It's not possible to transcode on the fly to mp4 - so for HTML5 player you can only use the original quality (for your mp4 files, without transcoding), or transcode to HLS - which only works in Apple OS / browsers.
<<

kiwi

Serviio newbie

Posts: 4

Joined: Wed Mar 11, 2015 9:56 am

Post Tue Mar 17, 2015 7:22 am

Re: HTML5 profile alternatives

Ah that's a bummer. well thanks anyway!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 15 guests

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