What you see between "(" and ")" in the sample script I linked to. Depending on problem to solve, "blacken borders" or even "mplayer delogo2" may be a better choice.Įither you provide all details which would allow me to write the script for you (it will target the latest Avidemux nightly, which should not pose a problem as current nightlies are so much better than the last release) or you have to acquire some basic understanding of the structure of python language (the very minimal subset of it used by Avidemux) so that you could come up with some intermediate state of your project which I would be able to build upon to provide you with a final working version. You should keep in mind that crop may be a wrong tool, especially with factors like anamorphic display. Some functions have changed significantly since that sample script was created almost 9 years ago, so all those calls should be replaced with their parallels from the previously saved project script. You will need to replace the arguments for adm.videoCodec as well as for adm.setContainer with those matching your saved project script and probably drop adm.audioReset and adm.audioCodec entirely ("copy" is the default setting) so that all audio tracks get automatically copied (the conversion will fail if the chosen container doesn't support the particular codec). The second step would be to look at the sample script at and use it as the skeleton to fill with the values you need. The procedure to write your own script should start with loading a single video to convert, configuring the encoder, the video filters and the output container to get the desired result and to save this state as a project script (File -> Project Script -> Save As Project.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |