[mythtv-users] output from ffprobe

James Linder jam at tigger.ws
Fri Jan 8 22:53:04 UTC 2021



> On 8 Jan 2021, at 10:20 pm, Peter Bennett <pb.mythtv at gmail.com> wrote:
> 
> 
> 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

Finally thankyou!

James


More information about the mythtv-users mailing list