Skip to content

VideoToolBox decoder

Register name used to load filter: vtbdec
This filter may be automatically loaded during graph resolution.

This filter decodes video streams through OSX/iOS VideoToolBox (MPEG-2, H263, AVC|H264, HEVC, ProRes). It allows GPU frame dispatch or direct frame copy.

Options

reorder (uint, default: 6): number of frames to wait for temporal re-ordering

no_copy (bool, default: true): dispatch decoded frames as OpenGL textures (true) or as copied packets (false)

ofmt (pfmt, default: nv12): set default pixel format for decoded video. If not found, fall back to nv12

disable_hw (bool, default: false): disable hardware decoding

wait_sync (bool, default: false, updatable): wait for sync frame before decoding

Was this page helpful?