Merge Two Videos per Script (on Debian Server) Failure

Started by peterke, April 27, 2013, 01:36:53 PM

Previous topic - Next topic

peterke

Hello

I want to merge two Videos on a debian server on command line (v.2.5.4), but it never success.
Either it output only a blackvideo with audio or it fails when I execute the script (avidemux2_cli --run convert.js).
I try this script on my local windows machine (avidemux v.2.5.4 too), it works here witouth problem - the merging and the filters too.

I think the avideux on my debian server have some video codec issue. I try a lot of video codecs, but it never works - (only Copy work! but then it doesnt apply filters).

Any tips? :)

//AD

var app = new Avidemux();

//** Video **

// 02 videos source
app.load("DummyVideo1.mov");
app.append("DummyVideo2.mov");

//02 segments
app.clearSegments();
app.addSegment(0,0,341);
app.addSegment(1,0,220);
app.markerA=0;
app.markerB=560;

//** Postproc **
app.video.setPostProc(3,3,0);

app.video.fps1000 = 50000;

//** Filters **
//app.video.addFilter("resamplefps","newfps=25000","use_linear=0");
//app.video.addFilter("mpresize","w=512","h=288","algo=0");
app.video.addFilter("resize", "w=496", "h=272", "algo=0");

//** Video Codec conf **
//app.video.codecPlugin("4279DF66-ECEF-4d3d-AFEA-1BFCCB79E219", "h263", "CQ=4", "(null)");
app.video.codecPlugin("92B544BE-59A3-4720-86F0-6AD5A2526FD2", "Xvid", "AQ=26", "(null)");
//app.video.codecPlugin("32BCB447-21C9-4210-AE9A-4FCE6C8588AE", "x264", "AQ=26");

//** Audio **
app.audio.reset();
app.audio.codec("Lame",128,20,"80 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 ");
app.audio.normalizeMode=0;
app.audio.normalizeValue=0;
app.audio.delay=0;
app.audio.mixer="NONE";

//** Output **
app.setContainer("MP4");
app.save("Result.mp4");
setSuccess(1);


The output from this code is:

Jan Gruuthuse

Perhaps building avidemux on your debian server and upgrade to 2.6.3? Compiling Avidemux 2.6.x