> *ffmepg -loglevel errors -i file.avi ...rest of the command *>>* > logerrorfile.txt > > Is there another and better option to catch errors? you may want to add a 2>&1 to the end to capture stderr. I think that your command is reasonable for catching logs.