FAQ  •  Register  •  Login

YIFY files on Samsung D/E TV's

<<

shmulikgazit

Serviio newbie

Posts: 11

Joined: Thu Jun 28, 2012 8:16 pm

Post Mon Nov 04, 2013 11:11 pm

YIFY files on Samsung D/E TV's

Hi,

I have two files in mp4 by this group, Despicable me 1 and 2 (D-1 and D-2 for short...).
D-1 plays with no transcoding while D-2 triggers transcoding. A post here suggested subtitles, but D-1 actually has one, not D-2.
In MediaInfo they look mostly the same, but when it comes to play them the log shows a difference:

Retrieving resource information for item 5071, format AVC_MP4_MP_HD_1080i_AAC and profile Samsung TV / player (C/D/E/F-series) (D-1)
Retrieving resource information for item 5457, format MPEG_TS_SD_KO_ISO and profile Samsung TV / player (C/D/E/F-series) (D-2)

My question is why..?
If it's a short explanation I'll be happy to know how serviio determined these formats and if it is done when the file enters the library or when it is played.

Full log attached (playing both towards the end).

Thanks!
/Shmulik.

D-1
------
General
Complete name : M:\Root\Kids\Movies\Despicable Me (2010) [1080p]\Despicable.Me.2010.1080p.BluRay.x264.YIFY.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.44 GiB
Duration : 1h 34mn
Overall bit rate mode : Variable
Overall bit rate : 2 181 Kbps
Encoded date : UTC 2013-06-06 04:00:50
Tagged date : UTC 2013-06-06 04:00:50

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 34mn
Bit rate : 2 082 Kbps
Maximum bit rate : 20.1 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.042
Stream size : 1.38 GiB (95%)
Writing library : x264 core 132 r2 76a5c3a
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=36 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2082 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2013-06-06 04:00:50
Tagged date : UTC 2013-06-06 04:01:10
Color primaries : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 34mn
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Maximum bit rate : 139 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 65.0 MiB (4%)
Language : English
Encoded date : UTC 2013-06-06 04:01:08
Tagged date : UTC 2013-06-06 04:01:10


D-2
-------
General
Complete name : M:\Root\Kids\Movies\Despicable Me 2 (2013) [1080p]\Despicable.Me.2.2013.1080p.BluRay.x264.YIFY.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.45 GiB
Duration : 1h 37mn
Overall bit rate mode : Variable
Overall bit rate : 2 115 Kbps
Encoded date : UTC 2013-10-18 12:35:54
Tagged date : UTC 2013-10-18 12:35:54

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 37mn
Bit rate : 2 018 Kbps
Maximum bit rate : 11.4 Mbps
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.042
Stream size : 1.38 GiB (95%)
Writing library : x264 core 138 r2 9e941d1
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=18 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2018 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2013-10-18 12:35:54
Tagged date : UTC 2013-10-18 12:36:08
Color primaries : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 37mn
Bit rate mode : Variable
Bit rate : 93.6 Kbps
Maximum bit rate : 103 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 65.6 MiB (4%)
Language : English
Encoded date : UTC 2013-10-18 12:36:07
Tagged date : UTC 2013-10-18 12:36:08
Attachments
pc5dczc_for_forum.rar
(211.1 KiB) Downloaded 378 times
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Nov 05, 2013 12:32 am

Re: YIFY files on Samsung D/E TV's

D-1 is encoded as a High@Level4.1 h264 profile.
Although the header for D-2 is showing that it is also encoded as a High@Level4.1 h264 profile, it is actually a High@Level5.0 h264 profile based on the file attributes. Serviio uses (for your Samsung TV / player (C/D/E/F-series) profile) the file attributes rather than the header info to determine the true h264 profile level. See this wiki topic for more detail: http://wiki.serviio.org/doku.php?id=get_h264_level.

The Samsung TV / player (C/D/E/F-series) profile then transcodes the D2 file according to the rule in the profile:
    <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
If you don't want to transcode this file you could try changing this line in the your profile to be levelGreaterThan="5.0" however your TV may not be able to play this high a level natively. Try it, if it doesn't work then unfortunately you're stuck with transcoding it and you will need to change it back. Remember to restart the Serviio Service (or your PC) after making any changes to the profile.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

DTigerBKK

User avatar

Serviio newbie

Posts: 13

Joined: Sun Sep 09, 2012 12:21 am

Location: Bangkok

Post Tue Nov 05, 2013 3:19 am

Re: YIFY files on Samsung D/E TV's

DenyAll wrote:...
    <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
If you don't want to transcode this file you could try changing this line in the your profile to be levelGreaterThan="5.0"...


Just tried for my Samsung LA40D550, and it went just fine!

The funny part is that I had to change some h264level from 5 to 4.1 (so making them incorrect) to be able to watch other recent movies :?
<<

shmulikgazit

Serviio newbie

Posts: 11

Joined: Thu Jun 28, 2012 8:16 pm

Post Tue Nov 05, 2013 11:47 am

Re: YIFY files on Samsung D/E TV's

Thanks for the fast response!

