H.265 decoding

Hello,

I recently encoded a few videos from BlueRay using Handbrake with the “AMD (hardware) H.265” profile. These files play fine on my Vero 4k+, but I can not scroll within them. If I try, the UI looks up and doesn’t do anything any more until I stop playback of the file.

Interestingly, if I use a Kindle FireTV Stick running Kodi v20 (same as the Vero) I can scroll through the file there.

Decoding on the Vero is set to “hardware” (the info box says “am-h265, unknown”).

What can be the reason for this behavior?

Regards

It’s hard to say without knowing the specs of the file, but it is likely an encoding issue. It would also help to know what container you have used.

Container is mp4.

The following is a report from MediaInfo. Does this contain the info you need?

General
Complete name                            : <filename>.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso2/mp41)
File size                                : 3.52 GiB
Duration                                 : 1 h 36 min
Overall bit rate                         : 5 249 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : <name>
Encoded date                             : 2023-09-07 14:57:58 UTC
Tagged date                              : 2023-09-07 14:57:58 UTC
Writing application                      : HandBrake 1.6.1 2023012300

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L6.2@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 36 min
Bit rate                                 : 4 922 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 4:3
Original display aspect ratio            : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.223
Stream size                              : 3.30 GiB (94%)
Encoded date                             : 2023-09-07 14:57:58 UTC
Tagged date                              : 2023-09-07 14:57:58 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Menus                                    : 4
Codec configuration box                  : hvcC

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 36 min
Source duration                          : 1 h 36 min
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 110 MiB (3%)
Source stream size                       : 110 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : German
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : 2023-09-07 14:57:58 UTC
Tagged date                              : 2023-09-07 14:57:58 UTC
Menus                                    : 4

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 36 min
Source duration                          : 1 h 36 min
Bit rate mode                            : Constant
Bit rate                                 : 159 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 109 MiB (3%)
Source stream size                       : 109 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : 2023-09-07 14:57:58 UTC
Tagged date                              : 2023-09-07 14:57:58 UTC
Menus                                    : 4

Menu
ID                                       : 4
Format                                   : Timed Text
Codec ID                                 : text
Duration                                 : 1 h 36 min
Language                                 : English
Encoded date                             : 2023-09-07 14:57:58 UTC
Tagged date                              : 2023-09-07 14:57:58 UTC
Menu For                                 : 1,2,3
00:00:00.000                             : Chapter 1
00:01:10.237                             : Chapter 2
00:11:09.711                             : Chapter 3
00:28:11.565                             : Chapter 4
00:39:30.702                             : Chapter 5
00:48:31.075                             : Chapter 6
01:02:51.351                             : Chapter 7
01:25:02.723                             : Chapter 8
01:32:37.177                             : Chapter 9
01:35:07.410                             : Chapter 10

Regards

Main@L6.2@Main

This is out of spec. I am surprised that it plays at all. Perhaps the lower resolution and bitrate helps. For compatibility I would suggest targeting a lower profile. This might not necessarily be the cause, but it won’t be helping.

Interesting. I had used the factory preset “Fast 720p30” and just changed the encoder from “H.264 (x264)” to “H.265 (AMD VCE)”.

This changed “Encoder Level” from “3.1” to “Auto”.

For manual selection values up to 5.2 are available for H.264, and values up to 6.2 for H.265. I guess “auto” took the highest value available.

What value would you suggest for H.264 and H.265 respectively?

Regards

For H.264 stick with 4.1 high and 5.1 main for H.265 this should give you files that should be well supported on most any hardware you might find yourself using. Additionally you may have less issues if you use fixed frame rate instead of variable.

1 Like

Our VPU officially supports:

  • H.265 HEVC MP-10@L5.1 up to 4Kx2K@60fps
  • H.264 AVC HP@L5.1 up to 4Kx2K@30fps

Anything higher is not supported.

But @darwindesign’s suggestion is what I’d aim for. I’d suggest profiles above this will have minimal yield if file size is your target.

3 Likes

Will try. Thanks!

Regards

I’m afraid this didn’t solve the problem. I recoded (from the source) again, this time with profile 5.1. I still can’t scroll within the file, nor even change an audio track without playback freezing.

The new file:

(This is not the same file as above, but from the same source disk and treated with the same toolchain as before.)

General
Complete name                            : <filename>.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso2/mp41)
File size                                : 1.79 GiB
Duration                                 : 48 min 53 s
Overall bit rate                         : 5 248 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : <name>
Encoded date                             : 2023-10-05 19:45:27 UTC
Tagged date                              : 2023-10-05 19:45:27 UTC
Writing application                      : HandBrake 1.6.1 2023012300

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 48 min 53 s
Bit rate                                 : 4 920 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.223
Stream size                              : 1.68 GiB (94%)
Encoded date                             : 2023-10-05 19:45:27 UTC
Tagged date                              : 2023-10-05 19:45:27 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Menus                                    : 4
Codec configuration box                  : hvcC

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 56.0 MiB (3%)
Source stream size                       : 56.0 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : German
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : 2023-10-05 19:45:27 UTC
Tagged date                              : 2023-10-05 19:45:27 UTC
Menus                                    : 4

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 159 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 55.7 MiB (3%)
Source stream size                       : 55.7 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : 2023-10-05 19:45:27 UTC
Tagged date                              : 2023-10-05 19:45:27 UTC
Menus                                    : 4

