Avidemux 2.6(.6) does not run projects

Started by mb7169, November 22, 2013, 10:57:17 PM

Previous topic - Next topic

mb7169

Hi,
I have problems to run projects from avidemux 2.6(.6) on h.264 videos on Linux. I can load and cut the video in avidemux, select one audiotrack and save the file as mp4 container by hand. So I have a workaround, but I like to save these settings as spidermonkey (or tinypy) project and run the (unchanged in this example) projects afterwards. In 2.5 this works for mpeg2 videos.
Skript:

//AD  <- Needed to identify //
//--automatically built--


adm.loadVideo("/tmp/testfile/testfile.TS4");
adm.clearSegments();
adm.addSegment(0, 128290244, 655940000);
adm.markerA = 0;
adm.markerB = 655940000;
adm.videoCodec("Copy");
adm.audioCodec(0, "copy");
adm.setContainer("MP4V2", "optimize=0", "add_itunes_metadata=0");


avidemux3_cli --run testfile_sm.proj --save testfile_cut_sm.mp4

Unfortunately this does not work at all. No output file is written. The Log is in the attachment.

Any suggestions ?

mean


mb7169

Hi,
good tip ! If I use tinypy projects with a suffix of py it works !

Thanks a lot !