Comskip icon indicating copy to clipboard operation
Comskip copied to clipboard

Option --output-filename not working

Open mjbrowns opened this issue 7 years ago • 2 comments

attempting to use the command

comskip --ini="myfile.ini" --output-filename="testing" my-video-file.mkv

does not produce testing.edl and testing.txt, it produces my-video-file.edl and my-video-file.txt

Or am I not understanding the purpose of this flag?

Workaround:

ln -s my-video-file.mkv testing.mkv comskip -ini="myfile.ini" testing.mkv [ -h testing.mkv ] && rm testing.mkv

mjbrowns avatar Sep 07 '17 16:09 mjbrowns

I think you need to use --output <dir> --output-filename <basename>. So in your case maybe adding --output . is enough.

tmm1 avatar Nov 10 '17 03:11 tmm1

Looking at the code to understand this, I can confirm that if neither --output or an outFile is specified, then comskip ignores the --output-filename parameter entirely. To work around, you could specify either of these (as @tmm1 suggested). BTW, if this wasn't intended, then at line 9032, comskip.c needs to build workbasename from the input directory and shortbasename.

mackworth avatar Jun 21 '18 15:06 mackworth