• Tag Archives serviio sharp aquos gentoo linux
  • Serviio DLNA player and my AQUOS TV

    How to configure your Serviio software to recognise the Sharp AQUOS TV.

    in the serviio software install directory, there is a directory named “config” with 2 files in it. log4j.xml and profiles.xml

    step 1) Open the profiles.xml
    Step 2) paste the “code” block from this post

    <Profile id="14" name="Sharp AQUOS" extendsProfileId="1">
       <!-- Rev. 00.20110506 (initial) - added detection, transcoding mp3 -->
       <!-- by KFL, tested on LC40LE814E fw1.08 -->
       <!-- DLNA certification http://certification.dlna.org/certs/REG52162737.pdf -->
       <!-- Supported DLNA profiles:
             Image: JPEG_MED, JPEG_SM
             Video: MPEG_PS_PAL, MPEG_TS_SD_EU, MPEG_TS_SD_EU_ISO, MPEG_TS_SD_EU_T
             Audio: LPCM
       -->
          <Detection>
          <!-- detection: User-Agent: DLNADOC/1.50 SHARP-AQUOS-DMP/1.1W -->
             <HttpHeaders>
                <User-Agent>.*SHARP-AQUOS-DMP.*</User-Agent>
             </HttpHeaders>
          </Detection>
          <MediaFormatProfiles>
             <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
             <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
             <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
          </MediaFormatProfiles>
          <Transcoding>
             <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
             <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
                <Matches container="asf" vCodec="mpeg2video" />
             </Video>
             <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
             <!--  expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.1" />
                <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.1" />
                <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" />
                <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.1" />
                <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.1" />
                <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.1" />
             </Video>
             <!-- Remux all other h264 video on MPEG-TS stream with ac3 audio transcoding -->
             <!--  expected profile AVC_TS_MP_HD_AC3_ISO -->
             <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
                <Matches container="avi" vCodec="h264" />
                <Matches container="mp4" vCodec="h264" />
                <Matches container="matroska" vCodec="h264" />
                <!-- if audio different to ac3, must be transcoded -->
                <Matches container="mpegts" aCodec="aac" />
                <Matches container="mpegts" aCodec="mp3" />
                <Matches container="mpegts" aCodec="dca" />
             </Video>
             <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
             <!--  expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                <Matches container="asf" />
                <Matches container="avi" />
                <Matches container="mp4" />
                <Matches container="matroska" />
                <Matches container="flv" />
             </Video>
             <Audio targetContainer="lpcm">
             <!-- DLNA audio: LPCM -->
                <Matches container="asf" />
                <Matches container="mp4" />
                <Matches container="flac" />
                <Matches container="ogg" />
                <Matches container="mp3" />
             </Audio>
          </Transcoding>
          <AutomaticImageRotation>true</AutomaticImageRotation>
       </Profile>
    
    

    Step 3) Restart Serviio

    If you did it correctly, you should see this line in the serviio logs:

    2011-07-12 16:56:10,535 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=14)

    Step 5) Turn off TV, wait 5 minutes
    Step 6) delete the TV as a registered device using the serviio GUI.
    Step 7) Turn on tv

    If all went correctly, you should see the TV register itself with the Aquos profile.

     2011-07-12 17:05:47,850 INFO [RendererManager] Stored a new renderer: uuid='721aac88-42f6-435a-b61f-XXXX', name = 'Sharp Aquos', ipAddress='192.168.X.XX', profile = '14'

    Enjoy !

    Mark.