Page 1 of 1
TransCoding UN40FH6030

Posted:
Wed Feb 12, 2014 6:32 am
by sakuryu
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?
Re: TransCoding UN40FH6030

Posted:
Sun Feb 16, 2014 6:53 am
by sakuryu
bump?
Re: TransCoding UN40FH6030

Posted:
Sun Feb 16, 2014 8:37 am
by Iveky
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)
Re: TransCoding UN40FH6030

Posted:
Sun Feb 16, 2014 12:23 pm
by sakuryu
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.
Re: TransCoding UN40FH6030

Posted:
Sun Feb 16, 2014 12:36 pm
by Iveky
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>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</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>
Re: TransCoding UN40FH6030

Posted:
Sun Feb 16, 2014 12:50 pm
by sakuryu
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.
Re: TransCoding UN40FH6030

Posted:
Tue Feb 18, 2014 12:14 am
by sakuryu
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.
Re: TransCoding UN40FH6030

Posted:
Tue Feb 18, 2014 5:17 pm
by zip
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.
Re: TransCoding UN40FH6030

Posted:
Tue Feb 18, 2014 11:40 pm
by sakuryu
Turning it off has the same results as with it on.
Re: TransCoding UN40FH6030

Posted:
Thu Feb 20, 2014 3:25 pm
by sakuryu
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.
Re: TransCoding UN40FH6030

Posted:
Wed Mar 26, 2014 6:57 am
by sakuryu
Still not resolved.
Re: TransCoding UN40FH6030

Posted:
Mon Mar 31, 2014 5:56 pm
by zip
It's the limitation of the TV, they only support certain files.