[mythtv-users] output from ffprobe

Peter Bennett pb.mythtv at gmail.com
Fri Jan 8 14:20:15 UTC 2021

On 1/7/21 3:06 PM, Leo Butler wrote:
> The 2>&1 is not always parsed correctly by the shell, in my
> experience. I use:
> ffprobe -v error -show_streams -i infile > output1 2> output2
> Note that ffmpeg chooses to emit some things on stdout and some on
> stderr. I do not understand why, but c'est la vie.
> Leo

Another way to get stdout and stderr sent to the same file is :

ffprobe -v error -show_streams -i infile >& output

This only works in bash, not in sh

More information about the mythtv-users mailing list