FAQ  •  Register  •  Login

how to add a profile on Serviio 1.6.1

<<

jocker50

Streaming enthusiast

Posts: 23

Joined: Tue May 12, 2015 12:37 pm

Post Tue Apr 05, 2016 9:33 pm

how to add a profile on Serviio 1.6.1

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>
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Apr 06, 2016 1:18 am

Re: how to add a profile on Serviio 1.6.1

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

jocker50

Streaming enthusiast

Posts: 23

Joined: Tue May 12, 2015 12:37 pm

Post Mon Apr 11, 2016 9:18 am

Re: how to add a profile on Serviio 1.6.1

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 ?
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 12, 2016 12:47 am

Re: how to add a profile on Serviio 1.6.1

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Apr 12, 2016 1:26 am

Re: how to add a profile on Serviio 1.6.1

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?
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.
<<

jocker50

Streaming enthusiast

Posts: 23

Joined: Tue May 12, 2015 12:37 pm

Post Thu Apr 28, 2016 10:03 am

Re: how to add a profile on Serviio 1.6.1

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.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 36 guests

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