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

CMD-Line options #28

Open
iconnorthomas opened this issue Feb 1, 2025 · 3 comments
Open

CMD-Line options #28

iconnorthomas opened this issue Feb 1, 2025 · 3 comments

Comments

@iconnorthomas
Copy link

Could we expand the command line CLI to have certain options like stereo/5.1? Currently you can only specify audio per channel and there are always 6 channels, this makes unnecessarily larger DCPs since there are 6 channels when stereo dcps only need 2, also some festivals/theaters would push back on receiving a 6 channel dcp when the metadata and file says stereo (and they are expecting only 2 channels).

It would also be nice if you could set the crop options in the command-line CLI as well. I think you can make templates that do that? But that can also become quite messy. Would be really nice if you also didn't have to specify the number to crop but just told the software to crop image to full screen. There is a similar feature in DaVinci Resolve that does it like that. Though I imagine that would be somewhat complicated to code?

It could also be nice to specify colorspace of the input file on the command-line CLI. Maybe allowing you to use your own OpenColorIO config? But that way if the file is anything other than SRGb you can tag it as such. I think for instance most files I'm trying to run a DCP of are not SRGb, but rather Rec. 709 Gammut 2.4

I also wouldn't mind helping create these changes, but I'm unfamiliar with the code of this software. I'd love to see these features added and wouldn't mind helping in anyway I can.

@cth103
Copy link
Owner

cth103 commented Feb 1, 2025

Hi, thanks for the message. I made a note on the main bug tracker about the channels option.

There is an "auto-crop" option in the GUI, which tries to auto-detect the image and set the crop accordingly - I guess a command-line option for that would help you?

I also made a note about the colourspace option - it probably would be a good idea to use OpenColorIO at some stage.

@iconnorthomas
Copy link
Author

Hi, thanks for the message. I made a note on the main bug tracker about the channels option.

There is an "auto-crop" option in the GUI, which tries to auto-detect the image and set the crop accordingly - I guess a command-line option for that would help you?

I also made a note about the colourspace option - it probably would be a good idea to use OpenColorIO at some stage.

Having those options would be great! Anything I can do to help?

@cth103
Copy link
Owner

cth103 commented Feb 12, 2025

If you want to get into the code, let me know, and I can try to assist. Otherwise, being ready to test is a great help!

It's only a small thing, but I added --audio-channels in 2.8.11

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

2 participants