Asa*_*aya 9 ffmpeg ffprobe output
我在ffmpeg中使用此脚本进行镜头检测.
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test.mp4,select=gt(scene\,0.3)"
Run Code Online (Sandbox Code Playgroud)
我需要将输出写入文本文件,以便从ac程序中读取输出.我怎样才能做到这一点?任何帮助表示赞赏.
aer*_*tal 26
您将输出重定向到文件:
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test.mp4,select=gt(scene\,0.3)" > output.txt 2>&1
如果你想要单独的文件stdout
,stderr
你可以这样做:
[..] > out.txt 2> err.txt