Closed madmanxxx closed 16 hours ago
This is intended, see --vd-lavc-software-fallback
to control this behaviour.
Well, setting --vd-lavc-software-fallback=25
solved the problem in my case.
Interesting option, I would NEVER have guessed it exists, even considering the amount of options MPV has...
That settles the issue I guess... Closing.
mpv Information
Other Information
Reproduction Steps
For convenience, you may use the following one-liner
mpv --hwdec=vaapi https://timobai.pl/videos/sample.ts
The file is a few seconds dump of a DVB-T2 (H265) stream, served by Tvheadend. It may also be downloaded and played locally with the same effect.
Expected Behavior
Hardware acceleration (VAAPI in my case) should be used.
Actual Behavior
Software decoding is used, which manifests itself by:
Using hardware decoding (vaapi).
in console output.Hardware decoding can still be turned on by pressing Ctrl+H twice, but not always, I would say in 80 % of cases. The provided log file is from a run, where Ctrl+H was pressed twice a few seconds after the playback started. Successful activation of hardware acceleration causes CPU usage drop and the above message appears in the console.
If I convert this sample with FFMPEG without transcoding, MPV will enable hardware decoding right from the beginning. It's like MPV gives up hardware decoding after 3 unsuccessful tries.
Log File
mpv-software-decoding.log
Sample Files
https://timobai.pl/videos/sample.ts
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.