Menu
ID                                       : 4
Format                                   : Timed Text
Codec ID                                 : text
Duration                                 : 48 min 53 s
Language                                 : English
Encoded date                             : 2023-10-05 19:45:27 UTC
Tagged date                              : 2023-10-05 19:45:27 UTC
Bit rate mode                            : CBR
Menu For                                 : 1,2,3
00:00:00.000                             : Chapter 1
00:01:51.111                             : Chapter 2
00:14:42.715                             : Chapter 3
00:23:42.463                             : Chapter 4
00:34:01.790                             : Chapter 5
00:46:43.092                             : Chapter 6
00:48:21.399                             : Chapter 7
Bit rate mode                            : Constant


That is quite odd that just changing the audio track would cause a problem. If you could reboot twice, enable debug logging, reproduce the freeze, and then upload logs posting the returned url in this thread it may provide a bit more insight into where the issue may be.

Use a constant frame rate – most HW decoders won’t touch variable.

I tried reproducing making a file with Handbrake as close to possible to your own and I can’t find any issue. I switched audio tracks, skipped chapters back and forth, used ff and rw, and skip stepped like crazy and everything worked as expected with zero freezes or crashes. The only notable change from what you have described was I used Intel accelerated encoding instead of AMD. I suppose you could try doing a software encode to rule out an issue there.

Mediainfo of the test clip I made

General
Complete name : Transcode Test 720.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso2/mp41)
File size : 1.28 GiB
Duration : 1 h 41 min
Overall bit rate mode : Variable
Overall bit rate : 1 796 kb/s
Frame rate : 23.976 FPS
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Writing application : HandBrake 1.6.1 2023012300

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 h 41 min
Bit rate : 988 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.045
Stream size : 719 MiB (55%)
Writing library : x265 3.5+1-f0c1022b6:[Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1280x720 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=1 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=3 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=5 / lookahead-slices=4 / scenecut=0 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=32 / min-cu-size=16 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / no-signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=0 / no-limit-modes / me=0 / subme=0 / merange=57 / temporal-mvp / no-frame-dup / no-hme / no-weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=2 / selective-sao=0 / early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=23.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=0.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=255 / sar-width / : / sar-height=3:4 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-sbrc / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Menus : 6
Codec configuration box : hvcC

Audio #1
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : 2 / 40 / mp4a-40-2
Duration : 1 h 41 min
Source duration : 1 h 41 min
Bit rate mode : Constant
Bit rate : 637 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 464 MiB (35%)
Source stream size : 464 MiB (35%)
Title : DTS-HD MA 5.1 / DTS-HD MA 5.1
Language : English
Default : Yes
Alternate group : 1
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Menus : 6

Audio #2
ID : 3
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : 2 / 40 / mp4a-40-2
Duration : 1 h 41 min
Source duration : 1 h 41 min
Bit rate mode : Constant
Bit rate : 160 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 116 MiB (9%)
Source stream size : 116 MiB (9%)
Title : Commentary hosted by Sydney Pollack / Commentary hosted by Sydney Pollack
Language : English
Default : No
Alternate group : 1
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Menus : 6

Text #1
ID : 4
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1 h 41 min
Bit rate mode : Variable
Bit rate : 112 b/s
Frame rate : 0.466 FPS
Stream size : 83.0 KiB (0%)
Title : Stripped SRT / Stripped SRT
Language : English
Default : Yes
Forced : No
Alternate group : 3
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Count of events : 1388
Menus : 6

Text #2
ID : 5
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1 h 41 min
Bit rate mode : Variable
Bit rate : 120 b/s
Frame rate : 0.502 FPS
Stream size : 88.8 KiB (0%)
Title : SDH SRT / SDH SRT
Language : English
Default : No
Forced : No
Alternate group : 3
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Count of events : 1500
Menus : 6

Menu
ID : 6
Format : Timed Text
Codec ID : text
Duration : 1 h 41 min
Language : English
Encoded date : 2023-10-06 00:00:42 UTC
Tagged date : 2023-10-06 00:00:42 UTC
Menu For : 1,2,3,4,5

Fascinating. :slight_smile:

I created a new Handbrake profile just the way I wanted it, using “AMD VCE” hardware encoder. This set “Profile” to “Main” and “Level” to “Auto”. I manually reset this to 5.1.

→ The resultant file suffered from all the same problems - no scrolling.

Then I changed the encoder to “Intel QSV” hardware. This changed both profile/level back to “Auto”, again I selected “Main” and “5.1”.

→ This file is fine.

I can’t find significant differences in the format of the two files. The bitrate of the Intel one is lower, but that seems to be about it.

Here the AMD (non-scrollable) file:

General
Complete name                            : <filename>.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso2/mp41)
File size                                : 1.79 GiB
Duration                                 : 48 min 53 s
Overall bit rate                         : 5 248 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : <name>
Encoded date                             : 2023-10-06 18:22:15 UTC
Tagged date                              : 2023-10-06 18:22:15 UTC
Writing application                      : HandBrake 1.6.1 2023012300

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 48 min 53 s
Bit rate                                 : 4 920 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.223
Stream size                              : 1.68 GiB (94%)
Encoded date                             : 2023-10-06 18:22:15 UTC
Tagged date                              : 2023-10-06 18:22:15 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Menus                                    : 4
Codec configuration box                  : hvcC

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 56.0 MiB (3%)
Source stream size                       : 56.0 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : German
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : 2023-10-06 18:22:15 UTC
Tagged date                              : 2023-10-06 18:22:15 UTC
Menus                                    : 4

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 159 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 55.7 MiB (3%)
Source stream size                       : 55.7 MiB (3%)
Title                                    : Stereo / Stereo
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : 2023-10-06 18:22:15 UTC
Tagged date                              : 2023-10-06 18:22:15 UTC
Menus                                    : 4

