PDA

View Full Version : Saving AviDemux configuration to command line?


bitwerks
6th January 2009, 06:09
Wow! I just discovered AviDemux and am very impressed!

I am in the midst of the post-Christmas video editing blues. I have hundreds of AVI clips from my video cam and am converting them to DVD for the outlaws.

Back to my question - After much experimentation I have discovered the idea configuration for converting my AVI clips using the gtk UI. Is there any way to save the configuration I am using in the UI to a command line string? I would like to wrap a Python script around AviDemux and generate .MPG files for each clip and then dump them into DVD Lab.

Many thanks!

-bW

LoRd_MuldeR
6th January 2009, 20:42
Wow! I just discovered AviDemux and am very impressed!

I am in the midst of the post-Christmas video editing blues. I have hundreds of AVI clips from my video cam and am converting them to DVD for the outlaws.

Back to my question - After much experimentation I have discovered the idea configuration for converting my AVI clips using the gtk UI. Is there any way to save the configuration I am using in the UI to a command line string? I would like to wrap a Python script around AviDemux and generate .MPG files for each clip and then dump them into DVD Lab.

Many thanks!

-bW

Run "File" -> "Save project as" and then remove the unneeded lines from the resulting script file.

bitwerks
6th January 2009, 22:42
Very nice! Thank you. Now that I see the projects are saved in Javascript/ECMAScript I can probably skip the Python althogether. I wish more software was written with this level of functionality ;-)

Is there a method that will tell AviDemux to generate the output in separate audio and video files (elemental streams)?

LoRd_MuldeR
6th January 2009, 23:35
Is there a method that will tell AviDemux to generate the output in separate audio and video files (elemental streams)?

None that I'm aware of. You'll have to choose a suitable container and demux afterwards.

However there is an option to save the audio part only ("Audio" -> "Save" in the GUI) and you can also save only video by setting the "Main [Audio] Track" to "None".
So it would be possible to save the Audio and the Video separately and then do whatever you need...

bitwerks
8th January 2009, 02:56
Many thanks!