Page 1 of 1

HTML5 profile alternatives

PostPosted: Mon Mar 16, 2015 9:30 am
by kiwi
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

Re: HTML5 profile alternatives

PostPosted: Mon Mar 16, 2015 1:09 pm
by DenyAll
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.

Re: HTML5 profile alternatives

PostPosted: Mon Mar 16, 2015 1:16 pm
by kiwi
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.

Re: HTML5 profile alternatives

PostPosted: Mon Mar 16, 2015 10:09 pm
by zip
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.

Re: HTML5 profile alternatives

PostPosted: Tue Mar 17, 2015 7:22 am
by kiwi
Ah that's a bummer. well thanks anyway!