Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7513 closed enhancement (wontfix)

colormatrix filter fails with hwaccel

Reported by: Mark Sanders Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the trouble:

When using the "colormatrix" filter with hwaccel enabled for GPU transcoding the process fails. The matrix translation is required when different color spaces are used (BT.709 for HD, BT.601 for SD, BT.2020 for UHD).

Here an example to reproduce:

ffmpeg -hwaccel qsv \
 -c:v h264_qsv \
 -i input.ts \
 -filter_complex "[i:256]deinterlace_qsv,scale_qsv=720:576,fps=25,colormatrix=bt709:bt601[out]" \
 -map [out] -map i:257
 -c:0 mpeg2_qsv -preset medium \
 -c:1 copy \
 -f mpegts output.ts

So, the "colormatrix" filter needs to be enhanced to support a GPU context.

Regards.

Change History (2)

comment:1 by Elon Musk, 5 years ago

Resolution: wontfix
Status: newclosed

Colormatrix is obsolete and broken. There is no need to use it at all.

comment:2 by Mark Sanders, 5 years ago

OK. Thank you!

Note: See TracTickets for help on using tickets.