Richard
Paul Jarc wrote:
Richard Neill <[EMAIL PROTECTED]> wrote:the aim is to parse the output of "ffmpeg -formats" to see whether certain codecs are supported by that build.I'd use something like: while read line; do ... done < <(ffmpeg -formats 2>/dev/null) That puts ffmpeg into a subshell instead of read. paul