FAQ  •  Register  •  Login

Samsung AllShare TV disconnect problem

<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Wed Jan 30, 2013 12:03 am

Re: Samsung AllShare TV disconnect problem

bobsmo wrote: Just FYI, mine were all bought in : Feb 2012, July 2012, and Nov. 2012.

BD-D8900, BD-D6900, and UN55ES8000.

Also, all online feeds work perfectly.....just watched 8 hours of U.S. PGA golf via online feed (5 yesterday and an unbeliveable 3 slow (for 11 holes) today) with no interuptions......check your setups (PC, network), etc.....hell, even my father in law watches stuff on his Samsung Galaxy S3 when he is at my house on my network...


There is nothing wrong with my network, Serviio works fine when streaming content from my pc. No matter what file format I throw at it the TV plays it with no issues, it displays the correct duration for the video and plays it to the end. The network would not cause the TV to read the duration of online content wrong. If I use the Sony AVReceiver STR profile in Serviio and play one of my online RSS podcasts the TV reads the duration correctly and plays it to the end, it then automaically plays the next video. The only problem with this profile is it wont play all formats, maybe I should try the latest ffmpeg with this profile. With the Samsung C/D/E profile the TV adds 289 hours to the duration of online content and shuts off 2 or 3 minutes before the end, my network setup would not cause this. Further more with this profile the progress bar does not move whilst playing online video and I can't use the arrows keys on the remote to skip forwards and backwards through the video, unlike when using the Sony profile, that alone says it is the Samsung profile.

I note you have a ES8000 TV I have the ES6300 these are two completely different series TVs and no doubt have different software. There are too many people on here who say they have been using Serviio with other make TVs and Blu-Ray players with no issues but since buying a Samsung they have had disconnection problems. Yes I can watch online content on my S3 on my network with no issues and all my video streaming apps on my TV work fine, it is only when I stream online content with Serviio using any of the Samsung profiles.

If you are confident that it is a network / setup issue then maybe you could help by posting your network / Serviio setup so as other people can try them and see if it works for them :D.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 30, 2013 10:36 pm

Re: Samsung AllShare TV disconnect problem

can you post ffmpeg -i of a file/stream that plays ok with the Sony profile and not with the Samsung one?
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Thu Jan 31, 2013 12:01 am

Re: Samsung AllShare TV disconnect problem

@Zip. I'm not too sure what you mean by ffmpeg -i, if you point me in the right direction I will gladly post it for you, sorry I'm pretty new to this. This is the URL I was able to stream correctly with the Sony profile. http://revision3.com/tekzilla/feed/MP4-hd30?subshow=false It is an Online RRS/ Atom Feed, not sure if that is what you want.

Edit: I have just read the How to in your sig, think I know know what you mean and I'll get on it.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 31, 2013 8:02 am

Re: Samsung AllShare TV disconnect problem

Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

txolovinsky

User avatar

Serviio newbie

Posts: 3

Joined: Thu Jan 31, 2013 9:32 am

Post Thu Jan 31, 2013 9:41 am

Re: Samsung AllShare TV disconnect problem

Rjay wrote:
bobsmo wrote: Just FYI, mine were all bought in : Feb 2012, July 2012, and Nov. 2012.

BD-D8900, BD-D6900, and UN55ES8000.

Also, all online feeds work perfectly.....just watched 8 hours of U.S. PGA golf via online feed (5 yesterday and an unbeliveable 3 slow (for 11 holes) today) with no interuptions......check your setups (PC, network), etc.....hell, even my father in law watches stuff on his Samsung Galaxy S3 when he is at my house on my network...


There is nothing wrong with my network, Serviio works fine when streaming content from my pc. No matter what file format I throw at it the TV plays it with no issues, it displays the correct duration for the video and plays it to the end. The network would not cause the TV to read the duration of online content wrong. If I use the Sony AVReceiver STR profile in Serviio and play one of my online RSS podcasts the TV reads the duration correctly and plays it to the end, it then automaically plays the next video. The only problem with this profile is it wont play all formats, maybe I should try the latest ffmpeg with this profile. With the Samsung C/D/E profile the TV adds 289 hours to the duration of online content and shuts off 2 or 3 minutes before the end, my network setup would not cause this. Further more with this profile the progress bar does not move whilst playing online video and I can't use the arrows keys on the remote to skip forwards and backwards through the video, unlike when using the Sony profile, that alone says it is the Samsung profile.

