Page 1 of 1

Sony KDL-26EX550 Transcoding

PostPosted: Sun Jan 01, 2017 10:14 pm
by josepvr
Hello,

I've started using Serviio recently and I like it.
The problem that I have is that i'm not able to play some files of my library.
Here comes media info output of one of non working files:

  Code:
Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L3
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : DX50
Codec ID/Hint                            : DivX 5
Duration                                 : 1 h 40 min
Bit rate                                 : 1 319 kb/s
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.011 FPS
Original frame rate                      : 23.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.197
Stream size                              : 952 MiB (46%)
Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                                       : 1
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : 2001
Codec ID/Info                            : Digital Theater Systems
Duration                                 : 1 h 40 min
Source duration                          : 1 h 40 min
Bit rate mode                            : Constant
Bit rate                                 : 1 509 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 spf)
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.06 GiB (53%)
Alignment                                : Split accross interleaves
Interleave, duration                     : 43  ms (1.00 video frame)
Interleave, preload duration             : 500  ms


I have enabled transconding in Serviio and selected "Sony Bravia TV (2012)" profile but seems that nothing happens.

I don't know what I have to do to get it working.

Can you help me?

Thank you.

Re: Sony KDL-26EX550 Transcoding

PostPosted: Mon Jan 02, 2017 12:28 am
by atc98092
I think the issue is the DivX video codec. Looking at the Serviio FAQs for transcoding, I find nothing that matches DivX. I also looked at that Sony profile, I can't find a line that would trigger it. Unless it is one of the abbreviations that I don't recognize, there may be no way to identify the DivX codec. You could build a line that captures everything, but that would mean the potential of transcoding files that don't need it.

Try using the DirecTV profile. I've been told it transcodes everything. Then you can at least see if it will play that way.

Re: Sony KDL-26EX550 Transcoding

PostPosted: Mon Jan 02, 2017 6:07 am
by DenyAll
I suspects it's the DTS audio that is the problem. The "Sony Bravia TV (2012)" profile is already setup to transcode MP4 and MPG files that contain DTS audio.

From the MediaInfo detail provided I cannot tell what container type the problem file is, but given it's a DivX file it's likely to be an AVI container. The "Sony Bravia TV (2012)" profile doesnt transcode AVI files with DivX video and DTS audio - I suspect because this mix of container/video/audio is not common.

Anyway to fix, the easiest way is to edit the profile and change the lines:

  Code:
<Matches container="mpeg" aCodec="dca" />
<Matches container="mpeg" aCodec="dts-hd" />
to
  Code:
<Matches container="*" aCodec="dca" />
<Matches container="*" aCodec="dts-hd" />
This will now catch all DTS and HD-DTS no matter what container or video codec. After editing the profiles.xml file remember to restart your PC.

-----------------------------------
@atc98092 - fyi:
  • DivX (and other variants such as XVid) were usually stored in AVI containers (and were the dominant form of video codec used in AVI's) - so often transcoding of AVI's at the container level only is used to transcode DivX and XVid video. eg. <Matches container="avi" />
  • If you need to discriminate further, then DivX is a variant of the MPEG-4 Part 2 codec which is matched in Serviio by the vCodecs "mpeg4" and "msmpeg4". So to match at this level you use:
      <Matches container="avi" vCodec="mpeg4" />
      <Matches container="avi" vCodec="msmpeg4" />
  • Finally, you can discriminate even further using the fourCC code, which is a unique code used to define a particular codec, eg:
      <Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
      <Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
    will match all DivX variants of the MPEG-4 Part 2 codec while not matching other variants - for example XVid (fourCC code - xvid) will not be matched.

Re: Sony KDL-26EX550 Transcoding

PostPosted: Mon Jan 02, 2017 4:22 pm
by atc98092
DenyAll, as usual you are chock full of useful information. Thanks! :D

Re: Sony KDL-26EX550 Transcoding

PostPosted: Fri Jan 06, 2017 8:49 pm
by josepvr
Hello All,

thank you for your answer but i tried both solutions and didn't worked for me.
When i set DirectTV, tv says that is not possible to play the file.
Using DenyAll solution just this file is not appearing on my TV... :o

Maybe i'm doing something wrong.

Thank you!

Info: I'm using Serviio on a QNAP TS-253A.

Re: Sony KDL-26EX550 Transcoding

PostPosted: Sun Jan 15, 2017 8:08 pm
by josepvr
Hello!

I've fixed setting profile to Sony 2010 instead of 2012... I don't know if it transcodes when it is not needed but it's ok for me.

Thank you all.