Source#
Apple Developer Forums — “Inquiry about Low-Latency Frame Interpolation & Super Resolution using VTFrameProcessor” (current 2026 VideoToolbox/HLS discussion):
https://developer.apple.com/forums/tags/videotoolbox
Reported discriminator:
VTLowLatencySuperResolutionScaler
144x144 source → VTFrameProcessorErrorDomain -19730
480x270 source → processes successfully
reported minimumDimensions → 96x96
Apple documentation:
VTLowLatencySuperResolutionScalerConfiguration: https://developer.apple.com/documentation/videotoolbox/vtlowlatencysuperresolutionscalerconfigurationVTFrameProcessorConfiguration: https://developer.apple.com/documentation/videotoolbox/vtframeprocessorconfiguration- Frame processing: https://developer.apple.com/documentation/videotoolbox/frame-processing
Problem#
A 144×144 frame is numerically above the reported 96×96 minimumDimensions, yet low-latency super resolution fails during processing while 480×270 succeeds. It is tempting to infer an undocumented “square video is unsupported” rule or to treat -19730 as a semantic error code.
The public API exposes a stronger discriminator: support is not described only by global min/max dimensions. VTLowLatencySuperResolutionScalerConfiguration also exposes supportedScaleFactors(forFrameWidth:frameHeight:), and Apple explicitly notes that not every scale factor is available for every source dimension.
The debugging question is therefore:
Does the exact
(width, height, scaleFactor, pixel format)tuple form a supported configuration before a frame-processing session is started?
Evidence level#
DOCUMENTED#
VTFrameProcessorConfiguration exposes processor availability, minimumDimensions, maximumDimensions, and source/destination pixel-buffer requirements.
For low-latency super resolution, Apple additionally exposes supportedScaleFactors(forFrameWidth:frameHeight:), which returns the scale factors supported for a specific width and height, or an empty set when those dimensions are unsupported. Apple documents that supported scale factors depend on source dimensions.
Therefore:
width >= minimum.width
&& height >= minimum.height
is not sufficient evidence that a particular low-latency super-resolution configuration is supported.
OBSERVED#
The forum reporter sees 144×144 fail with VTFrameProcessorErrorDomain -19730 while 480×270 works, despite the reported minimum being 96×96.
IMPLEMENTATION EVIDENCE#
The error text says processing failed inside VCPFrameSuperResolutionProcessor. That locates the failure below the public frame-processor call, but it does not establish a stable semantic meaning for numeric status -19730 or prove an aspect-ratio restriction.
INFERENCE#
The failing tuple may violate a dimension/scale-factor/model constraint not represented by the coarse minimum bounding dimensions. A square-aspect-ratio restriction is only one hypothesis; width/height alignment, pixel count, scale factor, pixel format, or model availability can produce the same symptom.
UNKNOWN#
- Whether 144×144 is rejected by
supportedScaleFactors(forFrameWidth:frameHeight:)on the affected device/OS. - Whether changing only scale factor makes 144×144 valid.
- Whether nearby square dimensions such as 128×128, 160×160, 192×192, or 256×256 behave differently.
- Exact private predicate producing
-19730.
Investigation / Explanation#
Treat support as a configuration tuple:
processor available
→ exact source dimensions
→ supported scale factors for those dimensions
→ chosen scale factor
→ source pixel-buffer attributes
→ destination pixel-buffer attributes
→ startSession
→ process
Before constructing the session, record:
isSupported
minimumDimensions
maximumDimensions
source width/height
supportedScaleFactors(forFrameWidth:height:)
chosen scaleFactor
source CVPixelBuffer pixel format / width / height
configuration sourcePixelBufferAttributes
destinationPixelBufferAttributes
Do not infer support from minimumDimensions alone. Min/max values are coarse bounds; the dimension-specific support query is the stronger public contract for this processor.
For ABR playback, repeat this check whenever decoded dimensions change. A rendition switch can move the decoded frame from one supported tuple to another unsupported tuple even though both are inside global min/max bounds.
Verification matrix#
On the same device/OS/pixel format, test:
A. 144x144 @ 2x
B. 144x144 @ 4x
C. 128x128 @ 2x
D. 160x160 @ 2x
E. 192x192 @ 2x
F. 256x256 @ 2x
G. 480x270 @ 2x
H. 480x270 @ 4x
For each tuple capture:
supportedScaleFactors(width,height)
configuration init result
startSession result
process result
actual source/destination CVPixelBuffer geometry
pixel format
full NSError chain
Interpretation:
144x144 returns []
→ public capability query already rejects the dimensions
144x144 returns [2], 2x works, 4x fails
→ scale factor is the discriminator
multiple square sizes fail while same-pixel-count landscape sizes work
→ aspect ratio becomes a stronger hypothesis
support query advertises the exact tuple but process still fails
→ preserve a minimal repro; public capability reporting and runtime execution disagree
For HLS/ABR add:
I. fixed-resolution rendition known supported
J. ABR switch supported → supported
K. ABR switch supported → unsupported tuple
If only K fails immediately after the decoded format changes, session/configuration lifecycle at the ABR boundary becomes primary.
Solution / Guideline#
- Gate low-latency super resolution with the exact dimension-specific
supportedScaleFactorsquery, not onlyminimumDimensions/maximumDimensions. - Choose a scale factor from the returned set for the current decoded dimensions.
- Validate actual source and destination
CVPixelBuffergeometry/pixel format against the configuration attributes beforeprocess. - For ABR streams, treat a decoded resolution change as a configuration boundary: re-query capabilities and rebuild/restart the processor session if the existing configuration no longer describes the frames.
- If Apple reports an exact tuple as supported but
processreproducibly fails, reduce that tuple to a local-frame repro and file Feedback with device, OS build, pixel format, scale factor, capability-query output, and full error chain. - Treat
-19730as implementation evidence, not a stable product classifier.
Reusable engineering rule#
A global minimum/maximum is a bounding box, not proof that every point inside it is supported.
For media processors with dimension-dependent capabilities, validate the complete tuple:
(width, height, scale factor, pixel format, processor revision)
against the most specific public capability query available. During HLS ABR, capability must be re-evaluated when the decoded format changes; manifest RESOLUTION being “within range” is not sufficient.
References#
- Apple Developer Forums — current VideoToolbox discussion: https://developer.apple.com/forums/tags/videotoolbox
- Apple —
VTLowLatencySuperResolutionScalerConfiguration: https://developer.apple.com/documentation/videotoolbox/vtlowlatencysuperresolutionscalerconfiguration - Apple —
VTFrameProcessorConfiguration: https://developer.apple.com/documentation/videotoolbox/vtframeprocessorconfiguration - Apple — Frame processing: https://developer.apple.com/documentation/videotoolbox/frame-processing