Enable hardware acceleration in macOS application using VLCKit
Posted: 16 Jul 2019 15:16
How to enable hardware acceleration decoding in a macOS application using VLCKit framework, so that while playing videos GPU is also used. As of now only CPU is used and when the CPU reached 100%, video is stuck and not playing properly.
The options I used are
"--avcodec-skiploopfilter=4",
"--avcodec-skip-frame=2",
"--avcodec-fast",
"--verbose=0",
"--avcodec-hw=vaapi_drm",
"--avcodec-skip-idct=2",
"--avcodec-threads=255"
Please let me know
The options I used are
"--avcodec-skiploopfilter=4",
"--avcodec-skip-frame=2",
"--avcodec-fast",
"--verbose=0",
"--avcodec-hw=vaapi_drm",
"--avcodec-skip-idct=2",
"--avcodec-threads=255"
Please let me know