Opened 9 years ago

Closed 9 years ago

#1532 closed enhancement (fixed)

Additional column in "ffmpeg -codecs"

Reported by: burek Owned by:
Priority: wish Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes


It might be useful to indicate which encoders are able to produce the lossless output. In several occasions users were doing:

ffmpeg -codecs | grep -i lossless

to get the list of encoders that support this kind of output. This way not all encoders would be displayed (for example, libx264), so that's the reason for this feature suggestion.

Simply, a new column would be added in the "-codecs" output, that would indicate that the encoder can produce the lossless output.

The output would look something like this:

 D...... = Decoding supported
 .E..... = Encoding supported
 ..V.... = Video codec
 ..A.... = Audio codec
 ..S.... = Subtitle codec
 ...S... = Supports draw_horiz_band
 ....D.. = Supports direct rendering method 1
 .....T. = Supports weird frame truncation
 ......L = Supports lossless output

Change History (3)

comment:1 by Carl Eugen Hoyos, 9 years ago

Isn't it possible that it is not known if a (external) encoder supports lossless or not?

comment:2 by burek, 9 years ago

Well I guess it is, but who would know better then guys who develop FFmpeg :)
Btw, there could be a question mark (?) placed instead of L in that case :)

comment:3 by Stefano Sabatini, 9 years ago

Analyzed by developer: set
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Fixed by Anton in:

commit e2785fa728cc5b0d9939090b4398067a32856a3c
Author: Anton Khirnov <>
Date:   Wed Aug 29 09:43:20 2012 +0200

    cmdutils: make -codecs print lossy/lossless flags.
Note: See TracTickets for help on using tickets.