Page 1 of 1

LG Smart TV 2013 Model

PostPosted: Wed Oct 02, 2013 8:13 am
by Chuzzwuzza
HI hoping someone can help me out with transcoding flac for a 2013 series LG smart TV i do have this from another post on the forum but Flac will not transcode

  Code:
<Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <!-- ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.LGProtocolHandler</ResourceTransportProtocolHandler -->
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>      
      <!--
      Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" aCodec="dca" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="flv" />
               <Matches container="asf" vCodec="wmv2"/>
               <Matches container="rm" />
               <Matches container="wtv" />
         </Video>
         <Audio targetContainer="lpcm" forceInheritance="true">
                <Matches container="flac" />
            </Audio>
      </Transcoding>-->
       <HardSubsTranscoding>
        <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" />
      </HardSubsTranscoding>
      <Subtitles>
         <SoftSubs mime-type="text/srt" />         
      </Subtitles>


Thanks

Re: LG Smart TV 2013 Model

PostPosted: Wed Oct 02, 2013 8:30 am
by Chuzzwuzza
Device Spy info

Base URL http://192.168.0.127:1707/
Device icon None
Device URN urn:schemas-upnp-org:device:MediaRenderer:1
Embedded devices 0
Expiration timeout 1800
Friendly name [TV][LG]47LA620V-ZA
Has presentation False
Interface to host 192.168.0.140
Manufacturer LG Electronics.
Manufacturer URL http://www.lge.com
Model description LG NetCast 4.0 DMRplus
Model name LG TV
Model number 4.0
Presentation URL
Product code
Proprietary type
Remote endpoint 192.168.0.127:1707
Serial number
Services 3
Standard type MediaRenderer
Unique device name 29a9f898-a33e-c7c2-eb13-b8e4d7eb73a9
Version 1.0

Re: LG Smart TV 2013 Model

PostPosted: Wed Oct 02, 2013 8:33 am
by Chuzzwuzza
Further info from invoke

  Code:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,
http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_JP_T,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,
http-get:*:audio/mp3:*,
http-get:*:audio/mpeg:*,
http-get:*:audio/wav:*,
http-get:*:audio/mpeg3:*,
http-get:*:video/x-ms-wmv:*,
http-get:*:video/x-ms-asf:*,
http-get:*:video/x-ms-avi:*,
http-get:*:video/mpeg:*,
http-get:*:video/avi:*,
http-get:*:video/mp4:*,
http-get:*:video/x-matroska:*,
http-get:*:image/jps:*,
http-get:*:image/x-jps:*,
http-get:*:image/mpo:*

Re: LG Smart TV 2013 Model

PostPosted: Wed Oct 02, 2013 9:23 am
by Illico
You have to remove "comment section" on the LG profile.
Could you try with :
  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <!-- ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.LGProtocolHandler</ResourceTransportProtocolHandler -->
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <!--Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273 -->
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" aCodec="dca" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="flv" />
            <Matches container="asf" vCodec="wmv2"/>
            <Matches container="rm" />
            <Matches container="wtv" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="flac" />
         </Audio>
      </Transcoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" />
      </HardSubsTranscoding>
      <Subtitles>
         <SoftSubs mime-type="text/srt" />
      </Subtitles>
   </Profile>


Restart serviio services or reboot PC after profiles.xml modification

Re: LG Smart TV 2013 Model

PostPosted: Wed Oct 02, 2013 10:06 pm
by Chuzzwuzza
Hi Illico that worked but screwed with all my mkv's so whats happening with my video files is they start playing then after approx 10 secs TV says file not supported allthough all my flacs now play and thanks for that. So what i can fiqure from that is the only files I need transcoding are flac files and leave the TV to play natively the mkv files.

Thanks again Illico for replying

Re: LG Smart TV 2013 Model

PostPosted: Thu Oct 03, 2013 5:54 am
by Illico
Chuzzwuzza wrote:...So what i can fiqure from that is the only files I need transcoding are flac files and leave the TV to play natively the mkv files.

Then comment <video> section on transcoding profile, and only keep <audio> section:

  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <!-- ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.LGProtocolHandler</ResourceTransportProtocolHandler -->
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <!--Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273 -->
      <Transcoding>
         <!--<Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" aCodec="dca" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="flv" />
            <Matches container="asf" vCodec="wmv2"/>
            <Matches container="rm" />
            <Matches container="wtv" />
         </Video> -->
         <Audio targetContainer="lpcm">
            <Matches container="flac" />
         </Audio>
      </Transcoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" />
      </HardSubsTranscoding>
      <Subtitles>
         <SoftSubs mime-type="text/srt" />
      </Subtitles>
   </Profile>

Re: LG Smart TV 2013 Model

PostPosted: Fri Oct 04, 2013 8:14 am
by Chuzzwuzza
Thanks Illico that did the trick :D

Regards