FAQ  •  Register  •  Login

Sort by date; skip fwd / bwd

<<

Xenu

Serviio newbie

Posts: 10

Joined: Tue Jan 08, 2013 9:05 pm

Post Tue Jan 08, 2013 9:33 pm

Sort by date; skip fwd / bwd

I just bought a Samsung UE32ES6710 32" tv. I was able to set up and connect to a samsung allshare server but didn't like it, because it doesn't show .WTV files. So I installed Serviio.

1)
Now the TV does show .WTV files (yeah!), but cannot sort the video files. With allshare, Samsung can do so, it is done with the blue "D" key on the remote and then choosing a sort method. With Serviio, the files are only sorted by name.

2)
With allshare, I can skip 10 seconds forward or backward in videos, by using the left/right arrow on the remote. I cannot with Serviio, even with ordinary MPEG files.

3)
I have configured "C/D/E series". Is this correct?

Thanks in advance for any hints. I did make a search and read the FAQ, without success.

PS I'm running Windows 7 64 bit home with Java 7 64bit installed.
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Fri Jan 11, 2013 11:12 pm

Re: Sort by date; skip fwd / bwd

for the seek issue, I would try changing the targetContainer to mpeg from mpegts
<<

Xenu

Serviio newbie

Posts: 10

Joined: Tue Jan 08, 2013 9:05 pm

Post Tue Jan 15, 2013 8:17 am

Re: Sort by date; skip fwd / bwd

slyguy42o wrote:for the seek issue, I would try changing the targetContainer to mpeg from mpegts


The samsung segment (if that is what you mean) in profiles.xml does not have any mpegts targetContainer:

  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="m2ts" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" vCodec="h264" />      
             <Matches container="applehttp" vCodec="h264"/>
         </Video>      
         <Video targetContainer="m2ts" 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 Tue Jan 15, 2013 6:05 pm

Re: Sort by date; skip fwd / bwd

m2ts
<<

Xenu

Serviio newbie

Posts: 10

Joined: Tue Jan 08, 2013 9:05 pm

Post Wed Jan 16, 2013 7:50 am

Re: Sort by date; skip fwd / bwd

zip wrote:m2ts


I made the change in profiles.xml and restarted the server, and it didn't help. Still no seeking possible.
  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="mpeg" 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="mpeg" 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="mpeg" 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="mpeg" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
            <Matches container="asf" vCodec="mpeg1video" />
         </Video>                    
         <Video targetContainer="mpeg">
            <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="mpeg" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" vCodec="h264" />      
             <Matches container="applehttp" vCodec="h264"/>
         </Video>      
         <Video targetContainer="mpeg" 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 Thu Jan 17, 2013 2:56 pm

Re: Sort by date; skip fwd / bwd

The Samsungs don't work (from C series up) with seeking in mpegts files. Not much we can do AFAIK.
<<

Xenu

Serviio newbie

Posts: 10

Joined: Tue Jan 08, 2013 9:05 pm

Post Thu Jan 17, 2013 3:29 pm

Re: Sort by date; skip fwd / bwd

zip wrote:The Samsungs don't work (from C series up) with seeking in mpegts files. Not much we can do AFAIK.


But its weird that the TV can do it with Sam Sung's allshare server.

Anyway, do you know a TV vendor that is less troublesome? I've not yet bought the "monster sized flatscreen" (that is my next step) so the financial loss isn't so hard.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 17, 2013 5:06 pm

Re: Sort by date; skip fwd / bwd

you should be able to skip on files that are not transcoded (wtv is). SO those that show the proper duration should mostly work (there are some exceptions due to the TV support). Basicaly you shuld be able to skip the same file you can with AllShare. If you find one that doesn't skip in Serviio but does in AllShare, post ffmpeg -i for the file.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 67 guests

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