Menu
ID                                       : 4
Format                                   : Timed Text
Codec ID                                 : text
Duration                                 : 48 min 53 s
Language                                 : English
Encoded date                             : 2023-10-06 18:22:15 UTC
Tagged date                              : 2023-10-06 18:22:15 UTC
Bit rate mode                            : CBR
Menu For                                 : 1,2,3
00:00:00.000                             : Chapter 1
00:01:51.111                             : Chapter 2
00:14:42.715                             : Chapter 3
00:23:42.463                             : Chapter 4
00:34:01.790                             : Chapter 5
00:46:43.092                             : Chapter 6
00:48:21.399                             : Chapter 7
Bit rate mode                            : Constant

And here the Intel (scrollable) one:

General
Complete name                            : <filename>.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso2/mp41)
File size                                : 1.38 GiB
Duration                                 : 48 min 53 s
Overall bit rate                         : 4 030 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : <name>
Encoded date                             : 2023-10-06 20:09:28 UTC
Tagged date                              : 2023-10-06 20:09:28 UTC
Writing application                      : HandBrake 1.6.1 2023012300

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5.1@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 48 min 53 s
Bit rate                                 : 3 700 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.167
Stream size                              : 1.26 GiB (92%)
Encoded date                             : 2023-10-06 20:09:28 UTC
Tagged date                              : 2023-10-06 20:09:28 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Menus                                    : 4
mdhd_Duration                            : 2933597
Codec configuration box                  : hvcC

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 56.0 MiB (4%)
Source stream size                       : 56.0 MiB (4%)
Title                                    : Stereo / Stereo
Language                                 : German
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : 2023-10-06 20:09:28 UTC
Tagged date                              : 2023-10-06 20:09:28 UTC
Menus                                    : 4

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 48 min 53 s
Source duration                          : 48 min 53 s
Bit rate mode                            : Constant
Bit rate                                 : 159 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 55.7 MiB (4%)
Source stream size                       : 55.7 MiB (4%)
Title                                    : Stereo / Stereo
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : 2023-10-06 20:09:28 UTC
Tagged date                              : 2023-10-06 20:09:28 UTC
Menus                                    : 4

Menu
ID                                       : 4
Format                                   : Timed Text
Codec ID                                 : text
Duration                                 : 48 min 53 s
Language                                 : English
Encoded date                             : 2023-10-06 20:09:28 UTC
Tagged date                              : 2023-10-06 20:09:28 UTC
Bit rate mode                            : CBR
Menu For                                 : 1,2,3
00:00:00.000                             : Chapter 1
00:01:51.111                             : Chapter 2
00:14:42.715                             : Chapter 3
00:23:42.463                             : Chapter 4
00:34:01.790                             : Chapter 5
00:46:43.092                             : Chapter 6
00:48:21.399                             : Chapter 7
Bit rate mode                            : Constant

One more thing: Even if I specify the frame rate as “Constant Framerate” in Handbrake, the file report still states “variable”. It doesn’t seem to make a difference here, but I’m still wondering if some other setting is overriding the “constant” (maybe the “framerate - same as source” I keep selecting?) or if there might simply be a bug in there.

Regards

It’s likely an issue with AMD’s hardware encoder producing out of spec files.

MediaInfo will tell you the advertised specification of the file but won’t confirm whether it is conformant.

You could encode using a different profile or see if there is an update available for your graphics card.

Perhaps AMD have a support channel for this.

Sam