Conversation
Notices
-
why does ffmpeg put out on stderr?
-
@Zerglingman does everything go there? maybe stdout is reserved for someting that's actual parsable output :thinkbird:
-
@grips I don't know. Usually I don't try to parse its output.
Specifically, this was ffprobe, whose default behaviour is to print information about the given track.
The entirety of its output goes to stderr.
-
@grips Yeah seems like ffmpeg puts EVERYTHING on stderr.
Also for some fucking reason it's munching every second filename. I have no idea why. When I echo it it's all fine. But changing from:
ls > files; while read file; do ...; done < files
to:
for file in *; do ...; done
fixed it.
What the fuck, bash.