HEVC SDR Video playback freeze on ATV4K

Diag code: 3AD15

I’ve converted few BD (HD 1080p) movies to H.265 (HEVC) using ffmpeg and if I attempt to do any of the operations: FF/REW or jump a chapter, the movie freezes with the turning wheel and no other controls are possible. Only to exit the movie. If I go back to the movie, the same turning wheel is there and I have to kill the app & restart, resume brings me back to the same state: turning wheel.

The only action that works is to start the movie & play/pause. The same happens on iPad also. I have emailed the above to firecore.

Update 1: All HEVC SDR movies I’ve created all have the above issue → trouble/freeze when seeking. H.264 movies don’t exhibit this issue: FF/REW work perfect with previews too.

Update 2: VLC also doesn’t like those, freezes too upon seek… its either hevc, my ffmpeg build and/or using hwaccel.

Update 3: ffmpeg hwaccel using Intel_qsv seems to be the culprit. I used another Mac (M1) & using videotoolbox hwaccel resulted in success, all operations, ff/rew, scrub, skip chapter work ok.

It may help also to run this video through mediainfo and post the output here.

Mediainfo

mediainfo …/SDR/Total_Recall_(2012).mkv
General
Unique ID : 233603435425329104075372906783225574270 (0xAFBE6298848F5F9395D0B16CA8CA737E)
Complete name : …/SDR/Total_Recall_(2012).mkv
Format : Matroska
Format version : Version 4
File size : 6.93 GiB
Duration : 2 h 10 min
Overall bit rate mode : Variable
Overall bit rate : 7 613 kb/s
Movie name : Total Recall (2012)
Writing application : Lavf60.3.100
Writing library : Lavf60.3.100
ErrorDetectionType : Per level 1

Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 10 min
Bit rate : 17.7 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.356
Stream size : 16.1 GiB
Writing library : Lavc60.3.100 hevc_qsv
Language : English
Default : No
Forced : No
Color range : Limited
Original source medium : Blu-ray

Audio
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : MLP FBA
Format/Info : Meridian Lossless Packing FBA
Commercial name : Dolby TrueHD
Codec ID : A_TRUEHD
Duration : 2 h 10 min
Bit rate mode : Variable
Bit rate : 1 776 kb/s
Maximum bit rate : 2 049 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 1.62 GiB (23%)
Title : Surround 5.1
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray

Text
ID : 3
ID in the original source medium : 4608 (0x1200)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 2 min
Bit rate : 29.6 kb/s
Count of elements : 2842
Stream size : 26.0 MiB (0%)
Language : English
Default : No
Forced : No
Original source medium : Blu-ray

Menu
00:00:00.000 : :Chapter 01
00:08:45.775 : :Chapter 02
00:18:00.704 : :Chapter 03
00:24:13.243 : :Chapter 04
00:31:19.878 : :Chapter 05
00:39:54.266 : :Chapter 06
00:45:38.819 : :Chapter 07
00:49:46.149 : :Chapter 08
00:58:12.280 : :Chapter 09
01:05:40.186 : :Chapter 10
01:15:06.960 : :Chapter 11
01:21:05.110 : :Chapter 12
01:27:23.112 : :Chapter 13
01:37:45.776 : :Chapter 14
01:43:17.649 : :Chapter 15
01:51:29.683 : :Chapter 16

Command used to convert the BD movie, the converted movie is ~ 7Gb, unsure if I can/should upload it. I am trying with a smaller size to see if I can reproduce the issue & then share the smaller video.

ffmpeg -hwaccel_output_format qsv -i h264.mkv -c:a copy -scodec copy -c:v hevc_qsv -b:v 6M -preset slow -x265-params "keyint=96" h265.mkv

I’d say wait till @james requests that you upload it. He’s the one who would have to test it. :wink:

1 Like

You can upload up to 50GB
firecore.com/upload

Like I said above

Capito :wink: I’ll update my main post with new info.

Yes, if you can upload a sample file that exhibits this issue it would be helpful. :slight_smile:

If it’s ok, I have PM’ed you a link to my gdrive, as the upload to the dropbox was showing ~ 450mn !!!

Hi @James , pls check update 3 in the OP.

Mod edit for solution

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.