Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Spellbinder on April 15, 2013, 08:14:30 AM

Title: Avidemux CLI
Post by: Spellbinder on April 15, 2013, 08:14:30 AM
I am trying to use the latest nightly 32bit avidemux_cli (r8578) to "simply" run some .py projects that I did beforehand.

avidemux_cli.exe --run test.py --save test.mp4

This is the error message that I get:

*** Automated : 28 entries*************
run-->1
[Script] Tinypy INFO - Executing C:\Users\user1\Desktop\Privat\OVR\test.py...
[deleteSegments] Clearing a new segment

*********** BACKTRACE **************
ADM_setCrashHook <+0x844>  [C:\Users\user1\Desktop\Privat\VideoConvert\PROGRAMMS\AVIDEMUX\libADM_core6.dll]
ADM_backTrack <+0x1A>  [C:\Users\user1\Desktop\Privat\VideoConvert\PROGRAMMS\AVIDEMUX\libADM_core6.dll]
ADM_Composer::addSegment(unsigned int, unsigned long long, unsigned long long) <+0x65>  [C:\Users\user1\Desktop\Privat\VideoConvert\PROGRAMMS\AVIDEMUX\avidemux_cli.exe]
*********** BACKTRACE **************

Title: Re: Avidemux CLI
Post by: Jan Gruuthuse on April 15, 2013, 08:28:58 AM
Don't know if this has anything to do with it? Don't update (http://www.avidemux.org/smf/index.php/topic,12030.msg62734.html#msg62734)
Try just replacing avidemux_cli.exe with the regular avidemux.exe (the GUI one). Could have another name? See if this one works for you?
avidemux.exe --run test.py --save test.mp4
if it does you could temporarily run like this:
avidemux.exe --nogui --run test.py --save test.mp4
Could be -nogui is not working (yet)?
Title: Re: Avidemux CLI
Post by: Spellbinder on April 15, 2013, 02:19:23 PM
r8498 seems to work fine. I will wait a few nightlies until I try it again with a new version.