Jump to content

Samsung smart TV J (year|series) issue


p0p0v

Recommended Posts

p0p0v

On Samsung smart TV UE32J5530UE transcoded file (with default samsung profile) doesn't play.

 

I tried to show liveTV http://win.cdn.bonus-tv.ru/TVB8/wfhd/playlist.m3u8

 

Then I put this link into serviio and everything was OK on TV

 

Which settings i need to change in emby if profile from serviio looks like:

	<Profile id="sam_j" name="Samsung TV / player (J-series)" extendsProfileId="1">
		<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungTizenDLNAMessageBuilder</ContentDirectoryMessageBuilder>
		<ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
		<Detection>
			<UPnPSearch>				
				<ModelName>(^[A-Z]{2}\d{2}J[A-Z]?\d{3,4}.*)</ModelName>
				<ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
			</UPnPSearch>
			<HttpHeaders>
				<!-- some models only support headers -->
				<User-Agent>(.*SEC_HHP_\[TV\] [A-Z]{2}\d{2}J[A-Z]?\d{3,4}.*)</User-Agent>
			</HttpHeaders>
		</Detection>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-matroska">MATROSKA</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" maxVBitrate="15360" 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="*" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="mjpeg" />   
                <Matches container="matroska" vCodec="vp9" />             
			</Video>
			<Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
				<Matches container="wtv" vCodec="h264"/>  
			</Video>	
			<Video targetContainer="mpegts" forceInheritance="true">
				<Matches container="wtv" />
			</Video>
			<Audio targetContainer="mp3" 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" />
      		    <Matches container="dsf" />
			</Audio>
		</Transcoding>
		<OnlineTranscoding>
			<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
				<Matches container="applehttp" vCodec="h264"/>
			</Video>		
			<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
				<Matches container="asf" /> <!-- mms -->
				<Matches container="flv" /> <!-- transcoding all flv streams, even h264, to avoild premature disconnects, to avoid this, use Samsung C/D profile -->
			</Video>
		</OnlineTranscoding>
		<GenericTranscoding>
			<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192"/>
		</GenericTranscoding>
		<AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
		<Subtitles>
			<SoftSubs mime-type="smi/caption" />
			<HardSubs>
				<TextBased supported="false" />
			</HardSubs>
		</Subtitles>	
		<AllowChunkedTransfer forced="true">true</AllowChunkedTransfer>
	</Profile>
Link to comment
Share on other sites

  • 2 weeks later...
farleytron

I have a Samsung UN60JU7100.

 

I couldn't get ANY of my videos to work over DLNA, either with "PlayTo" or using the DLNA browser built-in to the Tizen OS. Serviio, however, works fine via the Tizen interface, which told me there MUST be a way to get it to work in Emby!

 

I fixed it by using Serviio's profile Regex argument to find the HTTP header instead of the Emby's "substring" match:

 

I changed this:

 

      <HttpHeaderInfo name="User-Agent" value="SEC_" match="Substring" />

 

To this:

 

      <HttpHeaderInfo match="Regex" value=".*(SEC_HHP_\[TV\] [A-Z]{2}\d{2}J[A-Z]?\d{3,4})*." name="User-Agent"/>

 

Now, I can push videos to the TV from the Emby web-client and Android app and they play without getting the "An error has occurred" whenever I tried before!

 

Here's the new, working profile:

 

 

