viddotech / videoalchemy

VideoAlchemy is a toolkit expanding video processing capabilities, emphasizing FFmpeg and broader video technology applications.
https://viddotech.github.io/videoalchemy/
MIT License
54 stars 4 forks source link

Enhancement for Validation of inputs, outputs, unique fields #4

Open hsngerami opened 1 month ago

hsngerami commented 1 month ago

What would you like to be added?

Enhancement compose validation for inputs, outputs and unique fields.

Why is this needed?

helping and leading user to have valid ffmpeg command to reduce the probability of ffmpeg errors.

ethereal-engineer commented 1 month ago

What is really needed is a yaml schema file that can be referenced in the yaml itself, which then the editor (e.g. vscode, helix) can lint against and provide suggestions and auto-completion with automatically. https://medium.com/@alexmolev/boost-your-yaml-with-autocompletion-and-validation-b74735268ad7

hsngerami commented 1 month ago

@ethereal-engineer thank you for the medium link, but I mean validation base on ffmpeg rules and parameters.

ethereal-engineer commented 1 month ago

It may still be able to be done this way. Have a look at the way the developer of resticprofile has done their yaml schema.

ethereal-engineer commented 1 month ago

If I am misunderstanding, I'm sorry for the confusion. I just went to try and use the tech and realised that to use it quickly and effectively it would need this instant yaml schema auto completion. I went to issues and thought this was what this issue meant because I hate duplicates. Is I just added notes.