VideoConfiguration
VideoConfiguration
#
Additional configuration for video playback.
enable_hardware_acceleration
#
enable_hardware_acceleration: bool = True
Whether to enable hardware acceleration. When disabled, may cause battery drain, device heating, and high CPU usage.
hardware_decoding_api
#
hardware_decoding_api: str | None = None
Sets the --hwdec property on native backend.
The default value is platform dependent
- Windows, GNU/Linux, macOS & iOS :
"auto"
- Android:
"auto-safe"
output_driver
#
output_driver: str | None = None
Sets the --vo property on native backend.
The default value is platform dependent
- Windows, GNU/Linux, macOS & iOS :
"libmpv"
- Android:
"gpu"