FAQ  •  Register  •  Login

Freebox Player renderer profile [France]

<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Sun Mar 10, 2013 10:02 am

Freebox Player renderer profile [France]

Hello,

I'd like to have some help in order to create a renderer profile for the French Freebox Player (partially already discussed here : http://forum.serviio.org/viewtopic.php?f=5&t=1938). This device plays already almost everything using the generic DLNA profile of serviio BUT (and that's the purpose of my demand), how can i create a renderer profile for this device which will make it transcode files it plays already natively via the generic profile (without transcoding); i dont have any strategy to achieve this so i post this topic. i consulted this article : http://www.serviio.org/index.php?option=com_content&view=article&id=16 and tried many things already (like setting up serviio to act as WMP ...) but in fact i don't know quite much about what i need to write down in profile.xml; here is a sample of what i tried : i have the directory structure but no files are shown (everything is MKV in my movie collection) and i'm lost a little bit :cry:

Code Sample : automatic detection works (thanks to serviio DEBUG logs) ;)
  Code:
<Profile id="freeboxv6" name="Freebox Player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*fbxupnpav.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <!-- MediaFormatProfiles>
      </MediaFormatProfiles -->
      <Transcoding>
         <!-- Transcode MKV's -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video">
            <Matches container="matroska" />
         </Video>
         <!-- Audio >
         </Audio -->
      </Transcoding>
   </Profile>


