Page 1 of 1

mencoder: output-file not found

Posted: Tue Jan 10, 2012 2:51 pm
by ^rooker
[PROBLEM]
I wanted to create an MPEG file with mencoder, but for some extremely strange reason, mencoder refused to do so and displayed the following error message:
File not found: 'test.mpeg'
Failed to open test.mpeg.
Cannot open output file 'test.mpeg'.
Since it was supposed to *create* the file "test.mpeg", I was confused why it complained that it didn't exist.
WTF?!

[SOLUTION]
Well, the file did already exist from a previous run - and was still opened in Avidemux. Now mencoder couldn't write that file and outputs the misleading error message: "File not found".
Actually, the error message should have been:
"Cannot write output file 'test.mpeg'."