I note you have a ES8000 TV I have the ES6300 these are two completely different series TVs and no doubt have different software. There are too many people on here who say they have been using Serviio with other make TVs and Blu-Ray players with no issues but since buying a Samsung they have had disconnection problems. Yes I can watch online content on my S3 on my network with no issues and all my video streaming apps on my TV work fine, it is only when I stream online content with Serviio using any of the Samsung profiles.

If you are confident that it is a network / setup issue then maybe you could help by posting your network / Serviio setup so as other people can try them and see if it works for them :D.


Hi, I have a Samsung ES7000 and when I play sports channels through an RSS feed or via Sopcast, the signal is cut too soon. Changing the profile from Samsung C/D/E to Sony STR AVReceiver resolve these problems? Are there any other changes that apply to avoid this problem? Thanks
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Thu Jan 31, 2013 1:21 pm

Re: Samsung AllShare TV disconnect problem

@Zip. Is this what you need? I'm not sure because of the ffmpeg.exe error message at the end.

  Code:
c:\Program Files\Serviio\lib>ffmpeg -i http://videos.revision3.com/revision3/web
/tekzilla/0397/tekzilla--0397--camcorder-microphone-ups--hd720p30.h264.mp4
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://videos.revision3.com/revision3/w
eb/tekzilla/0397/tekzilla--0397--camcorder-microphone-ups--hd720p30.h264.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : did ram prices go up??? wikicancel. vine video: six second
s of glory. pick the right ups! wireless earbuds. upgrade your camcorder with a
mic. ios 6.1
    album           : tekzilla
    encoder         : Lavf53.32.100
    copyright       : 2013 revision3 corporation
    description     : apc vs. cyberpower: picking an uninterruptible power supply.
 is this a good first smartphone? wikicancel your way out of anything. wait...
 did ram prices go up after christmas? pick the right sized ups. where can you b
uy wireless earbuds? twitter's new vi
  Duration: 00:28:02.53, start: 0.000000, bitrate: 1908 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], 1788 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 111
 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
Last edited by Rjay on Thu Jan 31, 2013 5:40 pm, edited 2 times in total.
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Thu Jan 31, 2013 1:38 pm

Re: Samsung AllShare TV disconnect problem

txolovinsky wrote:
Rjay wrote:
bobsmo wrote: Just FYI, mine were all bought in : Feb 2012, July 2012, and Nov. 2012.

BD-D8900, BD-D6900, and UN55ES8000.

Also, all online feeds work perfectly.....just watched 8 hours of U.S. PGA golf via online feed (5 yesterday and an unbeliveable 3 slow (for 11 holes) today) with no interuptions......check your setups (PC, network), etc.....hell, even my father in law watches stuff on his Samsung Galaxy S3 when he is at my house on my network...


There is nothing wrong with my network, Serviio works fine when streaming content from my pc. No matter what file format I throw at it the TV plays it with no issues, it displays the correct duration for the video and plays it to the end. The network would not cause the TV to read the duration of online content wrong. If I use the Sony AVReceiver STR profile in Serviio and play one of my online RSS podcasts the TV reads the duration correctly and plays it to the end, it then automaically plays the next video. The only problem with this profile is it wont play all formats, maybe I should try the latest ffmpeg with this profile. With the Samsung C/D/E profile the TV adds 289 hours to the duration of online content and shuts off 2 or 3 minutes before the end, my network setup would not cause this. Further more with this profile the progress bar does not move whilst playing online video and I can't use the arrows keys on the remote to skip forwards and backwards through the video, unlike when using the Sony profile, that alone says it is the Samsung profile.

I note you have a ES8000 TV I have the ES6300 these are two completely different series TVs and no doubt have different software. There are too many people on here who say they have been using Serviio with other make TVs and Blu-Ray players with no issues but since buying a Samsung they have had disconnection problems. Yes I can watch online content on my S3 on my network with no issues and all my video streaming apps on my TV work fine, it is only when I stream online content with Serviio using any of the Samsung profiles.

If you are confident that it is a network / setup issue then maybe you could help by posting your network / Serviio setup so as other people can try them and see if it works for them :D.


Hi, I have a Samsung ES7000 and when I play sports channels through an RSS feed or via Sopcast, the signal is cut too soon. Changing the profile from Samsung C/D/E to Sony STR AVReceiver resolve these problems? Are there any other changes that apply to avoid this problem? Thanks


I think that is what Zip wants to try and figure out. The problem with the Sony profile is what file formats it plays is very limited but when it does play an online stream it plays it properly. If you press the info button on the remote when playing online stream with the Sony profile it displays the duration of the stream correctly and you can skip forward and backwards through the stream using the arrow keys on the remote, not with any of the Samsung profiles. Its because the Samy profiles dont see the duration correctly which causes them to disconnect before the stream ends.
<<