The main purpose of my demand is to use a wrapper of mine which burns picture based subs (*.idx/*.sub & *.sup) to the video when transcoding because the Freebox Revolution poorly supports any kind of embedded subs (device is connected to a 2007 Samsung TV [no network on it]). My wrapper works perfectly on my second TV, a Bravia 2010 one.
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Sun Mar 10, 2013 4:13 pm

Re: Freebox Player renderer profile [France]

Alright, i was thinking that serviio needed some more in order to get the correct transcoding profiles for my MKV's, the logs are showing something else :
-> if i try to remux without transcoding, the logs are showing that serviio get the correct transcoding profiles from the generic DLNA one
-> if try to transcode , the logs are showing the same thing
=> That's by comparing these 2 situations that i started to think the problem is probably elsewhere : a complete directory structure (both local and online) without any file shown ...

So at that point i conclude the problem is the file listing on the device by the server and i'm starting to ask myself if it's possible at this time to solve this problem ...

Zip and DLNA masters, i'm sorry to annoy you like that but could you clarify the situation for me please, thank you ...

NB : the Freebox Player is invisible to DeviceSpy for UPNP Tools !
Last edited by ne0zone75 on Sun Mar 10, 2013 10:57 pm, edited 1 time in total.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Mar 10, 2013 5:07 pm

Re: Freebox Player renderer profile [France]

Does windows media player DLNA server works with Freebox Player ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Sun Mar 10, 2013 6:49 pm

Re: Freebox Player renderer profile [France]

Good evening Illico. Do you you mean serviio acting as WMP sharing or WMP sharing from any Windows OS ? In the first case, no ... but i managed to list my movies as pictures (serviio show files in video section as pictures because of the presence of thumbnails). In the second case i don't know because i'm running Linux (with Oracle JAVA and compiled ffmpeg [11.3], x264 & libvpx from latest snapshots [rtmpdump from the repositories]) and i don't run any version of physical Windows version ... only a XP Pro virtual one from which i run DeviceSpy for UPNP Tools and other utilities) ... i'll try to set up WMP sharing in the virtual machine, check if the Freebox Player see it and let you know about ...

Thank you for your fast answering
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Mar 10, 2013 7:19 pm

Re: Freebox Player renderer profile [France]

If Windows Media Player works with Freebox player, we can try to configure serviio like WMS, like this :

  Code:
   <Profile id="freeboxv6" name="Freebox Player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*fbxupnpav.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <!-- act as WMP so that the TV doesn't show root categories -->
         <ModelName>Windows Media Player Sharing</ModelName>
         <ModelNumber>12.0</ModelNumber>
         <Manufacturer>Microsoft Corporation</Manufacturer>
      </DeviceDescription>
      <!-- MediaFormatProfiles>
      </MediaFormatProfiles -->
      <Transcoding>
         <!-- Transcode MKV's -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video">
            <Matches container="matroska" />
         </Video>
         <!-- Audio >
         </Audio -->
      </Transcoding>
   </Profile>

You can also try with <ModelNumber>3.0</ModelNumber>

You have to restart serviio services for modification to take effect...
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Mar 10, 2013 7:23 pm

Re: Freebox Player renderer profile [France]

But I not sure to understand. You said that the Freebox Player works with "Generic Profile", isn't it?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Sun Mar 10, 2013 8:52 pm

Re: Freebox Player renderer profile [France]

That's correct , the Freebox Player works perfectly with the generic DLNA profile (so without the ability to transcode) => serviio provides audio & subs track selection BUT (and that's my problem) no subs are displayed ... it's not because of serviio but because of the Freebox Player which lacks any decent subtitles support (i have the same problem when the files are stored in the device itself [on the Freebox Server in fact : a hardware DLNA server which is also an Internet modem/gateway, the Freebox Player is just a renderer but cannot work without the server part]) that's why i'd like to use my wrapper, providing burned picture based subs to my Bravia TV already, with the Freebox Player because of the subs issue ...
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Sun Mar 10, 2013 9:40 pm

Re: Freebox Player renderer profile [France]

Alright ... i've just installed Windows 7 x86 inside a new virtual machine and very good news, the Freebox Player sees Windows 7 WMP 12 sharing :D Here is a picture i've just took :

Image

The negative part of the story is that serviio (acting as WMP 12 sharing with the modifications you suggested included in profile.xml) stiil does not show my files :cry: ... only an empty and complete directory structure ...

Any ideas folks ?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Mar 11, 2013 8:02 am

Re: Freebox Player renderer profile [France]

Désolé, je n'y comprends rien...

Do you use serviio PRO version with "Controlling access to shared content" feature ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Mon Mar 11, 2013 10:10 am

Re: Freebox Player renderer profile [France]

Absolutely, i'm using serviio Pro ... i did not know there was a feature such as "controlling access to shared content" :?: ... on which tab of the serviio for Linux console is it ? Also i've found that 2 years old topic elsewhere in this Forum, which is very instructive : http://forum.serviio.org/viewtopic.php?f=5&t=1747 and i've searched for the Freebox Player on the DLNA website (http://www.dlna.org/consumer-home/look-for-dlna/product-search) and get no result from the DLNA database :cry: (DeviceSpy does not see the device)

I've found an exhaustive list of its mime-types over the Web (it comes from the MediaTomb Forum if i correctly remember) :

  Code:
        <map from="avi" to="video/x-msvideo"/>
        <map from="flv" to="video/x-flv"/>
        <map from="mkv" to="video/x-matroska"/>
        <map from="m2t" to="video/mp2t"/>
        <map from="m2ts" to="video/mp2t"/>
        <map from="mp4" to="video/mp4"/>
        <map from="mov" to="video/quicktime"/>
        <map from="mts" to="video/mp2t"/>
        <map from="ts"  to="video/mp2t"/>
        <map from="wmv" to="video/x-ms-wmv"/>
        <map from="mpa" to="video/mpeg"/>
        <map from="mpe" to="video/mpeg"/>
        <map from="mpeg" to="video/mpeg"/>
        <map from="mpg" to="video/mpeg"/>
        <map from="mpv2" to="video/mpeg"/>
        <map from="ogv" to="video/ogg"/>
        <map from="ogm" to="video/ogg"/>
        <map from="wmv" to="video/x-ms-wmv"/>
        <map from="wmv" to="video/x-ms-wmv"/>
       
        <map from="flac" to="audio/x-flac"/>
        <map from="mka" to="audio/x-matroska"/>
        <map from="mp2" to="audio/mpeg"/>
        <map from="mp3" to="audio/mpeg"/>
        <map from="oga" to="audio/ogg"/>
        <map from="wma" to="audio/x-ms-wma"/>
       
        <map from="jpe" to="image/jpeg"/>
        <map from="jpeg" to="image/jpeg"/>
        <map from="jpg" to="image/jpeg"/>
        <map from="gif" to="image/gif"/>
        <map from="png" to="image/png"/>
       
        <map from="ogg" to="application/ogg"/>
        <map from="ogx" to="application/ogg"/>
       
        <map from="3gp" to="video/3gpp"/>
        <map from="asf" to="video/x-ms-asf"/>
        <map from="asr" to="video/x-ms-asf"/>
        <map from="asx" to="video/x-ms-asf"/>
        <map from="lsf" to="video/x-la-asf"/>
        <map from="lsx" to="video/x-la-asf"/>
        <map from="movie" to="video/x-sgi-movie"/>
        <map from="qt" to="video/quicktime"/>
        <map from="rv" to="video/vnd.rn-realvideo"/>
        <map from="wm"  to="video/x-ms-wm"/>
        <map from="wmx" to="video/x-ms-wmx"/>
        <map from="wvx" to="video/x-ms-wvx"/>

        <map from="aif" to="audio/x-aiff"/>
        <map from="aifc" to="audio/x-aiff"/>
        <map from="aiff" to="audio/x-aiff"/>
        <map from="au" to="audio/basic"/>
        <map from="kar" to="audio/midi"/>


Maybe it can help if the trouble comes from a mime-types naming problem but i don't know how to correctly rename it : what i'd like to do is to transcode MKV's (which play if i don't transcode them [generic DLNA profile or mine]) to some container and send them to the Freebox Player.

Bonne journée à tous :)

PS : Que ne comprends-tu pas Illico ?
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Mon Mar 11, 2013 5:27 pm

Re: Freebox Player renderer profile [France]

In order to be a little bit more clear about this specific problem, if i try this :

  Code:
   <Profile id="freeboxv6" name="Freebox Player" extendsProfileId="1" alwaysEnableTranscoding="true">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*fbxupnpav.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp2t">MPEG_TS_SD_EU_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp2t">MPEG_TS_SD_NA_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp2t">MPEG_TS_SD_KO_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- Transcode MKV's with H264 level > 3.2 -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000">
            <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="3.2" />
         </Video>
         <!-- Do not transcode what is left -->
         <!-- Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15000">
            <Matches container="matroska" />
         </Video -->
      </Transcoding>
   </Profile>


Then my movie collection is splitted in two parts : the first one is transcoded by serviio and the second one is not transcoded => On the Freebox Player only files in the second category are shown in the directory structure, the first one simply disappears ... is it a mime-type naming problem ? ... Now, i think so but the lines with "<MediaFormatProfile mime-type="video/mp2t">MPEG_TS_SD_*_ISO</MediaFormatProfile>" which tries to let the Freebox Player show and play the transcoded MKV's by renaming the mime-type used by serviio for MPEG-TS by the MPEG-TS mime-type of the renderer (mp2t) does not work like i'd like to (i'm not sure about the syntax ... does anybody can tell me how to do that ... mime-type mapping ...); or is it something else ?!?

i'll will really appreciate some more help ...
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Tue Mar 12, 2013 4:22 pm

Re: Freebox Player renderer profile [France]

Just to let you know, this problem is solved ! I have now a profile which is compatible with the Freebox Player for transcoding to it (i know it's only for specific needs); here comes the profile for MKV's :

  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>


CAUTION : There is two important things

-> The use of "<ProtocolInfo>simple</ProtocolInfo>" is just a workaround i think : it's mandatory for this device to list transcoded files in the directory tree (that was the problem i directly encountered), in addition you must uncheck "Generate thumbnails for local videos" and "Look for a local DVD cover image or poster" in the metadata tab of serviio console and if you set "Descriptive metadata" on you must also uncheck "Retrieve DVD cover image or poster". Otherwise your movies will be identified as pictures on the Freebox Player and will not be playable.
-> For my video files, the fact of re-encoding audio tracks to AC3 is mandatory too because if not, the device will play the transcoded files fine but without any sound if audio track is DTS (my movies only have AC3 or DTS audio) ... maybe audio copy for the transcoding process works with anything else than AC3 ... i don't know)

So, from now i can use my wrapper to burn picture based subs to the transcoded serviio output on my Freebox Player and Bravia 2010 TV which was my goal :D

Thanks for the help you provided to me,

Have a nice day



PS : You can mark this topic as [SOLVED] if you want to ...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 12, 2013 7:04 pm

Re: Freebox Player renderer profile [France]

ne0zone75 wrote:in addition you must uncheck "Generate thumbnails for local videos" and "Look for a local DVD cover image or poster" in the metadata tab of serviio console and if you set "Descriptive metadata" on you must also uncheck "Retrieve DVD cover image or poster". Otherwise your movies will be identified as pictures on the Freebox Player and will not be playable.

I remember some other device had the same problems, does it work correctly for music and audio with the thumbnails, or those must be disabled too?

I could add a profile tag to disable thumbnails.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Mar 12, 2013 7:25 pm

Re: Freebox Player renderer profile [France]

Bravo ne0zone75, good job !
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Tue Mar 12, 2013 8:10 pm

Re: Freebox Player renderer profile [France]

Good evening,

zip wrote:I remember some other device had the same problems, does it work correctly for music and audio with the thumbnails, or those must be disabled too?

zip and Illico, every thumbnail checkbox must be unchecked in video, audio & image tabs from the metadata tab otherwise thumbnails are displayed instead of playing the files (video & audio) or showing the picture (image) ;)

zip wrote:I could add a profile tag to disable thumbnails

zip, I think that if you add such a tag, it may be very usefull to users who have multiple renderers (with one which need to be configured like i do) because from now my Bravia TV does not have any thumbnails anymore ... except for online resources and those are not playable on the Freebox Player for the reason mentionned above ...

Thank you to you two for taking care of that thread,

@ Bientôt
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 13, 2013 10:34 pm

Re: Freebox Player renderer profile [France]

Ticket created. https://bitbucket.org/xnejp03/serviio/i ... es-serving

Would be cool if you follow that ticket and sign up for beta when it's resolved :-)
<<

ne0zone75

User avatar

Streaming enthusiast

Posts: 29

Joined: Thu Feb 28, 2013 10:04 pm

Location: France

Post Fri Mar 15, 2013 6:38 am

Re: Freebox Player renderer profile [France]

zip wrote:Ticket created. https://bitbucket.org/xnejp03/serviio/i ... es-serving

Would be cool if you follow that ticket and sign up for beta when it's resolved :-)

Hello zip, yes i'll follow that ticket for sure ;) I've already registered for beta ... betatesters usergroup in user control panel ?

Have a nice day 8-)

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 21 guests

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