Ticket #848 (closed enhancement: wontfix)
expand -formats/-codecs options
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
ffmpeg -codecs - would list everything
ffmpeg -codecs:a:e - would list only audio encoders
ffmpeg -codecs:a:d - would listonly audio decoders
ffmpeg -codecs:v:e - would list only video encoders
ffmpeg -codecs:v:d - would listonly video decoders
ffmpeg -formats - would list everything
ffmpeg -formats:a:d - mould list only audio demuxers
ffmpeg -formats:a:m - mould list only audio muxers
ffmpeg -formats:v:d - mould list only video demuxers
ffmpeg -formats:v:m - mould list only video muxers
Change History
comment:3 Changed 10 months ago by michael
in case someone stumbles across this ticket in the search of a workaround/solution
its quite easy to achive this by using for example
ffmpeg -codecs | grep '.D.A'
instead of
ffmpeg -codecs:a:d
comment:4 Changed 9 months ago by saste
What's wrong about using grep?
Also I'm slightly against adopting a syntax resembling the one for stream selection, but with different features and warts, so I'd rather stick with easy grep parsing rather than bloat the code with features which can be implemented with simple scripting.



correction:
ffmpeg -formats:d - would list only demuxers
ffmpeg -formats:m - would list only muxers