<?xml version="1.0"?>

  <Name>Samsung TV/player (J-series)</Name>
  <Identification>
    <ModelUrl>samsung.com</ModelUrl>
    <Headers>
      <HttpHeaderInfo match="Regex" value=".*(SEC_HHP_\[TV\] [A-Z]{2}\d{2}J[A-Z]?\d{3,4})*." name="User-Agent"/>
    </Headers>
  </Identification>
 
  <Manufacturer>Emby</Manufacturer>
  <ModelName>Emby Server</ModelName>
  <ModelDescription>Emby</ModelDescription>
  <ModelNumber>Emby</ModelNumber>
 
  <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl>
  <EnableSingleAlbumArtLimit>false</EnableSingleAlbumArtLimit>
  <EnableSingleSubtitleLimit>false</EnableSingleSubtitleLimit>
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <AlbumArtPn>JPEG_SM</AlbumArtPn>
  <MaxAlbumArtWidth>480</MaxAlbumArtWidth>
  <MaxAlbumArtHeight>480</MaxAlbumArtHeight>
 
  <MaxIconWidth>48</MaxIconWidth>
  <MaxIconHeight>48</MaxIconHeight>
 
  <MaxStreamingBitrate>20000000</MaxStreamingBitrate>
  <MaxStaticBitrate>20000000</MaxStaticBitrate>
 
  <MusicStreamingTranscodingBitrate>192000</MusicStreamingTranscodingBitrate>
  <MusicSyncBitrate>192000</MusicSyncBitrate>
 
  <XDlnaDoc>DMS-1.50</XDlnaDoc>
 
 
  <ProtocolInfo>http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMA_BASE;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMA_FULL;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00D00000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-msvideo:DLNA.ORG_PN=AVI;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-matroska:DLNA.ORG_PN=MATROSKA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AC3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_1080i_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_HP_HD_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_LPCM;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L6_AAC;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_NDSD;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_ISO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_LPCM_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L1_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L2_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L3_WMA;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000</ProtocolInfo>
  <TimelineOffsetSeconds>0</TimelineOffsetSeconds>
  <RequiresPlainVideoItems>false</RequiresPlainVideoItems>
  <RequiresPlainFolders>false</RequiresPlainFolders>
  <EnableMSMediaReceiverRegistrar>false</EnableMSMediaReceiverRegistrar>
  <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>
 
  <XmlRootAttributes>
    <XmlAttribute name="xmlns:sec" value="http://www.sec.co.kr/"/>
  </XmlRootAttributes>
 
  <DirectPlayProfiles>
  </DirectPlayProfiles>
 
 
  <TranscodingProfiles>
    <TranscodingProfile container="mp3" type="Audio" audioCodec="mp3" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" forceLiveStream="false" />
    <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="mp3" protocol="Http" estimateContentLength="false" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" copyTimestamps="false" context="Streaming" forceLiveStream="false" />
  </TranscodingProfiles>
 
 
  </ContainerProfiles>
 
  </CodecProfiles>
 
  </ResponseProfiles>
 
  </SubtitleProfiles>
 
</Profile>

 

Anyone with a J-series Samsung TV, you can now direct-play DLNA by using my profile. Other Samsung TVs should work with a little tweaking of the regex strings.

 

To add this profile on a Windows Emby server, it should be stored under "C:\Users\<username>\AppData\Roaming\Emby-Server\config\dlna\user" as an XML file,like "Samsung J-series TV.xml"

Edited by farleytron
  • Like 1
Link to comment
Share on other sites

Hey, thanks for the info! So this potentially could result in support for some older tv's getting dropped, right?

Link to comment
Share on other sites

  • 9 months later...
eliranbd9

I have a Samsung UN60JU7100.

 

I couldn't get ANY of my videos to work over DLNA, either with "PlayTo" or using the DLNA browser built-in to the Tizen OS. Serviio, however, works fine via the Tizen interface, which told me there MUST be a way to get it to work in Emby!

 

I fixed it by using Serviio's profile Regex argument to find the HTTP header instead of the Emby's "substring" match:

 

I changed this:

 

      <HttpHeaderInfo name="User-Agent" value="SEC_" match="Substring" />

 

To this:

 

      <HttpHeaderInfo match="Regex" value=".*(SEC_HHP_\[TV\] [A-Z]{2}\d{2}J[A-Z]?\d{3,4})*." name="User-Agent"/>

 

Now, I can push videos to the TV from the Emby web-client and Android app and they play without getting the "An error has occurred" whenever I tried before!

 

Here's the new, working profile:

 

 

Anyone with a J-series Samsung TV, you can now direct-play DLNA by using my profile. Other Samsung TVs should work with a little tweaking of the regex strings.

 

To add this profile on a Windows Emby server, it should be stored under "C:\Users\<username>\AppData\Roaming\Emby-Server\config\dlna\user" as an XML file,like "Samsung J-series TV.xml"

 

Hi i have samsung samsung ju6000 and live tv with m3u dosent work with dlna

if i use ps4 dlna agent same tv it works

i am using profile that are similar to this (different xml version)

but still dosent work

i am attaching server log ffmpeg log and profile

 

pls help 

Samsung Smart TV b.xml

ffmpeg-remux-6a8b356e-68fe-46b3-a494-778a0fdccc9c.txt

server-63624087519.txt

Link to comment
Share on other sites

eliranbd9

U see the channel list and when picking one there is a problem : pls check network

In the ffmpeg I see that he is trying to send frames but not in ordinary pace comparing to ps4 thats working

I also see in the log error msg about "to slow" connection

Link to comment
Share on other sites

eliranbd9

Hi I think it's not so convenience to surf in tizen browser

Don't u have a real app on the Samsung app store ,is it on the road map

Same 4 ps4 :(

Link to comment
Share on other sites

Hi, did click the link about Samsung? We do have an app.

 

The PS4 app is also quite good, you should not discard it without giving it a chance. Thanks !

Link to comment
Share on other sites

eliranbd9

Users in the USA can install Emby in Samsung App Store.

 

All other users can run Emby using the Tizen Web

 

I am from Isreal there is no app in our Samsung app store

Maybe u can provide me a way to install it manually

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...