Not all spidermonkey project is done/run

Started by Jan Gruuthuse, November 25, 2012, 09:35:32 AM

Previous topic - Next topic

Jan Gruuthuse

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");

Jan Gruuthuse

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");

dinolib

the set container works fine. Just comment out the audioCodec, the container will be updated!

It seems audioCodec method is borked  :(

Jan Gruuthuse