vd_lavc: add ProRes RAW to the list of default hwdec codecs

Unlike all other codecs, ProRes RAW is pretty much guaranteed to be slow
as hell on the CPU, always having thousands of tiles. And even on a very
slow GPU, a CPU decode won't be anywhere near to usable to make a difference.
This commit is contained in:
Lynne authored and Kacper Michajłow committed 2025-10-27 19:52:57 +01:00
1 parent 44685344a5
commit f181907aff
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1834,7 +1834,7 @@ Video
You can get the list of allowed codecs with ``mpv --vd=help``. Remove the
prefix, e.g. instead of ``lavc:h264`` use ``h264``.
By default, this is set to ``h264,vc1,hevc,vp8,vp9,av1,prores,ffv1``. Note that
By default, this is set to ``h264,vc1,hevc,vp8,vp9,av1,prores,prores_raw,ffv1``. Note that
the hardware acceleration special codecs like ``h264_vdpau`` are not
relevant anymore, and in fact have been removed from FFmpeg in this form.
+1 -1
View File
@@ -165,7 +165,7 @@ const struct m_sub_options hwdec_conf = {
.defaults = &(const struct hwdec_opts){
.software_fallback = 3,
.hwdec_api = (char *[]){"no", NULL,},
.hwdec_codecs = "h264,vc1,hevc,vp8,vp9,av1,prores,ffv1",
.hwdec_codecs = "h264,vc1,hevc,vp8,vp9,av1,prores,prores_raw,ffv1",
// Maximum number of surfaces the player wants to buffer. This number
// might require adjustment depending on whatever the player does;
// for example, if vo_gpu increases the number of reference surfaces for