FAQ  •  Register  •  Login

Samsung 46ES8000 possible profile

<<

Davesam

Serviio newbie

Posts: 3

Joined: Sun Sep 30, 2012 1:37 pm

Post Wed Oct 17, 2012 11:04 pm

Samsung 46ES8000 possible profile

Setup WinXP SP3, Samsung 46ES8000, Serviio 1.0.1

Hi thanks for creating and maintaining serviio. Uses few resources, quick to install and uninstall. Very stable. I post a possible profile for Samsung 46ES8000 which works for me. Perhaps someone might find it useful.

Had to disable BitDefender's firewall's "block port scans". The firewall created the firewall rules necessary for serviio to operate but this was not enough. I would have had an easier time of it if I had remembered to turn off transcoding first to see what the TV can cope with.

The profile is based upon provided "Samsung TV/player (C/D/E-series)". With testing just a few video formats, the 46ES8000 played them all without transcoding - with some provisos. Transcoding videos did prevent fast forward or time shift.

Some notes:
Video_TS .vobs - transcoding not needed. Plays but not timeshift. Fails on .vob which ffmpeg reports errors with.
.MKV matroska - h264 and mpeg with ac3 - transcoding not needed. Timeshift avialable. I used MakeMKV to knit some .vobs together in the MKV container. MakeMKV quickly created the .mkv (no transcoding), corrected error in a VOB, gives timeshift function and plays well with TV.
.AVI - pcm_s16le and mjpeg - transcoding not needed. Plays with timeshift available
.jpg - displays but disable AutomaticImageRotation otherwise unrecognised format error.

  Code:
   <Profile id="UE46ES8000" name="Samsung TV UE46ES8000 custom" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
         <UPnPSearch>
            <ModelName>UE46ES8000</ModelName>
         </UPnPSearch>   
         <!--<HttpHeaders>
            <!{1}** for BD players **{1}>
            <User-Agent>(.*SEC_HHP_BD-[CDE].*)|(.*SEC_HHP_\[(HT|BD)\][CDE].*)</User-Agent>
         </HttpHeaders>-->
      </Detection>
      <DeviceDescription>
           <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>
        </MediaFormatProfiles>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <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" maxVBitrate="20000">
            <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" /> finds vob encoded to h264 in MKV -->
                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
         </Video>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <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="matroska" vCodec="vc1" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="3gp" aCodec="amrnb" /> 
         </Video>   
         <!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
         <!-- transcode AVI with AVC video -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="20000">
            <!--<Matches container="matroska" vCodec="mpeg2video" /> finds MKV from vobs created by MakeMKV -->
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="avi" vCodec="h264" />
            <!--<Matches container="avi" vCodec="mjpeg" /> finds Canon avi mjpeg and pcm_s16le (nb pcm_ etc cause xml parsing fail -->
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" />
            <Matches container="ogg" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true" maxVBitrate="20000">
            <Matches container="asf" vCodec="mpeg2video" />
            <Matches container="asf" vCodec="mpeg1video" />
         </Video>                    
         <Video targetContainer="mpegts">
            <Matches container="wtv" />
            <!-- remux remaining MKV files which have header compression / stripping -->
            <Matches container="matroska" mkvHeaderCompressed="true" />
         </Video>
         <!-- transcode audio only for wmv with wmapro -->
         <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
            <Matches container="asf" aCodec="wmapro" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" vCodec="h264" />      
             <Matches container="applehttp" vCodec="h264"/>
         </Video>      
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" maxVBitrate="20000">
            <Matches container="mp4" />
            <Matches container="asf" /> <!-- mms -->
         </Video>
      </OnlineTranscoding>
      <AutomaticImageRotation>false</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <SubtitlesMimeType>smi/caption</SubtitlesMimeType>      
   </Profile>

<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Wed Jan 30, 2013 1:39 am

Re: Samsung 46ES8000 possible profile

Did this work for you? I tried it for my ES6300 for possible online streaming problems but after copying and pasting the code in the profile folder just before the <\profiles> tag, Serviio won't start up, take the code out and Serviio loads ok.
<<

Davesam

Serviio newbie

Posts: 3

Joined: Sun Sep 30, 2012 1:37 pm

Post Sat Feb 02, 2013 12:43 am

Re: Samsung 46ES8000 possible profile

Still works fine for me. Serviio starts fine and detects the samsung ES8000 model using this profile - which basically avoids transcoding. It's been a few months since i've coded it but i expect i just added the profile element onto the end of the profiles.xml - if memory serves, serviio would indicate in its logs if there was some issue with parsing profiles.xml; but don't quote me.

as written i expect serviio would not use this profile with your ES6300 given it won't match the value in UPnPSearch tag.

and what formats can the ES6300 natively handle?

its probably a typo but i think the tag is </Profiles> (forward slash) at the end of profiles.xml
<<

Powernout

Serviio newbie

Posts: 19

Joined: Wed Jul 13, 2011 10:58 am

Post Fri Mar 01, 2013 5:41 pm

Re: Samsung 46ES8000 possible profile

Hi guys,

I've been trying to get my profile to work for some time now for my Samsung, but have not been successful. My new friend slyguy42o has tried writing a maxbitrate of 20000 into my profile, but it didn't seem to work. He was helping me in this thread: viewtopic.php?t=7653

I'd be very grateful if someone could take a look at my profile and correct it (attached), as I don't know how to do this... :?: In fact, if I look in my profile, I don't even see my Samsung UE55D6500

Sending love, strength and virtual cake to he/she who can help!!!
Attachments
profiles.xml
(74.17 KiB) Downloaded 477 times
<<

Davesam

Serviio newbie

Posts: 3

Joined: Sun Sep 30, 2012 1:37 pm

Post Mon Apr 08, 2013 8:43 pm

Re: Samsung 46ES8000 possible profile

Updated Serviio to version 1.2 then causes error with above profile for my Samsung 46ES8000:

2013-03-02 16:53:24,328 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-complex-type.3.2.2: Attribute 'mkvHeaderCompressed' is not allowed to appear in element 'Matches'.
2013-03-02 16:53:24,328 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.


Edited profile Samsung TV / player (C/D/E-series) provided with version 1.2.1 to provide same functionality as my previous profile for ES8000. Testing suggests that now tag: AutomaticImageRotation can be left as true - previous profile for last Serviio version was set as false since the TV reporting an error.

I tried suggestion at (viewtopic.php?f=12&t=7765) to see if a .vob container transcoding could provide either fast forward or time shift. Others seem to have found that transcoding to .asf could provide fast forward. Serviio supports asf, mpegts and mpegps (aka mpeg) targetContainer transcoding on-the-fly but 46ES8000 seems to recognise only the mpegps (aka mpeg) container; and timeshift, ffd, rewind all unavailable with transcoded mpegps and this TV.

Updated profile which works with Serviio version 1.2.1 (place before standard profile (C/D/E-series) since Serviio matches first available option):

  Code:
<Profile id="UE46ES8000" name="Samsung TV UE46ES8000 custom" extendsProfileId="1">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
<Detection>
   <UPnPSearch>
      <ModelNumber>UE46ES8000</ModelNumber>
   </UPnPSearch>   
   <HttpHeaders>
      <!-- for BD players -->
      <User-Agent>(.*SEC_HHP_\[TV\]UE46ES8000.*)</User-Agent>
   </HttpHeaders>
</Detection>
<DeviceDescription>
   <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">
      <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" /> finds vob encoded to h264 in MKV -->
      <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">
      <!-- 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" aCodec="amrnb" />
      <Matches container="wtv" vCodec="h264"/> 
   </Video>   
   <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<!--            <Matches container="matroska" vCodec="mpeg2video" /> finds MKV from vobs created by MakeMKV -->
      <Matches container="matroska" vCodec="vp8" />
      <Matches container="avi" vCodec="h264" />
<!--            <Matches container="avi" vCodec="mjpeg" /> finds Canon avi mjpeg and pcm_s16le (nb pcm_ etc cause xml parsing fail -->
      <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="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">
      <Matches container="asf" vCodec="mpeg2video" />
      <Matches container="asf" vCodec="mpeg1video" />
   </Video>                    
   <Video targetContainer="mpegts">
      <Matches container="wtv" />
   </Video>
   <!-- transcode audio only for wmv with wmapro -->
   <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
      <Matches container="asf" aCodec="wmapro" />
   </Video>
   <Audio targetContainer="lpcm">
      <Matches container="mp4" />
<!--            <Matches container="flac" />--> <!-- E series plays FLAC natively so this line can be removed-->
      <Matches container="ogg" />
      <Matches container="adts" />
   </Audio>
</Transcoding>
<OnlineTranscoding>
   <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
      <Matches container="mp4" vCodec="h264" />      
      <Matches container="applehttp" vCodec="h264"/>
      <Matches container="flv" vCodec="h264"/>
   </Video>      
   <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
      <Matches container="mp4" />
      <Matches container="asf" /> <!-- mms -->
   </Video>
</OnlineTranscoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
<LimitImageResolution>false</LimitImageResolution>
<Subtitles>
   <SoftSubs mime-type="smi/caption" />
</Subtitles>   
</Profile>

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 27 guests

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