Page 1 of 1

"Codec not supported." force transcoding?

PostPosted: Fri Oct 23, 2015 5:20 pm
by wanxu
Hi, I have a file that cannot be played on my TV (Samsung D Series). The codec is not supported, so I want it to be transcoded. My file info is this one:

  Code:
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1h 4mn
Width                                    : 1 916 pixels
Height                                   : 1 076 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
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
DURATION                                 : 01:04:44.047000000
NUMBER_OF_FRAMES                         : 93124
NUMBER_OF_BYTES                          : 791778371
_STATISTICS_WRITING_APP                  : mkvmerge v8.4.0 ('A better way to fly') 64bit
_STATISTICS_WRITING_DATE_UTC             : 2015-10-14 09:43:39
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES



Can I add a profile that forces to transcode these files?

Thanks

Re: "Codec not supported." force transcoding?

PostPosted: Sat Oct 24, 2015 2:02 am
by DenyAll
What profile are you currently using?
Post MediaInfo detail for the file (see my signature) as it may be the audio stream that is not supported.

Re: "Codec not supported." force transcoding?

PostPosted: Sat Oct 24, 2015 4:26 pm
by wanxu
Actually it was Mediainfo. Here is all the info. Thanks!

General
Unique ID : 226919931201132060624679659861509441824 (0xAAB7306570B3509F8BE48599229C8920)
Complete name : The Walking Dead\S06E01 - First Time Again.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 849 MiB
Duration : 1h 4mn
Overall bit rate : 1 835 Kbps
Movie name : PSArips.com | The.Walking.Dead.S06E01.First.Time.Again.1080p.WEB-DL.6CH.x265.HEVC-PSA
Encoded date : UTC 2015-10-14 09:43:39
Writing application : mkvmerge v8.4.0 ('A better way to fly') 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
DURATION : 01:03:02.735000000
NUMBER_OF_FRAMES : 698
NUMBER_OF_BYTES : 20176
_STATISTICS_WRITING_APP : mkvmerge v8.4.0 ('A better way to fly') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-14 09:43:39
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1h 4mn
Width : 1 916 pixels
Height : 1 076 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
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
DURATION : 01:04:44.047000000
NUMBER_OF_FRAMES : 93124
NUMBER_OF_BYTES : 791778371
_STATISTICS_WRITING_APP : mkvmerge v8.4.0 ('A better way to fly') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-14 09:43:39
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 1h 4mn
Channel(s) : 6 channels
Channel(s)_Original : 18 channels
Channel positions : Front: 14, Side: L R, LFE= 2
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : -105ms
Title : Surround
Language : English
Default : Yes
Forced : No
DURATION : 01:04:44.032000000
NUMBER_OF_FRAMES : 91032
NUMBER_OF_BYTES : 98033085
_STATISTICS_WRITING_APP : mkvmerge v8.4.0 ('A better way to fly') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-10-14 09:43:39
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Default : Yes
Forced : No


Re: "Codec not supported." force transcoding?

PostPosted: Sat Oct 24, 2015 6:27 pm
by jhb50
Serviio does not yet support HE-AAC. See ticket https://bitbucket.org/xnejp03/serviio/i ... c-aac_latm

Re: "Codec not supported." force transcoding?

PostPosted: Sun Oct 25, 2015 1:05 am
by DenyAll
I'm not sure, but I think it is that HE-AAC is not yet distinguished from normal AAC in Serviio. You may be able to therefore add this to the Samsung C/D profile:

  Code:
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
   <Matches container="matroska" vCodec="h264" aCodec="aac" aMultichannel="true" />
</Video>
to the profile just below the <Transcoding> statement. This will re-encode your audio - unfortunately it will do so for all AAC with more than 2 channels (including normal AAC with multi-channels). But it will give you a way forward until the ticket is implemented.

As always, restart the Serviio service (or your PC) after changing profile.xml.