HOWTO: Transcoding from serviio to Freebox Player [France]
Today i will discuss about enabling serviio transcoding to the Freebox Player (AKA Freebox v6) because i think it may be usefull to some serviio users. There will be 2 parts for this HOWTO : PART I => short version & PART II => long version (this one will be available for Windows & Linux users only ... i do not know much about Mac ...) in order to have subtitles support

PART I :
Available for every operating system supported by serviio (except NAS's) : Windows, Mac & Linux
-> STEP 1 :
* LAUNCH serviio server if not running; configure the metadata tab of the serviio console exactly like that (except for the descriptive metadata part, you can turn it on or off as you like) => UNCHECK every checkbox in video, audio & image tab (i did not provide a screenshot for the third one because it's the same than the audio one ...) => DELETE every thumbnail from the database because at this time, thumbnails prevent not the transcoding part (STEP 2) but they prevent from playing the transcoded files on the Freebox, if there are thumbs then your transcoded movies will be identified as pictures ... in the future there will maybe be a "per profile" thumbnails tag to disable them for a specificic device like the Freebox Player


* STOP serviio server now and detete carefully the cache directory from the library one (do not delete the db directory) located in the serviio home folder.
* RELAUNCH serviio server and click with your mouse on "rescan video metadata" from the metadata tab and on "force refresh" from the shared folders tab from the library one and then on "show status" to see what's going on => when lights comes from red to green then to red, at this point you can go to STEP 2

-> STEP 2 :
Simply do a "copy/paste" from this profile below to profiles.xml located in the config directory of serviio home one, and this just above the last line of this xml file (which is "</Profiles>") -> it' more convenient but your can paste the profile everywhere between two others in profiles.xml
- Code:
<Profile id="freeboxv6" name="Freebox Player" extendsProfileId="1">
<ProtocolInfo>simple</ProtocolInfo>
<Detection>
<HttpHeaders>
<User-Agent>.*fbxupnpav.*</User-Agent>
</HttpHeaders>
</Detection>
<Transcoding>
<!-- Transcode MKV's -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">
<Matches container="matroska" />
</Video>
</Transcoding>
<!-- OnlineTranscoding>
</OnlineTranscoding -->
</Profile>
Of course this example enable transcoding for MKV's just create some more lines for every filetype you want to be transcoded to the Freebox by replacing "matroska" with some other container in this line : <Matches container="matroska" /> ...
One important thing here : if audio is DTS in some your MKV (for example ... could be MP4, etc ...) then you must transcode audio also in addition to the video part (because if not the transcoded file will not have sound) : that's the purpose of this line "<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">; you can replace ac3 by aac in this line it works too

-> STEP 3 :
-> Ckeck that your subtitles are supported by serviio here : http://www.serviio.org/index.php?option=com_content&view=article&id=33
-> Configure the subtitles tab from the delivery one following your needs
-> Enable transcoding in the transcoding tab of the delivery one AND ...
Voilà

@ Bientôt
PS : PART II : will come later ... or not at all ...