avplay is a minimalistic player mainly used to test Libav.

Preview filters

It is possible to use avfilter in avplay to preview the result of a filter chain on a certain input (single input).

# avplay -vf filter file

Common questions

Automatically exit

avplay by default does not closes itself when a stream terminates, to change the behaviour use -autoexit

# avplay -autoexit file

Not decode video/audio

# avplay -vn file
# avplay -an file

Do not display the audio spectrum

# avplay -nodisp -vn file