[SOLVED] Redirect FFPROBE output to filr
by mackowiakp from LinuxQuestions.org on (#55P50)
I want to redirect FFPROBE output to file using such command:
Code:ffprobe /home/maciek/SMB-1/video.avi 2>&1 > tttAs I read, ffprobe outputs to stderr so the redirection 2>&1. But does not matter is that redirection or not, the result is always output to console. How redirect it to file or pipe to another command like grep?


Code:ffprobe /home/maciek/SMB-1/video.avi 2>&1 > tttAs I read, ffprobe outputs to stderr so the redirection 2>&1. But does not matter is that redirection or not, the result is always output to console. How redirect it to file or pipe to another command like grep?