I changed it in the profile to 5.0 and tried on both TV's. The D-2 movie worked perfectly on the D6000 while the E5300 told me that this is not a supported format. I didn't see any issues with other files I tried, in compare to DenyAll's experience.

Interesting! that means that the profile shouldn't be the same for C/D/E/F unless there is a way to make an exception per model inside the profile.

Is it possible to instruct serviio to prepare a transcoded copy in parallel to the original, upon entry to the library, if the file will have to go through transcoding when matched to a profile?

Thanks!
/Shmulik.
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Tue Nov 05, 2013 12:06 pm

Re: YIFY files on Samsung D/E TV's

I already proposed to divide profiles CDEF into CD & EF.
I did it in 'beta' section of forum, and maybe, authors will accept it.

On my server, I already use extra profile that I modified (started from CDEF one) to suit my needs, especially to better support microsoft's asf and mp4, and E&F searie also better support mp4 and many things can play without transcoding....

we could discuss together to improve mentioned profile, or start new one and incorporate needed changes that you,me or anyone else noticed...
<<

shmulikgazit

Serviio newbie

Posts: 11

Joined: Thu Jun 28, 2012 8:16 pm

Post Tue Nov 05, 2013 12:22 pm

Re: YIFY files on Samsung D/E TV's

Iveky - Can you post your CD and EF profiles?

Will also test.

Thanks!
/Shmulik.
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Tue Nov 05, 2013 1:24 pm

Re: YIFY files on Samsung D/E TV's

Ok, when i come to home.

Sent from my LG-P500 using Tapatalk 2
<<

DTigerBKK

User avatar

Serviio newbie

Posts: 13

Joined: Sun Sep 09, 2012 12:21 am

Location: Bangkok

Post Tue Nov 05, 2013 1:59 pm

Re: YIFY files on Samsung D/E TV's

I'd be interested too :D

By the way, if you need help for some tests..... Feel free to ask!
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Tue Nov 05, 2013 4:45 pm

Re: YIFY files on Samsung D/E TV's

this is my ES profile I currently use, test and make modifications and post here, it is sligthly modified CDEF profile :)
we have 4-5 weeks till new serviio version, so enough time to make best profile for Samsung E/F...

  Code:
<Profile id="ES6800" name="SamsungTV (UE46ES6800)" 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|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-[CDEF].*)|(.*SEC_HHP_\[(HT|BD)\][CDEF].*)</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" />
                <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" />
            <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="ogg" />
            <Matches container="rm" /> <!-- some models might support RealVideo natively, in that case remove this line -->
         </Video>
         <!--<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp2" forceVTranscoding="true" maxVBitrate="4096" aBitrate="192"  forceInheritance="true"> -->
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac" forceVTranscoding="true" maxVBitrate="2048" aBitrate="192" forceStereo="true" forceInheritance="true">
            <Matches container="3gp" />
         </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" /-->
         <!-- transcode wmv2-wmav2, not: wmv3-wmapro it works ok -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video"  targetACodec="ac3" maxVBitrate="20000" aBitrate="192">
            <Matches container="asf" vCodec="vc1" />
            <Matches container="asf" vCodec="wmv2" />
         </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" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
                <Matches container="ape" />
                <Matches container="asf" />
         </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"/-->
                <Matches container="3gp" />
         </Video>      
         <!-- this section below is for SkySports 1234, delete or disable if not needed -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp2" forceVTranscoding="true" maxVBitrate="4096" aBitrate="192"  forceInheritance="true">
                <Matches container="flv" />
         </Video>
         <!-- end of section for SkySports 1234, delete or disable if not needed -->
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac">
            <!--Matches container="mp4" /-->
            <!--Matches container="asf" /--> <!-- mms -->
            <Matches container="asf" vCodec="vc1" /> <!-- mms -->
            <Matches container="asf" vCodec="wmv2" /> <!-- mms -->
         </Video>
      </OnlineTranscoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <Subtitles>
         <SoftSubs mime-type="smi/caption" />
      </Subtitles>   
   </Profile>
<<

shmulikgazit

Serviio newbie

Posts: 11

Joined: Thu Jun 28, 2012 8:16 pm

Post Tue Nov 05, 2013 8:19 pm

Re: YIFY files on Samsung D/E TV's

Thanks! Will have a look!

/Shmulik.
<<

shmulikgazit

Serviio newbie

Posts: 11

Joined: Thu Jun 28, 2012 8:16 pm

Post Thu Nov 14, 2013 9:35 am

Re: YIFY files on Samsung D/E TV's

After working with this profile for some time on my EH5300 and with the fix in the D profile to allow

<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="5.0" />

The idea to make two profile (at least), CD and EF make sense. It just bothers me that I bought a newer TV that has less crunching power than the older one.

Now I need to understand how to to actually be able to see online resources - haven't figured this one out yet and even the default links don't work.

Thanks all!
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Thu Nov 14, 2013 11:35 am

Re: YIFY files on Samsung D/E TV's

Will post few online links tonite (that I use, some russian football tv's)
Attach your current profile, so i can take a look into it?

Sent from my LG-E440 using Tapatalk 2

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 5 guests

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