Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on November 25, 2012, 09:35:32 AM

Title: Not all spidermonkey project is done/run
Post by: Jan Gruuthuse on November 25, 2012, 09:35:32 AM
When you save a spidermonkey project.
close the project
run spidermonkey project, only video is loaded.
Setting audio to AAC (Faac) is not taking place.
So it look like some parts are functioning.
//AD  <- Needed to identify //
//--automatically built--


adm.loadVideo("/media/1Processed/Demo/BreedbeeldTest1.mkv");
adm.clearSegments();
adm.addSegment(0, 0, 45562000);
adm.markerA = 0;
adm.markerB = 45562000;
adm.videoCodec("Copy");
adm.audioCodec(0, "Faac");
adm.audioMuxer(0, "MONO");
adm.audioCodec(1, "copy");
adm.setContainer("AVI", "odmlType=1");
Title: Re: Not all spidermonkey project is done/run
Post by: Jan Gruuthuse on November 26, 2012, 02:27:31 PM
second test:
Video settings are done in spidermonkey. Audio and Container settings are neglected?:
//AD  <- Needed to identify //
//--automatically built--


adm.loadVideo("/media/1Processed/Demo/BreedbeeldTest1.mkv");
adm.clearSegments();
adm.addSegment(0, 0, 45562000);
adm.markerA = 0;
adm.markerB = 45562000;
adm.videoCodec("xvid4", "params=CQ=2", "profile=244", "rdMode=3", "motionEstimation=3", "cqmMode=0", "arMode=0", "maxBFrame=2", "maxKeyFrameInterval=200", "nbThreads=99", "rdOnBFrame=True", "hqAcPred=True", "optimizeChrome=True", "trellis=True");
adm.audioCodec(0, "LavMP2", "bitrate=192");
adm.audioCodec(1, "copy");
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280");
Title: Re: Not all spidermonkey project is done/run
Post by: dinolib on November 26, 2012, 09:55:46 PM
the set container works fine. Just comment out the audioCodec, the container will be updated!

It seems audioCodec method is borked  :(
Title: Re: Not all spidermonkey project is done/run
Post by: Jan Gruuthuse on November 27, 2012, 05:34:32 AM
Until fixed by developer(s) use Tinypy project: this works. See Topic: 2.6 audio track switching in job.py (http://avidemux.org/smuf/index.php/topic,10499.0.html)