Opened 13 years ago
Closed 12 years ago
#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 (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Type: | defect → enhancement |
---|
comment:3 by , 12 years ago
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 by , 12 years ago
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.
comment:5 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Ok, I will close this ticket then (there seems to be also -decoders and -encoders options which I did not notice before).
correction:
ffmpeg -formats:d - would list only demuxers
ffmpeg -formats:m - would list only muxers