txolovinsky

User avatar

Serviio newbie

Posts: 3

Joined: Thu Jan 31, 2013 9:32 am

Post Thu Jan 31, 2013 2:22 pm

Re: Samsung AllShare TV disconnect problem

I think that is what Zip wants to try and figure out. The problem with the Sony profile is what file formats it plays is very limited but when it does play an online stream it plays it properly. If you press the info button on the remote when playing online stream with the Sony profile it displays the duration of the stream correctly and you can skip forward and backwards through the stream using the arrow keys on the remote, not with any of the Samsung profiles. Its because the Samy profiles dont see the duration correctly which causes them to disconnect before the stream ends.


Ok, I'll try to debug some tests via Sony profile and Samsung profiles. I will keep you informed.

Thanks
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Thu Jan 31, 2013 6:18 pm

Re: Samsung AllShare TV disconnect problem

OK well hopefully now I have posted the info Zip requires to start looking into a fix for the Samsung profile.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 31, 2013 7:06 pm

Re: Samsung AllShare TV disconnect problem

try to replace the online transcoding block in the c/d/e profile with this

  Code:
<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>
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Thu Jan 31, 2013 9:36 pm

Re: Samsung AllShare TV disconnect problem

Thanks Zip I tried replacing the online transcoding block with the one you posted but it is exactly the same.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 01, 2013 11:25 am

Re: Samsung AllShare TV disconnect problem

Try to remove the ExtraFields block from the profile. It might be the profile is somehow cached in the TV as well, so make sure you restart the TV too.
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Fri Feb 01, 2013 1:54 pm

Re: Samsung AllShare TV disconnect problem

@Zip. I removed (commeted out) the ExtraElements block from the code and rebooted the PC and TV but it is still the same. My edited Samsung C/D/E profile is now as posted. Isn't there any changes that could be made to the Sony profile to give it the same file format support as the Samsung profile? Maybe that would be easier. Thanks for your help with this it is really appreciated.

Edited samsung C/D/E Profile:
  Code:
<Profile id="7" name="Samsung TV / player (C/D/E-series)" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}(D|E)[A-Z]?\d{3,4}.*)</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <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>   
      <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="m2ts" 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" />
                <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="m2ts" 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="m2ts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="rm" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="m2ts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
            <Matches container="asf" vCodec="mpeg1video" />
         </Video>                    
         <Video targetContainer="m2ts">
            <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" />
            <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>
        <SubtitlesMimeType>smi/caption</SubtitlesMimeType>      
   </Profile>
   
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 01, 2013 2:54 pm

Re: Samsung AllShare TV disconnect problem

try to comment out

  Code:
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>


if that doesn't work try also there (one by one)

  Code:
 <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
 <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Fri Feb 01, 2013 3:20 pm

Re: Samsung AllShare TV disconnect problem

No that does not work either. I commeted out each line you suggested one at a time and done reboot of Serviio and TV before commenting out the next line. My edited profile now looks like this:

  Code:
   <Profile id="7" name="Samsung TV / player (C/D/E-series)" extendsProfileId="1">
      <!--<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder> -->
        <!--<ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler> -->
        <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}(D|E)[A-Z]?\d{3,4}.*)</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[CDE].*)|(.*SEC_HHP_\[(HT|BD)\][CDE].*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
 
        </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>-->
      <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="m2ts" 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" />
                <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="m2ts" 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="m2ts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="rm" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="m2ts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
            <Matches container="asf" vCodec="mpeg1video" />
         </Video>                    
         <Video targetContainer="m2ts">
            <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" />
            <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>
        <SubtitlesMimeType>smi/caption</SubtitlesMimeType>      
   </Profile>

I found this profile on another forum. It is supposed to be a working Samsung ES series profile for Serviio but when I copy and paste it into the profiles.xml file before the <\profiles> tag and save it, Serviio wont load.

  Code:
 <Profile id="22" name="Samsung TV / player (ES-series Transcode)" extendsProfileId="1">
    <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
    <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
    <Detection>
      <UPnPSearch>
        <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>
        <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
      </UPnPSearch>
      <HttpHeaders><!-- for BD players -->
        <User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[(HT|BD)\][CD].*)</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="avi" vCodec="h264" profile="high" levelGreaterThan="2.1" />
        <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="2.1" />
        <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="2.1" />
        <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="2.1" />
        <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="2.1" />
        <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="2.1" />
        <Matches container="mpegts" vCodec="h264" profile="high" levelGreaterThan="2.1" />
        <Matches container="mpegts" vCodec="h264" profile="main" levelGreaterThan="2.1" />
        <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" />
        <!-- looks like some (D?) devices play FLV@H264 natively so this could be removed -->
        <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" />
        <Matches container="matroska" vCodec="vp8" />
        <Matches container="avi" vCodec="h264" />
        <Matches container="avi" vCodec="mjpeg" />
        <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" />
      </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" />
        <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>true</AutomaticImageRotation>
    <LimitImageResolution>false</LimitImageResolution>
    <SubtitlesMimeType>smi/caption</SubtitlesMimeType>
  </Profile>
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Fri Feb 01, 2013 4:46 pm

