FAQ  •  Register  •  Login

TransCoding UN40FH6030

<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Wed Feb 12, 2014 6:32 am

TransCoding UN40FH6030

Okay guys I've been reading around and trying to fix this myself but I seem to fix something and break something else. I have a Samsung UN40FH6030 which I stream videos to. When I use the Samsung E/F profile and try to play Mkv videos it says file not supported, same with FLAC audio. So I changed to the DirecTV profile as I read would make everything work. Well it works but all videos say 13:50:22 or something like that, but there are also no options for audio, subtitles, or time skip and since it's anime I'm trying to watch it doesn't quite work. So I thought, I'll edit it. I went into profiles.xml with Notepad++ and overwrote the transcode section of Samsung with the one from DirecTV. Now some videos work some dont, it actually seems kinda random and the ones who don't work usually make the tv crash. Could someone give me a good custom profile to transcode everything and have the subtitles+controls?
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Sun Feb 16, 2014 6:53 am

Re: TransCoding UN40FH6030

bump?
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Sun Feb 16, 2014 8:37 am

Re: TransCoding UN40FH6030

samsung support external srt subtitles sent from serviio, you need to enable only FIRST option: Enable subtitles, and disable next two lines in console.
use E/F profile, restart and try

(and don't forget to enable subtitles on tv)
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Sun Feb 16, 2014 12:23 pm

Re: TransCoding UN40FH6030

Bigger problems now, it seems I've gotten closer to perfect transcoding. The DTV and E/f profiles don't work nor does the trick I did. Now I have to use the B profile and when looking through media info any mkv with avc at 5.2 or higher doesn't work.
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Sun Feb 16, 2014 12:36 pm

Re: TransCoding UN40FH6030

point is to disable transcoding for files that samsung support natively without transcoding....
download again installation files and take profile from there, or use mine (slightly modified original 1.4 E/F profile), i post it below:
  Code:
   <Profile id="Samsung6800" name="SamsungTV ES6800 ver 1.4" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
         <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
           <Detection>
         <UPnPSearch>
            <FriendlyName>(^\[TV\][A-Z]{2}\d{2}(E|F)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[EF].*)|(.*SEC_HHP_\[(HT|BD)\][EF].*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio 1.4</FriendlyName>
           <ExtraElements>
              &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
            &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
           </ExtraElements>
        </DeviceDescription>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
            <MediaFormatProfile mime-type="audio/x-flac">FLAC</MediaFormatProfile>
        </MediaFormatProfiles>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <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="192" forceInheritance="true">
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
            <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
            <Matches container="mp4" vCodec="dvvideo" />
            <Matches container="mp4" vCodec="mjpeg" />
         </Video>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
            <!-- Matches container="mpegts" aCodec="mp2" /-->
            <Matches container="mp4" aCodec="lpcm" />
            <!-- <Matches container="flv" vCodec="h264" /> -->
            <Matches container="matroska" vCodec="h264" aCodec="flac" />
            <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
            <Matches container="matroska" vCodec="h264" aCodec="truehd" />
            <Matches container="mpegts" vCodec="h264" aCodec="truehd" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="3gp" vCodec="h264" aCodec="amrnb" />
            <!--Matches container="3gp" vCodec="mpeg4" aCodec="amrnb" /-->
            <Matches container="wtv" vCodec="h264"/>
         </Video>   
         <!-- my phone produces 3gp that don't fit above (diasbled 3gp-mpeg4 line), so needed this section below-->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceVTranscoding="true" maxVBitrate="4096" aBitrate="192" forceInheritance="true">
            <Matches container="3gp" />
         </Video>
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" forceInheritance="true">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="matroska" vCodec="vc1" aCodec="truehd" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" vCodec="flv"/> <!-- some models support playing flv natively, in that case remove this line -->
            <Matches container="flv" vCodec="h263"/>
            <Matches container="flv" vCodec="vp6"/>
            <Matches container="3gp" vCodec="h263" />
            <Matches container="ogg" />
            <Matches container="rm" /> <!-- some models might support RealVideo natively, in that case remove this line -->
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true" forceInheritance="true">
            <Matches container="asf" vCodec="mpeg2video" />
            <Matches container="asf" vCodec="mpeg1video" />
         </Video>
         <Video targetContainer="mpegts" forceInheritance="true">
            <Matches container="wtv" />
         </Video>
         <!-- transcode wmv2-wmav2, not: wmv3-wmapro it works ok on E series-->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">
            <Matches container="asf" vCodec="wmv2" />
         </Video>
         <Audio targetContainer="lpcm" forceInheritance="true">
            <Matches container="mp4" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
            <Matches container="asf" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
            <!--Matches container="*" /-->
            <!--Matches container="mp4"/-->
            <Matches container="rtp"/>
            <Matches container="rtsp"/>
            <Matches container="applehttp"/>
            <Matches container="asf"/>
            <Matches container="flv"/>
         </Video>
      </OnlineTranscoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <Subtitles>
         <SoftSubs mime-type="smi/caption" />
      </Subtitles>   
   </Profile>
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Sun Feb 16, 2014 12:50 pm

Re: TransCoding UN40FH6030

I'll be able to try this later today, before that what exactly does this change, it looks pretty much the same. And turning transcoding off still produces format not supported.
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Tue Feb 18, 2014 12:14 am

Re: TransCoding UN40FH6030

Okay here's what's happening now. All the videos load *yay!* But files with High, lv 5.1+ don't have subtitle, audio, or time search options and read as something like 534 hours long. Also one file says May not play properly 2-3 times then plays for a minute stops and loads and continues that.

EDIT- Forgot to mention I'm using the above posted code.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Feb 18, 2014 5:17 pm

Re: TransCoding UN40FH6030

It's because it transcodes files like that

  Code:
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />


Normally such a file is not playable by the TV, but try to turn off transcoding in the console and play the file again.
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Tue Feb 18, 2014 11:40 pm

Re: TransCoding UN40FH6030

Turning it off has the same results as with it on.
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Thu Feb 20, 2014 3:25 pm

Re: TransCoding UN40FH6030

Any more suggestions or profiles? Why do h264 high mkvs at 4.1 or under work but 4.2 and over not work? I turned the transcoding off and they do the same thing as when it's on. I really wanna be able to watch my videos with the ability to time search, not wait for continuous loading and have the ability to change subtitles and audio like the 4.1 files.
<<

sakuryu

Serviio newbie

Posts: 8

Joined: Wed Feb 12, 2014 6:26 am

Post Wed Mar 26, 2014 6:57 am

Re: TransCoding UN40FH6030

Still not resolved.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 31, 2014 5:56 pm

Re: TransCoding UN40FH6030

It's the limitation of the TV, they only support certain files.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 12 guests

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