Page 1 of 1

how to add a profile on Serviio 1.6.1

PostPosted: Tue Apr 05, 2016 9:33 pm
by jocker50
hello,

we can add you to file this profile " Profile Serviio "
if so how is it done?
Thank you for your reply.


<Profile id="Tv ikea" name="Tv ikea" extendsProfileId="1">


The following types of files can be played under (Video).
Memory Stick Video Format
- MPEG-4 SP (AAC LC)
- H.264/MPEG-4 AVC High Profile (AAC LC)
- MPEG-2 TS(H.264/MPEG-4 AVC, AAC LC)
MP4 file format
- H.264/MPEG-4 AVC High Profile (AAC LC)
MPEG-1 (MPEG Audio Layer 2)
MPEG-2 PS (MPEG2 Audio Layer 2, AAC LC, AC3(Dolby Digital), LPCM)
MPEG-2 TS (MPEG2 Audio Layer 2, AC3(Dolby Digital), AAC LC)
MPEG-2 TS (H.264/MPEG-4 AVC, AAC LC)
AVI
- Motion JPEG (Linear PCM)
- Motion JPEG (mu-Law)
AVCHD (.m2ts / .mts)
DivX
WMV
- VC-1(WMA Standard V2) -->
<Detection>
<HttpHeaders>
<X-AV-Client-Info>.*Tv ikea.*</X-AV-Client-Info>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="matroska" vCodec="vp8" />
<Matches container="*" vCodec="h265" />
</Video>
<!--
remux MKV with any video to MPEG2TS and possibly change audio to ac3, also AVI and FLV with H264
-->
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" />
<Matches container="avi" vCodec="h264" />
<Matches container="flv" vCodec="h264" />
<Matches container="3gp" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
</Video>
<Video targetContainer="mpegts" >
<Matches container="wtv" />
<Matches container="asf" vCodec="mpeg2video"/> <!-- dvr-ms -->
</Video>
<!-- all other unplayable files just transcode to mpeg2 -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" aBitrate="384">
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="3gp" />
<Matches container="asf" vCodec="mpeg1video"/> <!-- dvr-ms -->
<Matches container="asf" vCodec="vc1" aCodec="wmapro"/> <!-- only 2 channel audio is natively supported -->
<Matches container="asf" vCodec="wmv2"/>
<Matches container="rm" />
</Video>

<Audio targetContainer="lpcm" aSamplerate="48000">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="adts" />
<Matches container="wavpack" />
<Matches container="mp2" />
<Matches container="mpc" />
<Matches container="ape" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="mp4"/>
<Matches container="applehttp" vCodec="h264"/>
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="asf"/> <!-- to support mms:// streams -->
</Video>
<!-- PS3 doesn't like mp3 with unlimited duration (eg online mp3 streams or streams transcoded into mp3 -->
<Audio targetContainer="lpcm" aSamplerate="48000">
<Matches container="mp3"/>
<Matches container="flv"/>
<Matches container="asf"/>
</Audio>
</OnlineTranscoding>
<LimitImageResolution>false</LimitImageResolution>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>

Re: how to add a profile on Serviio 1.6.1

PostPosted: Wed Apr 06, 2016 1:18 am
by atc98092
You can add a profile to the profiles.xml file in the config folder. Just make sure it's after the first profile and isn't inside another.

However, I think there may be issues with your XML formatting. After the first line it looks like a bunch of comments, but there's no <!-- at the beginning. Serviio will not start with any errors in the XML. I suggest using a text editor that is XML aware, such as Notepad ++, and see of all the tags line up.

Re: how to add a profile on Serviio 1.6.1

PostPosted: Mon Apr 11, 2016 9:18 am
by jocker50
hello, I can not create a new profile on this version 1.6.1 .
what's weird is that this profile ( edit ) works very well on version 1.5.2 .
can you tell me or and the problem ?

Re: how to add a profile on Serviio 1.6.1

PostPosted: Tue Apr 12, 2016 12:47 am
by atc98092
There were some changes made starting with 1.6 that slightly altered some of the profile formatting. I thought it only added new options and didn't alter existing profiles, but I could be mistaken.

I can't speak to what they were, so we'll need Zip to speak to it.

Re: how to add a profile on Serviio 1.6.1

PostPosted: Tue Apr 12, 2016 1:26 am
by DenyAll
Other than the missing <!-- at the beginning of the line "The following types of files can be played under (Video)." I cannot see anything wrong with this profile.

This profile is the same (other than the detection block) as the existing Playstation 3 profile. So rather than create your own, why not just assign the PS3 profile to your device in the Status tab of Serviio Console?

Re: how to add a profile on Serviio 1.6.1

PostPosted: Thu Apr 28, 2016 10:03 am
by jocker50
Hello,
I can not take the profile " playstation3 " because I lack of lines of code to work with my ikea tv .
I modifis of the "profile" file servvio stopped working (unable to revive the Interphace configuration) .

I also research how to run another drive " Evolution of decoder sfr"
Here are characteristic :
it can play audio file:
mpeg1 layer2 , mp3, ac3 / dolby digital , ac3 + / Dolby Didital + , aac lc and he, OGG, DTS ( pass thru) .

video file:
mkv , avi, H264 , MPEG1 , MPEG2 , MPEG4 ASP and AVC , divx , xvid , ogm , mkv .

just to say I have more to mkv jerks impossible reading.

Thank you very much for your help.