Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option --output-filename not working #79

Open
mjbrowns opened this issue Sep 7, 2017 · 2 comments
Open

Option --output-filename not working #79

mjbrowns opened this issue Sep 7, 2017 · 2 comments

Comments

@mjbrowns
Copy link

mjbrowns commented Sep 7, 2017

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

@tmm1
Copy link
Collaborator

tmm1 commented Nov 10, 2017

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

@mackworth
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants