Page 1 of 1

HEVC file being ignored

PostPosted: Tue Nov 07, 2017 10:43 pm
by atc98092
Zip, I've downloaded some 4K demos, and am having a problem with them appearing on my Roku players. Some are HEVC while others are AVC L5.1 video and AAC or FLAC audio. Now FLAC might be the problem for the files with that audio (although Roku supports FLAC but the TV probably doesn't), but I can't figure out why the one listed below won't list. It's not the HDR content, as some others with HDR do appear and play properly with HDR triggered on the TV.

  Code:
General
ID                                       : 0 (0x0)
Complete name                            : G:\Movies\4K\LG NASA HDR Demo.mp4
Format                                   : MPEG-TS
File size                                : 710 MiB
Duration                                 : 2 min 23 s
Start time                               : UTC 2016-04-11 01:55:37
Overall bit rate mode                    : Constant
Overall bit rate                         : 41.5 Mb/s
Network name                             : Halftime Communications
FileExtension_Invalid                    : ts m2t m2s m4t m4s tmf ts tp trp ty

Video
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
Codec ID                                 : 36
Duration                                 : 2 min 22 s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Writing library                          : ATEME Titan KFE 3.7.3 (4.7.3.1001)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance              : min: 0.0200 cd/m2, max: 1000.0000 cd/m2

Audio
ID                                       : 258 (0x102)
Menu ID                                  : 1 (0x1)
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format version                           : Version 2
Format profile                           : LC
Muxing mode                              : ADTS
Codec ID                                 : 15
Duration                                 : 2 min 22 s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy

Re: HEVC file being ignored

PostPosted: Mon Nov 13, 2017 8:16 pm
by zip
what is ffmpeg -i ?
also, does it appear in MediaBrowser?

Re: HEVC file being ignored

PostPosted: Mon Nov 13, 2017 9:21 pm
by atc98092
It shows in the folder view in MediaBrowser. It does not appear in the folders on any of my Roku players that I have with me. Since I'm not at home, I can't say if it would appear on any of my Smart TVs. I tried the generic profile, the original Roku profile, and the latest Roku 4K TV profile, all with the same result. Plex will show it, but I think it tries to transcode it and it chokes. This was downloaded from a 4K demo clip site, and I have done nothing to it. I can play the file with VLC on my computer, but of course it isn't in 4K that way.

Here's the ffmpeg info:

  Code:
G:\Movies\4K>ffmpeg -i imax_preshow.mkv
ffmpeg version N-83882-g58f0bbc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --ena
le-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enab
e-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enabl
-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
-enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --ena
le-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libsp
ex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libv
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enabl
-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 83.100 / 57. 83.100
  libavformat    57. 66.104 / 57. 66.104
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 76.100 /  6. 76.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[matroska,webm @ 00000000004b6920] Invalid value of WAVEFORMATEXTENSIBLE_CHANNEL_MASK
    Last message repeated 2 times
Input #0, matroska,webm, from 'imax_preshow.mkv':
  Metadata:
    title           : Test Fox raitings
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2014-12-30T12:07:48.000000Z
  Duration: 00:00:45.00, start: 0.000000, bitrate: 75930 kb/s
    Stream #0:0: Video: h264 (High 10), yuv420p10le(pc, bt709, progressive), 3996x2160 [SAR 1:1 DAR
37:20], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
    Metadata:
      title           : DCPrip, h264, 10-bit, 420 css, pc range
      _STATISTICS_WRITING_APP: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_DATE_UTC: 2014-12-30 12:07:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2014-12-30 12:07:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      BPS             : 65053466
      BPS-eng         : 65053466
      DURATION        : 00:00:45.000000000
      DURATION-eng    : 00:00:45.000000000
      NUMBER_OF_FRAMES: 1080
      NUMBER_OF_FRAMES-eng: 1080
      NUMBER_OF_BYTES : 365925748
      NUMBER_OF_BYTES-eng: 365925748
    Stream #0:1(rus): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit) (default)
    Metadata:
      title           : FLAC
      _STATISTICS_WRITING_APP: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_DATE_UTC: 2014-12-30 12:07:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2014-12-30 12:07:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      BPS             : 3658025
      BPS-eng         : 3658025
      DURATION        : 00:00:45.001000000
      DURATION-eng    : 00:00:45.001000000
      NUMBER_OF_FRAMES: 528
      NUMBER_OF_FRAMES-eng: 528
      NUMBER_OF_BYTES : 20576852
      NUMBER_OF_BYTES-eng: 20576852
    Stream #0:2(eng): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit)
    Metadata:
      title           : FLAC
      _STATISTICS_WRITING_APP: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_DATE_UTC: 2014-12-30 12:07:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2014-12-30 12:07:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      BPS             : 3574759
      BPS-eng         : 3574759
      DURATION        : 00:00:45.001000000
      DURATION-eng    : 00:00:45.001000000
      NUMBER_OF_FRAMES: 528
      NUMBER_OF_FRAMES-eng: 528
      NUMBER_OF_BYTES : 20108471
      NUMBER_OF_BYTES-eng: 20108471
    Stream #0:3(fre): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit)
    Metadata:
      title           : FLAC
      _STATISTICS_WRITING_APP: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.4.0 ('Circles') 64bit built on Dec 12 2014 12:19:56
      _STATISTICS_WRITING_DATE_UTC: 2014-12-30 12:07:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2014-12-30 12:07:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      BPS             : 3641344
      BPS-eng         : 3641344
      DURATION        : 00:00:45.001000000
      DURATION-eng    : 00:00:45.001000000
      NUMBER_OF_FRAMES: 528
      NUMBER_OF_FRAMES-eng: 528
      NUMBER_OF_BYTES : 20483017
      NUMBER_OF_BYTES-eng: 20483017


Interesting. I play the video via MediaBrowser and it came up in a foreign language (as well as very choppy). I didn't notice that the English track wasn't the default track. I'll have to try changing that. It also quits playback and restarts about 13 seconds into the video. When I play it in VLC, the video is just as choppy but the audio stream seems mostly smooth, and playback doesn't halt at 13 seconds.

Re: HEVC file being ignored

PostPosted: Tue Nov 21, 2017 9:26 am
by zip
So it's actually not HEVC file, but just 4K H264, with some interesting colour profile (I assume HDR). it probably doesn't show up on Roku because you don't have transcoding profile for it. Is Roku supposed to play HDR files?

Re: HEVC file being ignored

PostPosted: Tue Nov 21, 2017 5:18 pm
by atc98092
Whoops. Yeah, I have a mix of H264 and H265 4K files. I don't think that particular file is HDR, but yes the Roku Ultra, Premiere + and 4K TVs will all play HDR material. And I have streamed my clips with HDR using Serviio with no issue. But I do have other files that aren't appearing as well. I flew home for Thanksgiving week, so when I get back to my hotel I'll grab the info one a few of them.