x265 (HEVC) and 4.0.2

Hi guys,

Long time (and very happy) Infuse user - first time poster.

Just wanted to point out, that even though the few DivX/XviD files I have won’t play anymore, it seems that my x265 files are now working - at least those 720p mp4 files I have.

Soon I’ll have a 10GB 1080p x265 MKV with DTS to make a real test, and I was just wondering if anyone else has tried this on 4.0.2?

Cheers.

Yesterday I did some test:

The first two videos are working correctly. Video 3 works, but sometime the framerate drops down. Video 4 doesn’t work properly.
So I think that a 1080p x265 video can be played if it has an avg bitrate up to 2Mbps.

=== VIDEO 1 ================================================

*** General ***

  • Contenitore: : M4V - QuickTime :
  • Dimensione: : 2,18 GB :
  • Durata: : 2h 44mn :
  • Bitrate: : 1 762 Kbps :

*** Video [1] ***

  • Formato: : hev1 :
  • Bitrate: : Max.: — / Media: 1 501 Kbps / Min.: — :
  • Frequenza fotogrammi (fps): : Max.: 23.981 / Media: 23.976 / Min.: 23.974 :
  • Profilo di codifica: : Non definito :
  • Dimensione immagine: : 1920*800 :
  • Proporzioni Pixel: : Non definito :
  • Visualizzazione proporzioni: : 2.40:1 :
  • Interlacciamento: : Non definito :

*** Audio [1] ***

  • Formato: : AAC - MPEG-4 audio :
  • Bitrate: : 256 Kbps :

=== VIDEO 2 ================================================

*** General ***

  • Contenitore: MP4 - QuickTime
  • Dimensione: 380,63 MB
  • Durata: 23mn 24s
  • Bitrate: 2 165 Kbps

*** Video [1] ***

  • Formato: hev1
  • Bitrate: Max.: — / Media: 2 032 Kbps / Min.: —
  • Frequenza fotogrammi (fps): Max.: — / Media: 23.976 / Min.: —
  • Profilo di codifica: Non definito
  • Dimensione immagine: 1920*1080
  • Proporzioni Pixel: Non definito
  • Visualizzazione proporzioni: 16:9
  • Interlacciamento: Progressivo

*** Audio [1] ***

  • Formato: AAC - MPEG-4 audio
  • Bitrate: 128 Kbps

=== VIDEO 3 ================================================

*** General ***

  • Contenitore: Matroska
  • Dimensione: 3,189 GB
  • Durata: 2h 6mn
  • Bitrate: 3 356 Kbps

*** Video [1] ***

  • Formato: non compresso: BI_RGB
  • Bitrate: Max.: — / Media: 2 393 Kbps / Min.: —
  • Frequenza fotogrammi (fps): Max.: — / Media: 23.976 / Min.: —
  • Profilo di codifica: Non definito
  • Dimensione immagine: 1920*1040
  • Proporzioni Pixel: Non definito
  • Visualizzazione proporzioni: 1.85:1
  • Interlacciamento: Non definito

*** Audio [1] ***

  • Formato: AC3-A52
  • Bitrate: 448 Kbps

=== VIDEO 4 ================================================

*** General ***

  • Contenitore: Matroska
  • Dimensione: 4,059 GB
  • Durata: 01:27:44.550000000
  • Bitrate: 5 549 Kbps

*** Video [1] ***

  • Formato: non compresso: BI_RGB
  • Bitrate: Max.: — / Media: 3 916 Kbps / Min.: —
  • Frequenza fotogrammi (fps): Max.: — / Media: 23.976 / Min.: —
  • Profilo di codifica: Non definito
  • Dimensione immagine: 1920*800
  • Proporzioni Pixel: Non definito
  • Visualizzazione proporzioni: 2.40:1
  • Interlacciamento: Non definito

*** Audio [1] ***

  • Formato: DTS Coherent Acoustics
  • Bitrate: 754 Kbps

I tried Daredevil 1080p HEVC and there was significant slowdown in video, compared to the sound.

Thanks DoubleREW, it’s probably a hardware limitation of the Apple TV 4, but I hope Firecore will be able to improve x265-support a bit more in future versions.

I’ll keep testing…

This doesn’t work (which I didn’t think it would with a bitrate of 9k) - lots of audio dropouts and major video lagging - but for the few seconds it plays before buffering, it looks absolutely gorgeous! :wink:

GENERAL
Format : Matroska
File size : 10.6 GiB
Overall bit rate : 9 351 Kbps

VIDEO
Format : HEVC
Format/Info : High Efficiency Video Coding
Codec ID : V_MPEGH/ISO/HEVC
Bit rate : 7 656 Kbps
Width : 1 912 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Bits/(Pixel*Frame) : 0.156

AUDIO
Format : DTS
Bit rate : 1 509 Kbps

Hey guys. I don’t think that it’s just about the Bit Rate of the video. I tried playing a file with Bit Rate less than 2Mpbs and it didn’t worked.

What about the Bit Depth of your videos? All my videos with Bit Depth of 8 bits played just fine. But then, all my videos with Bit Depth of 10 bits didn’t worked, altough they have less than 2Mbps.

Like this one, that has Bit Depth of 10 bits, but just 1.743 Kbps of Bit Rate (didn’t worked):

PS: This video worked fine with Plex app. So it doesn’t seem like it’s an Apple TV limitation, but just a Infuse limitation.

==========================================================================

Duration : 39mn 40s
Overall bit rate : 2 065 Kbps
Encoded date : UTC 2016-01-15 03:16:07
Writing application : mkvmerge v8.8.0 (‘Wind at my back’) 64bit
Writing library : libebml v1.3.3 + libmatroska v1.4.4

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 39mn 40s
Bit rate : 1 743 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.035
Stream size : 495 MiB (84%)
Writing library : x265 1.8+188-1471e4e433cc:[Windows][GCC 4.8.2][64 bit] 10bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / no-strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=15 / lookahead-slices=6 / bframes=4 / bframe-bias=0 / b-adapt=0 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=3 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=2 / psy-rd=0.30 / rdoq-level=2 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 39mn 40s
Bit rate : 319 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : 9ms
Stream size : 90.5 MiB (15%)
Language : English
Default : Yes
Forced : No

==========================================================================

I don’t think that it’s a hardware limitation of the Apple TV 4, because my HEVC videos play just fine on Plex. Looks more like a Infuse limitation.

It’s definitely a hardware limitation of the Apple TV – the Apple TV 4 doesn’t support HEVC natively. Your HEVC videos play fine on Plex because your Plex Media Server is transcoding them to h.264 before streaming them to the Apple TV. Infuse doesn’t rely on a transcoding server, and transcodes things locally on the Apple TV. Transcoding HEVC in software is very CPU-intensive, and presumably the computer hosting your Plex Media Server has a more powerful CPU than the Apple TV.

Just tried a 10GB 1080p x265 MKV w DTS and found that there was noticeable stuttering, but otherwise reasonable playback.
At least as good as the other media players on the atv market… Who knows if we’ll ever get support on the A8 chip?
Might need to wait for the dust to settle on the technology and to get some hardware decoding

For my surprise, Infuse 4 for iOS is doing a lot better with HEVC files than Infuse 4 for Apple TV.