BUG: avidemux_cli.exe does not do --save-uncompressed-audio and other commands

Started by StR, January 17, 2014, 06:51:19 PM

Previous topic - Next topic

StR


Actually, there are several bugs:

1. avidemux_cli does not take --save-*audio  and --audio* commands:

a) Using version 2.6.7 (Win7-32), I can do:
for /r %%f in (*.AVI) do %avidemux% --load "%%f"--audio-codec PCM --save-uncompressed-audio "AUDIO\%%~nf.wav" --quit
with
set avidemux="C:\Program Files\Avidemux 2.6\avidemux.exe"
but not with:
set avidemux="C:\Program Files\Avidemux 2.6\avidemux_cli.exe"

(A similar situation is with --save-raw-audio as well.)

avidemux_cli.exe crashes with -save-uncompressed-audio or --save-raw-audio

b) Also, seemingly, it doesn't recognize a bunch of --audio* commands listed here:
http://www.avidemux.org/admWiki/doku.php?id=using:command_line_usage

2. --nogui is ignored on Win7
Additionally, avidemux.exe from 2.6.7 (nor avidemux2.exe from 2.5.6) seems to do nothing about --nogui, even when used as the first argument: the gui interface windows opens anyway.

mean

with 2.6, use avidemux_cli.exe
The no-gui just prevents popups from appearing

StR

Quote from: mean on January 18, 2014, 03:00:43 PM
with 2.6, use avidemux_cli.exe
The no-gui just prevents popups from appearing

As I wrote in the original message above, avidemux_cli.exe does not work for many commands (options).
I am not sure what popups you are talking about. I did not see any difference between with and without --nogui option.

mean


StR

Quote from: mean on January 19, 2014, 07:05:21 AM
These commands are from 2.5.x versions

Which ones? --save-uncompressed-audio/--save-raw-audio ? or --nogui?

I just ran:
"C:\Program Files\Avidemux 2.6\avidemux_cli.exe" --help and it showed:

...
*** Automated : 28 entries*************
help-->0

Command line possible arguments :
    --nogui, Run in silent mode  ( no arg )
    --slave, run as slave, master is on port arg  (one arg )
    --run, load and run a script  (one arg )
    --save-jpg, save a jpeg  (one arg )
    --begin, set start frame  (one arg )
    --end, set end frame  (one arg )
    --save-raw-audio, save audio as-is   (one arg )
    --save-uncompressed-audio, save uncompressed audio  (one arg )
    --load, load video or workbench  (one arg )
    --load-workbench, load workbench file  (one arg )
    --append, append video  (one arg )
    --save, save avi  (one arg )
    --force-b-frame, Force detection of bframe in next loaded file  ( no arg )
    --force-alt-h264, Force use of alternate read mode for h264  ( no arg )
    --audio-delay, set audio time shift in ms (+ or -)  (one arg )
    --audio-codec, set audio codec (MP2/MP3/AC3/NONE (WAV PCM)/TWOLAME/COPY)  (o
ne arg )
    --video-codec, set video codec (Divx/Xvid/FFmpeg4/VCD/SVCD/DVD/XVCD/XSVCD/CO
PY)  (one arg )
    --video-conf, set video codec conf (cq=q|cbr=br|2pass=size)[,mbr=br][,matrix
=(0|1|2|3)]  (one arg )
    --reuse-2pass-log, reuse 2pass logfile if it exists  ( no arg )
    --autosplit, split every N MBytes  (one arg )
    --info, show information about loaded video and audio streams  ( no arg )
    --output-format, set output format (AVI|OGM|ES|PS|AVI_DUAL|AVI_UNP|...)  (on
e arg )
    --rebuild-index, rebuild index with correct frame type  ( no arg )
    --var, set var (--var myvar=3)  (one arg )
    --help, print this  ( no arg )
    --quit, exit avidemux  ( no arg )
    --probePat, Probe for PAT//PMT..  (one arg )
    --avisynth-port, set avsproxy port accordingly  (one arg )

So, both --nogui and -save-*-audio are there.

(Even though I see that some of the --audio* commands mentioned in 1(b) of the original message are not there. -- This is extremely confusing that Wiki does not differentiate which version it applies to: http://www.avidemux.org/admWiki/doku.php?id=using:command_line_usage )

johan.ehnberg

Same seems to be true for --begin and --end and more (--audio-codec pcm and --video-codec yv12 are also broken ?). At least these arguments are advertised by the binary of 2.6.8 provided in Ubuntu ppa:rebuntu16/avidemux+unofficial but are not working.

I tried to install this to get around the 2.5.x ~4GB ODML video freeze bug but 2.6.x is functionally regressed to the extent it cannot be used for my needs in the first place.

So, either this is a regression bug, or as I have understood avidemux 2.6.x is quite a different animal, documentation is lagging years behind (and 2.6.x. may still also be regressed).

mean

The doc is lagging
The main idea is for you to use the tinypy scripts for these kinds of actions