Opened 2 years ago

Closed 2 years ago

#9691 closed enhancement (invalid)

color, nullsrc with pixel format

Reported by: Jozef Chutka Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Jozef Chutka Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Following the current documentation there seems to be no option to define pixel format for color or nullsrc filters.

I often find myself defining fomrat=argb (or another) following right after color... filter.

Correct me if I am wrong, but my thinking is that having pixel format defined right on the source (color or nullsrc) could avoid conversion, hence increase the overal performance.

It seems testsrc2 has format option available, so maybe similiar solution can be provided for the color, nullsrc or other.

Change History (1)

comment:1 by Elon Musk, 2 years ago

Resolution: invalid
Status: newclosed

use ,format=... after each source filter, filters that support natively such format will not use scale filter to do conversion.

Note: See TracTickets for help on using tickets.