K
K
Kirill Kazakov2015-07-27 12:55:14
linux
Kirill Kazakov, 2015-07-27 12:55:14

How to write output of ffmpeg -i command to file in linux console?

Actually the question is higher.
It is necessary in order to bypass the script all available video files and get information about them.
It doesn't work that way

ffmpeg i video.mp4 > result.txt

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vit, 2015-07-27
@mausspb

ffmpeg gives information to stderr in my opinion, try ffmpeg i video.mp4 2> result.txt

K
Kirill, 2015-07-27
@GoooodBoy

If you need more errors, then ffmpeg i video.mp4 > result.txt 2>&1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question