Re: Samsung AllShare TV disconnect problem

@Zip: I don't know if this is any help but I downloaded one of the videos from the RSS subscription I have been using for testing, and saved it to a folder in my Serviio library. After Serviio had refreshed I tried to play it and it not only displays the length correctly it plays to the end of the video, so it looks as though it is definately a problem with the online streaming side of the profile which is causing the TV to see the duration wrong.


This is the ffmeg -i for the video.
  Code:
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\users\russ\documents\test\tekzilla.m
p4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : laptop: upgrade or replace? super bowl hdtv tweaks! blackb
erry z10 revealed! free thx tune-up, gopro hero3 teardown, spare battery carrier
s, more!
    album           : tekzilla
    encoder         : Lavf53.32.100
    copyright       : 2013 revision3 corporation
    description     : is your laptop too old to upgrade? rim is now blackberry,
the os has some great features, and we've got deets on the new z10 phone! follow
 our advice and tweak your hdtv settings, you'll have the best picture for your
super bowl party. inside the gopro he
  Duration: 00:33:06.00, start: 0.000000, bitrate: 1913 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], 1792 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 111
 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified

C:\Program Files\Serviio\lib>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 01, 2013 10:10 pm

Re: Samsung AllShare TV disconnect problem

the problem is transcoded content. Serviio doesn't know the future file size and send an arbitrary large number, but also the correct duration. Samsung chooses to ignore the duration value and instead computes duration based on the file size - thus the super long duration.

I'm not sure why the Sony profile works - I thought that if we remove the All Share mimicking code, it'd work the same way. Definitely the transcoding definitions are the same for Sony and Samsung profiles.
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Fri Feb 01, 2013 11:35 pm

Re: Samsung AllShare TV disconnect problem

Its strange, I noted when looking at the Sony profile that the OnlineTranscoding block didn't have the video tags so I copied the video tags out of the Samsung OnlineTranscoding block and pasted them into the Sony block. This caused the Sony profile to act the same as the Samsung profile and displayed the duration as 289:21:06. I then commented out the video tags in the Samsung profile but this made no difference, it still showed the duration as 289:21:06. When trying the Samsung A series profile, I get a warnig from the TV saying the video may not play properly. It does play ok but this profile only shows the duration as 1:03:20, not 289:21:06 and it still cuts off before the end. It is only the Sony AVReceiver profile that gets the duration correctly, all the other sony profiles act the same as the Samsung.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 03, 2013 11:47 am

Re: Samsung AllShare TV disconnect problem

What about the generic profile?
<<

Rjay

Streaming enthusiast

Posts: 24

Joined: Fri Jan 18, 2013 6:06 pm

Post Mon Feb 04, 2013 1:26 am

Re: Samsung AllShare TV disconnect problem

That acts the same as the Samsung C/D/E profile and displays 289:21:06 for the Tekzilla mp4 video. I copied the posted code from the Samsung profile and put it in the Sony AVReceiver profile to try and get support for 4OD content because with the Sony profile I was getting the selected file is currently not supported error message. With this code in the Sony profile it plays but like the Samsung profile it displays Time Team 4OD videos as being 578:42:13 and it cuts off after about 44 minutes, the Time Team 4OD videos are normally around 47 minutes. It looks as if the Sony profile isn't transcoding the mp4 video which plays ok with the Sony profile, is that correct?

  Code:
 <Video targetContainer="m2ts" targetACodec="ac3">
        <Matches container="matroska" vCodec="h264" aCodec="dca" />
        <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
        <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="avi" vCodec="h264" />
        <Matches container="mpegts" aCodec="mp2" />
        <Matches container="flv" vCodec="h264" />
        <Matches container="ogg" vCodec="mpeg4" />
        <Matches container="3gp" aCodec="amrnb" />
      </Video>
PreviousNext

Return to Samsung

Who is online

Users browsing this forum: No registered users and 42 guests

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