Call for help: VideoToolbox and constant quality
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Call for help: VideoToolbox and constant quality
Hi,
VideoToolbox seems to support a constant quality mode on some Mac configurations, but it's not clear on which ones. There is a way to programmatically ask VideoToolbox if constant quality is supported, but even if the answer is true the hardware encoder doesn't always respect the chosen quality rate.
It would be helpful to test it on a variety of Mac hardware. The test is simple:
- Download an HandBrake nightly build ( https://handbrake.fr/nightly.php )
- Check which Videotoolbox encoder (H.264 and H.265) allows constant quality.
- Encode a video at two different quality level (for example 30 and 60), and check if the resulting files are not the same size.
VideoToolbox seems to support a constant quality mode on some Mac configurations, but it's not clear on which ones. There is a way to programmatically ask VideoToolbox if constant quality is supported, but even if the answer is true the hardware encoder doesn't always respect the chosen quality rate.
It would be helpful to test it on a variety of Mac hardware. The test is simple:
- Download an HandBrake nightly build ( https://handbrake.fr/nightly.php )
- Check which Videotoolbox encoder (H.264 and H.265) allows constant quality.
- Encode a video at two different quality level (for example 30 and 60), and check if the resulting files are not the same size.
-
- Veteran User
- Posts: 4859
- Joined: Wed May 04, 2011 11:06 pm
Re: Call for help: VideoToolbox and constant quality
Do you have a rough idea of what models support VideoToolbox?
Re: Call for help: VideoToolbox and constant quality
MacBook Pro (15-inch, Late 2016), macOS10.15.6
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264: CQ is not available
- H.265: CQ is available
- Video encoded with H.265 CQ 30: 1.8 MB
- Video encoded with H.265 CQ 60: 1.8 MB
MacBook Pro (16 Zoll, 2019), macOS 10.15.6
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264: CQ is not available
- H.265: CQ is not available
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264: CQ is not available
- H.265: CQ is available
- Video encoded with H.265 CQ 30: 1.8 MB
- Video encoded with H.265 CQ 60: 1.8 MB
MacBook Pro (16 Zoll, 2019), macOS 10.15.6
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264: CQ is not available
- H.265: CQ is not available
Re: Call for help: VideoToolbox and constant quality
Same here (same model, same lack of capabilities). Radeon 5500 variant, FWIW, but it's all probably being done on the T2 chip?
I didn't expect there would be so few replies to this topic TBH.
Re: Call for help: VideoToolbox and constant quality
Definitely looks like the same size, but the encode logs might be helpful anyway?
Re: Call for help: VideoToolbox and constant quality
I can ask some Mac users I know to help and then post the results here.
CQ 30:
Code: Select all
[20:38:03] macgui: Handbrake Version: 20200904205441-1cdd6e4e7-master (2020090501)
[20:38:03] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:03] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:03] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:03] hb_init: starting libhb thread
[20:38:03] macgui: Error domain: NSCocoaErrorDomain
[20:38:03] macgui: Error code: 4
[20:38:03] macgui: Error description: Die Datei existiert nicht.
[20:38:03] macgui: Error debug description: Error Domain=NSCocoaErrorDomain Code=4 "Die Datei existiert nicht."
[20:38:10] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[20:38:10] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[20:38:10] - Intel microarchitecture Skylake
[20:38:10] - logical processor count: 8
[20:38:10] hb_scan: path=/Users/nomis101/Documents/Stop Motion.m4v, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/nomis101/Documents/Stop Motion.m4v
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/nomis101/Documents/Stop Motion.m4v/) failed
[20:38:10] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:38:10] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nomis101/Documents/Stop Motion.m4v':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V M4A mp42isom
creation_time : 2014-11-29T17:53:58.000000Z
description : Mein neuer Film Stop Motion
keywords : 29.11.14
title : Stop Motion
Duration: 00:00:11.92, start: 0.000000, bitrate: 1660 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 854x480, 1528 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Video Mediensteuerung
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Ton Mediensteuerung
[20:38:10] scan: decoding previews for title 1
[20:38:10] scan: audio 0x1: aac, rate=48000Hz, bitrate=124306 English (AAC LC) (2.0 ch) (124 kbps)
[20:38:11] scan: 40 previews, 854x480, 24.000 fps, autocrop = 0/0/48/50, aspect 16:9, PAR 1:1
[20:38:11] libhb: scan thread found 1 valid title(s)
[20:38:11] macgui: ScanCore scan done
[20:38:41] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:41] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:41] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:41] Compile-time hardening features are enabled
[20:38:42] hb_init: starting libhb thread
[20:38:42] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[20:38:42] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[20:38:42] - Intel microarchitecture Skylake
[20:38:42] - logical processor count: 8
[20:38:42] hb_scan: path=/Users/nomis101/Documents/Stop Motion.m4v, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/nomis101/Documents/Stop Motion.m4v
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/nomis101/Documents/Stop Motion.m4v/) failed
[20:38:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:38:42] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nomis101/Documents/Stop Motion.m4v':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V M4A mp42isom
creation_time : 2014-11-29T17:53:58.000000Z
description : Mein neuer Film Stop Motion
keywords : 29.11.14
title : Stop Motion
Duration: 00:00:11.92, start: 0.000000, bitrate: 1660 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 854x480, 1528 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Video Mediensteuerung
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Ton Mediensteuerung
[20:38:42] scan: decoding previews for title 1
[20:38:42] scan: audio 0x1: aac, rate=48000Hz, bitrate=124306 English (AAC LC) (2.0 ch) (124 kbps)
[20:38:42] scan: 10 previews, 854x480, 24.000 fps, autocrop = 0/0/48/50, aspect 16:9, PAR 1:1
[20:38:42] libhb: scan thread found 1 valid title(s)
[20:38:42] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:42] macgui: fr.handbrake.HandBrakeXPCService scan done
[20:38:42] macgui: fr.handbrake.HandBrakeXPCService started encoding Stop Motion-30.m4v
[20:38:42] macgui: fr.handbrake.HandBrakeXPCService with preset Super HQ 1080p30 Surround (Modifiziert)
[20:38:42] Starting work at: Tue Sep 8 20:38:42 2020
[20:38:42] 1 job(s) to process
[20:38:42] Starting Task: Encoding Pass
[20:38:42] work: only 1 chapter, disabling chapter markers
[20:38:42] job configuration:
[20:38:42] * source
[20:38:42] + /Users/nomis101/Documents/Stop Motion.m4v
[20:38:42] + title 1, chapter(s) 1 to 1
[20:38:42] + container: mov,mp4,m4a,3gp,3g2,mj2
[20:38:42] + data rate: 1660 kbps
[20:38:42] * destination
[20:38:42] + /Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/Stop Motion-30.m4v
[20:38:42] + container: MPEG-4 (libavformat)
[20:38:42] + align initial A/V stream timestamps
[20:38:42] * video track
[20:38:42] + decoder: h264
[20:38:42] + bitrate 1528 kbps
[20:38:42] + filters
[20:38:42] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[20:38:42] + Decomb (mode=39)
[20:38:42] + Framerate Shaper (mode=2:rate=27000000/900000)
[20:38:42] + frame rate: 24.000 fps -> peak rate limited to 30.000 fps
[20:38:42] + Crop and Scale (width=756:height=480:crop-top=0:crop-bottom=0:crop-left=48:crop-right=50)
[20:38:42] + source: 854 * 480, crop (0/0/48/50): 756 * 480, scale: 756 * 480
[20:38:42] + Output geometry
[20:38:42] + storage dimensions: 756 x 480
[20:38:42] + pixel aspect ratio: 1 : 1
[20:38:42] + display dimensions: 756 x 480
[20:38:42] + encoder: H.265 (libavcodec)
[20:38:42] + preset: default
[20:38:42] + profile: auto
[20:38:42] + quality: 30.00 (CQ)
[20:38:42] + color profile: 1-1-1
[20:38:42] * audio track 1
[20:38:42] + decoder: English (AAC LC) (2.0 ch) (124 kbps) (track 1, id 0x1)
[20:38:42] + bitrate: 124 kbps, samplerate: 48000 Hz
[20:38:42] + mixdown: Stereo
[20:38:42] + encoder: AAC (Apple AudioToolbox)
[20:38:42] + bitrate: 160 kbps, samplerate: 48000 Hz
[20:38:42] * audio track 2
[20:38:42] + decoder: English (AAC LC) (2.0 ch) (124 kbps) (track 1, id 0x1)
[20:38:42] + bitrate: 124 kbps, samplerate: 48000 Hz
[20:38:42] + mixdown: Stereo
[20:38:42] + encoder: AC3 (libavcodec)
[20:38:42] + bitrate: 640 kbps, samplerate: 48000 Hz
[20:38:42] sync: expecting 286 video frames
[20:38:42] encavcodecInit: H.265 (VideoToolbox)
[20:38:42] encavcodec: encoding at constant quality 30
[20:38:42] encavcodec: encoding with stored aspect 1/1
[20:38:42] sync: first pts video is 0
[20:38:42] sync: "Kapitel 1" (1) at frame 1 time 0
[20:38:42] sync: first pts audio 0x1 is 0
[20:38:42] sync: first pts audio 0x1 is 0
[20:38:45] reader: done. 1 scr changes
[20:38:47] work: average encoding speed for job is 0.000000 fps
[20:38:47] comb detect: heavy 1 | light 2 | uncombed 283 | total 286
[20:38:47] decomb: deinterlaced 1 | blended 2 | unfiltered 283 | total 286
[20:38:47] vfr: 286 frames output, 0 dropped and 0 duped for CFR/PFR
[20:38:47] vfr: lost time: 0 (0 frames)
[20:38:47] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:38:47] aac-decoder done: 559 frames, 0 decoder errors
[20:38:47] aac-decoder done: 559 frames, 0 decoder errors
[20:38:47] h264-decoder done: 286 frames, 0 decoder errors
[20:38:47] sync: got 286 frames, 286 expected
[20:38:47] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[20:38:47] mux: track 0, 286 frames, 585396 bytes, 390.26 kbps, fifo 512
[20:38:47] mux: track 1, 562 frames, 228078 bytes, 152.05 kbps, fifo 1024
[20:38:47] mux: track 2, 372 frames, 952320 bytes, 634.88 kbps, fifo 512
[20:38:47] Finished work at: Tue Sep 8 20:38:47 2020
[20:38:47] libhb: work result = 0
[20:38:47] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:47] macgui: Queue Done, there are no more pending encodes
[20:38:47] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:38:47] macgui: fr.handbrake.HandBrakeXPCService work done
CQ 60:
Code: Select all
[20:41:29] macgui: Handbrake Version: 20200904205441-1cdd6e4e7-master (2020090501)
[20:41:29] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:41:29] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:41:29] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:41:29] hb_init: starting libhb thread
[20:41:29] macgui: Error domain: NSCocoaErrorDomain
[20:41:29] macgui: Error code: 4
[20:41:29] macgui: Error description: Die Datei existiert nicht.
[20:41:29] macgui: Error debug description: Error Domain=NSCocoaErrorDomain Code=4 "Die Datei existiert nicht."
[20:41:37] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[20:41:37] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[20:41:37] - Intel microarchitecture Skylake
[20:41:37] - logical processor count: 8
[20:41:37] hb_scan: path=/Users/nomis101/Documents/Stop Motion.m4v, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/nomis101/Documents/Stop Motion.m4v
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/nomis101/Documents/Stop Motion.m4v/) failed
[20:41:37] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:41:37] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nomis101/Documents/Stop Motion.m4v':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V M4A mp42isom
creation_time : 2014-11-29T17:53:58.000000Z
description : Mein neuer Film Stop Motion
keywords : 29.11.14
title : Stop Motion
Duration: 00:00:11.92, start: 0.000000, bitrate: 1660 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 854x480, 1528 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Video Mediensteuerung
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Ton Mediensteuerung
[20:41:37] scan: decoding previews for title 1
[20:41:37] scan: audio 0x1: aac, rate=48000Hz, bitrate=124306 English (AAC LC) (2.0 ch) (124 kbps)
[20:41:38] scan: 40 previews, 854x480, 24.000 fps, autocrop = 0/0/48/50, aspect 16:9, PAR 1:1
[20:41:38] libhb: scan thread found 1 valid title(s)
[20:41:38] macgui: ScanCore scan done
[20:42:05] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:05] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:05] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:05] Compile-time hardening features are enabled
[20:42:06] hb_init: starting libhb thread
[20:42:06] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[20:42:06] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[20:42:06] - Intel microarchitecture Skylake
[20:42:06] - logical processor count: 8
[20:42:06] hb_scan: path=/Users/nomis101/Documents/Stop Motion.m4v, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/nomis101/Documents/Stop Motion.m4v
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/nomis101/Documents/Stop Motion.m4v/) failed
[20:42:06] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:42:06] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nomis101/Documents/Stop Motion.m4v':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V M4A mp42isom
creation_time : 2014-11-29T17:53:58.000000Z
description : Mein neuer Film Stop Motion
keywords : 29.11.14
title : Stop Motion
Duration: 00:00:11.92, start: 0.000000, bitrate: 1660 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 854x480, 1528 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Video Mediensteuerung
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-11-29T17:53:58.000000Z
handler_name : Apple Ton Mediensteuerung
[20:42:06] scan: decoding previews for title 1
[20:42:06] scan: audio 0x1: aac, rate=48000Hz, bitrate=124306 English (AAC LC) (2.0 ch) (124 kbps)
[20:42:06] scan: 10 previews, 854x480, 24.000 fps, autocrop = 0/0/48/50, aspect 16:9, PAR 1:1
[20:42:06] libhb: scan thread found 1 valid title(s)
[20:42:06] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:06] macgui: fr.handbrake.HandBrakeXPCService scan done
[20:42:06] macgui: fr.handbrake.HandBrakeXPCService started encoding Stop Motion-60.m4v
[20:42:06] macgui: fr.handbrake.HandBrakeXPCService with preset Super HQ 1080p30 Surround (Modifiziert)
[20:42:06] Starting work at: Tue Sep 8 20:42:06 2020
[20:42:06] 1 job(s) to process
[20:42:06] Starting Task: Encoding Pass
[20:42:06] work: only 1 chapter, disabling chapter markers
[20:42:06] job configuration:
[20:42:06] * source
[20:42:06] + /Users/nomis101/Documents/Stop Motion.m4v
[20:42:06] + title 1, chapter(s) 1 to 1
[20:42:06] + container: mov,mp4,m4a,3gp,3g2,mj2
[20:42:06] + data rate: 1660 kbps
[20:42:06] * destination
[20:42:06] + /Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/Stop Motion-60.m4v
[20:42:06] + container: MPEG-4 (libavformat)
[20:42:06] + align initial A/V stream timestamps
[20:42:06] * video track
[20:42:06] + decoder: h264
[20:42:06] + bitrate 1528 kbps
[20:42:06] + filters
[20:42:06] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[20:42:06] + Decomb (mode=39)
[20:42:06] + Framerate Shaper (mode=2:rate=27000000/900000)
[20:42:06] + frame rate: 24.000 fps -> peak rate limited to 30.000 fps
[20:42:06] + Crop and Scale (width=756:height=480:crop-top=0:crop-bottom=0:crop-left=48:crop-right=50)
[20:42:06] + source: 854 * 480, crop (0/0/48/50): 756 * 480, scale: 756 * 480
[20:42:06] + Output geometry
[20:42:06] + storage dimensions: 756 x 480
[20:42:06] + pixel aspect ratio: 1 : 1
[20:42:06] + display dimensions: 756 x 480
[20:42:06] + encoder: H.265 (libavcodec)
[20:42:06] + preset: default
[20:42:06] + profile: auto
[20:42:06] + quality: 60.00 (CQ)
[20:42:06] + color profile: 1-1-1
[20:42:06] * audio track 1
[20:42:06] + decoder: English (AAC LC) (2.0 ch) (124 kbps) (track 1, id 0x1)
[20:42:06] + bitrate: 124 kbps, samplerate: 48000 Hz
[20:42:06] + mixdown: Stereo
[20:42:06] + encoder: AAC (Apple AudioToolbox)
[20:42:06] + bitrate: 160 kbps, samplerate: 48000 Hz
[20:42:06] * audio track 2
[20:42:06] + decoder: English (AAC LC) (2.0 ch) (124 kbps) (track 1, id 0x1)
[20:42:06] + bitrate: 124 kbps, samplerate: 48000 Hz
[20:42:06] + mixdown: Stereo
[20:42:06] + encoder: AC3 (libavcodec)
[20:42:06] + bitrate: 640 kbps, samplerate: 48000 Hz
[20:42:06] sync: expecting 286 video frames
[20:42:06] encavcodecInit: H.265 (VideoToolbox)
[20:42:06] encavcodec: encoding at constant quality 60
[20:42:06] encavcodec: encoding with stored aspect 1/1
[20:42:06] sync: first pts video is 0
[20:42:06] sync: "Kapitel 1" (1) at frame 1 time 0
[20:42:06] sync: first pts audio 0x1 is 0
[20:42:06] sync: first pts audio 0x1 is 0
[20:42:09] reader: done. 1 scr changes
[20:42:10] work: average encoding speed for job is 0.000000 fps
[20:42:10] comb detect: heavy 1 | light 2 | uncombed 283 | total 286
[20:42:10] decomb: deinterlaced 1 | blended 2 | unfiltered 283 | total 286
[20:42:10] vfr: 286 frames output, 0 dropped and 0 duped for CFR/PFR
[20:42:10] vfr: lost time: 0 (0 frames)
[20:42:10] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:42:10] aac-decoder done: 559 frames, 0 decoder errors
[20:42:10] aac-decoder done: 559 frames, 0 decoder errors
[20:42:10] h264-decoder done: 286 frames, 0 decoder errors
[20:42:10] sync: got 286 frames, 286 expected
[20:42:10] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[20:42:11] mux: track 0, 286 frames, 585396 bytes, 390.26 kbps, fifo 512
[20:42:11] mux: track 1, 562 frames, 228078 bytes, 152.05 kbps, fifo 1024
[20:42:11] mux: track 2, 372 frames, 952320 bytes, 634.88 kbps, fifo 512
[20:42:11] Finished work at: Tue Sep 8 20:42:11 2020
[20:42:11] libhb: work result = 0
[20:42:11] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:11] macgui: Queue Done, there are no more pending encodes
[20:42:11] macgui: Failed to create bookmark: Error Domain=NSCocoaErrorDomain Code=256 "Could not open() the item" UserInfo={NSURL=file:///Users/nomis101/Library/Containers/fr.handbrake.HandBrake/Data/Movies/, NSDebugDescription=Could not open() the item}
[20:42:11] macgui: fr.handbrake.HandBrakeXPCService work done
Re: Call for help: VideoToolbox and constant quality
Some Mac user I've asked, replied this.
iMac (27-inch, Middle 2011), macOS10.12.6
3,4Ghz, 24GB Ram
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264 (Videotoolbox): CQ is not available
- H.265 (Videotoolbox): Option not available at all
MacBook pro (15-inch, Middle 2014), macOS10.14.6
2,2Ghz, 16GB Ram
Version 20200904205441-1cdd6e4e7-master (2020090501)
- H.264 (Videotoolbox): CQ is not available
- H.265 (Videotoolbox): Option not available at all
MacBook Pro (15-inch, Mid 2009), macOS 10.11.6
Version 20200907214430-f6bb5723d-master
- H.264 (Videotoolbox): Option not available at all
- H.265 (Videotoolbox): Option not available at all
Re: Call for help: VideoToolbox and constant quality
One more:
Macmini8,1 / 6-Core Intel Core i7 / 3,2 GHz / Intel UHD Graphics 630
Version 20200907214430-f6bb5723d-master
- H.264 (Videotoolbox): CQ is not available
- H.265 (Videotoolbox): CQ is not available
Re: Call for help: VideoToolbox and constant quality
Not available:
Model Identifier: Macmini8,1
Processor Name: 6-Core Intel Core i5
Chipset Model: Intel UHD Graphics 630
Model Identifier: Macmini8,1
Processor Name: 6-Core Intel Core i5
Chipset Model: Intel UHD Graphics 630
Re: Call for help: VideoToolbox and constant quality
It seems there is no hope for constant quality on Intel Macs.
Re: Call for help: VideoToolbox and constant quality
One more:
iMac (21,5 Zoll, Mitte 2011)
High Sierra Version 10.13.6
Speicher: 16 GB 1333 MHz DDR3
Version 20200913082813-7c9705a66-master (2020091301)
H.264 (VideoToolbox): CQ available
H.265 (Videotoolbox): CQ is not available
Mit H.264 (VideoToolbox) 30 BpS: 2.6 MB
Mit H.264 (VideoToolbox) 60 BpS: 2.7 MB
Re: Call for help: VideoToolbox and constant quality
Maybe the encoding is done on the T2 chip rather than the Intel UHD graphics?
Re: Call for help: VideoToolbox and constant quality
I was hoping my AMD Radeon GPU would be used for the encode. I also don't have CQ if I force the T2 to be used for the encode.
I have one more:
MacBook Pro 15" 2016
macOS 10.14.6
2,7 GHz Intel Core i7
Radeon Pro 455 2GB und Intel HAD Graphics 530 1536MB
Handbrake-Version 20200913082813-7c9705a66-master (2020091301)
H.264 (VideoToolbox): CQ is not available
H.265 (Videotoolbox): CQ is not available
-
- Veteran User
- Posts: 2697
- Joined: Thu Jan 22, 2009 8:04 pm
Re: Call for help: VideoToolbox and constant quality
The nightly crashes after/while scanning the source.
However - Version 1.3.1 (2020010400) does not let me select CQ when selecting the H.264 (VideoToolBox) encoder. Just updated to - Version 1.3.3 (2020061300), and it also does not let me select CQ with the VideoToolBox encoder.
The system is a 2011 i5 Mac mini with 10.13. It's kinda misbehaving lately, so that might be why the nightly is crashing.
SC
However - Version 1.3.1 (2020010400) does not let me select CQ when selecting the H.264 (VideoToolBox) encoder. Just updated to - Version 1.3.3 (2020061300), and it also does not let me select CQ with the VideoToolBox encoder.
The system is a 2011 i5 Mac mini with 10.13. It's kinda misbehaving lately, so that might be why the nightly is crashing.
SC