News:

--

Main Menu

avidemux3_cli syntax

Started by digital0, April 15, 2013, 01:54:38 PM

Previous topic - Next topic

mit

x264 is installed from repository,but command line. don't accept any other codecs.
I've ttaching a logs. ââ,¬Å¾log_commandsââ,¬Å¾ is without script.

Jan Gruuthuse

did uninstall vlc x264 build with stock 12.04.2 x264 64-bit
x264 --ver
x264: option '--ver' is ambiguous; possibilities: '--version' '--verbose'
jan@jan-MS-7680:~$ x264 --version
x264 0.120.2151 a3f4407
(libswscale 2.1.0)
(libavformat 53.20.0)
(ffmpegsource 2.17.0.0)
built on Feb 15 2012, gcc: 4.6.2
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat/ffmpegsource license: GPL version 2 or later

only avidemux3_qt4 encodes with x264

Jan Gruuthuse

#17
Part of the problem maybe specific for ubuntu amd-64bit?
cli works only with above script when avidemux3-plugins-CLI-2.6.3 is installed.
That is now the problem I can only install these combinations:
avidemux3-plugins-COMMON-2.6.3-8590-Linux with avidemux3-plugins-QT4-2.6.3-8590-Linux
or
avidemux3-plugins-COMMON-2.6.3-8590-Linux with avidemux3-plugins-CLI-2.6.3-8590-Linux
and not:
avidemux3-plugins-COMMON-2.6.3-8590-Linux avidemux3-plugins-QT4-2.6.3-8590-Linux avidemux3-plugins-CLI-2.6.3-8590-Linux together.

Package operation failed:
Selecting previously unselected package avidemux3-plugins-cli.
(Reading database ...
(Reading database ... 5%
...
(Reading database ... 100%
(Reading database ... 224435 files and directories currently installed.)
Unpacking avidemux3-plugins-cli (from .../avidemux3-plugins-CLI-2.6.3-8590-Linux.deb) ...
dpkg: error processing /media/Install/source/avidemux_2.6_branch_mean/debs/avidemux3-plugins-CLI-2.6.3-8590-Linux.deb (--install):
trying to overwrite '/usr/lib/ADM_plugins6/pluginSettings/x264/1/iPhone.json', which is also in package avidemux3-plugins-qt4 2.6.3-8590


Perhaps developer(s) see a way out of this dilemma.
I never known it otherwise since building on 11.10 64-bit when i started using avidemux and did report so then.
iPhone.json PSP.json are these the same for all plugins, if so can installation of these two be moved to the installation of avidemux3-plugins-COMMON only and not to the avidemux3-plugins-CLI or avidemux3-plugins-qt4 so avoiding the issue. I know: is only user thinking :(
HELP !!!! ;)

Jan Gruuthuse

physically moving iPhone.json and PSP.json to another location and then installing avidemux3-plugins-CLI-2.6.3-8590-Linux does not work, database thinks these are still there:
Package operation still complains:
Reading database ...
(Reading database ... 5%
...
(Reading database ... 100%
(Reading database ... 224435 files and directories currently installed.)
Unpacking avidemux3-plugins-cli (from .../avidemux3-plugins-CLI-2.6.3-8590-Linux.deb) ...
dpkg: error processing /media/Install/source/avidemux_2.6_branch_mean/debs/avidemux3-plugins-CLI-2.6.3-8590-Linux.deb (--install):
trying to overwrite '/usr/lib/ADM_plugins6/pluginSettings/x264/1/iPhone.json', which is also in package avidemux3-plugins-qt4 2.6.3-8590
Errors were encountered while processing:
/media/Install/source/avidemux_2.6_branch_mean/debs/avidemux3-plugins-CLI-2.6.3-8590-Linux.deb

mean

It is due to the conflicting file (PSP.json etc...)
I'm moving them to a specific new package (XXX-SETTINGS.deb), that will solve the problem
Should be done tonight or tomorrow

Jan Gruuthuse


Jan Gruuthuse

building 12.04 64-bit r8592 went fine, as did the install. Report later back on testing
avidemux3-core-2.6.3-8592-Linux
avidemux3-plugins-COMMON-2.6.3-8592-Linux
avidemux3-qt4-2.6.3-8592-Linux
avidemux3-plugins-QT4-2.6.3-8592-Linux
avidemux3-cli-2.6.3-8592-Linux
avidemux3-plugins-CLI-2.6.3-8592-Linux
avidemux3-plugins-SETTINGS-2.6.3-8592-Linux

Jan Gruuthuse

@mean: Scripting with avidemux3_cli and avidemux3_qt4 are now working and encoding!

@Mit: if you can provide a command line that is not working wit set parameters: could do some testing tomorrow.

mit

Command line from your post, just replaced script with  any video codec.
/usr/bin/avidemux3_cli  --load ~/Videos/AspectRatioTest.ts --video-codec x264  --save ~/Videos/TestVideo --quit

Jan Gruuthuse

r8592
none of the --video-codec are picked up from the command line?
/usr/bin/avidemux3_cli --load ~/Videos/AspectRatioTest.ts --video-codec x264  --save ~/Videos/TestVideo --quit
/usr/bin/avidemux3_qt4 --load ~/Videos/AspectRatioTest.ts --video-codec x264  --save ~/Videos/TestVideo --quit
this just performs a straight copy.
Can't see the Wood for the Trees, let see what developer(s) tells?

digital0

I cannot find avidemux3_cli in any of the rpms from http://avidemux.org/nightly/fedora17_32/.
So does it work now? If it does, which commit/patch fixes avidemux3_cli, so that I can apply to rpmfusion avidemux src rpm and rebuild?

Jan Gruuthuse

avidemux3_cli are not included in nightly?
install these:
1 avidemux3-core-2.6.0_r8594.i686.rpm
2 avidemux3-plugins-COMMON-2.6.3-8594.i386.rpm
3 avidemux3-qt4-2.6.3-8594.i386.rpm
4 avidemux3-plugins-QT4-2.6.3-8594.i386.rpm
5 avidemux3-plugins-SETTINGS-2.6.3-8594.i386.rpm

Use avidemux3_qt4 instead with --run something.py as mentioned before and in some other threads.

digital0

I want to use cli because I use it from scripts (I don't want gui to launch a hundred times from a script). I'd like to be able not to use py script too.

Jan Gruuthuse

In this case looks like you have to build yourself for your OS, cli's are currently not included in nightly builds by developers. and --nogui is not working.

the build linux pages in wiki are currently not there?

approx something like this ubuntu 12.04 not make necessary changes for fedora 17:

dependencies and so on:
sudo apt-get install build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libasound2-dbg libdca-dev libdts-dev libfaac-dev libfaad-dev libfribidi-dev libglib2.0-dev libglib2.0-0-dbg libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-dbg libqt4-opengl-dev libqt4-script libqt4-script-dbg libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libsqlite3-0-dbg libtwolame-dev vdpauinfo libvdpau-dev libvorbis-dev libvorbis-dbg libx264-dev libxml2-dev libxml2-dbg libxv-dev libxv1-dbg libxvmc1-dbg libxvidcore-dev libopencore-amrwb-dev libopencore-amrwb0-dbg libopencore-amrnb-dev libopencore-amrnb0-dbg libvpx-dev libvpx1-dbg pkg-config subversion yasm libxslt1-dbg libzip-dev xsltproc libass-dev libfreetype6-dev

get source with svn:
cd ~/ ## or wherever you want to get the source file
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean ## get source
cd ~/avidemux_2.6_branch_mean ## or where you did put the source files
bash bootStrap.bash --rpm --with-qt4 --without-gtk --with-cli ## create binaries

Jan Gruuthuse

FIXED r8596 passing on of --video-codec to avidemux3_cli
avidemux3_qt4 --nogui not functioning

Quote from: Jan Gruuthuse on April 18, 2013, 07:49:40 AM
r8592
none of the --video-codec are picked up from the command line?
/usr/bin/avidemux3_cli --load ~/Videos/AspectRatioTest.ts --video-codec x264  --save ~/Videos/TestVideo --quit
/usr/bin/avidemux3_qt4 --load ~/Videos/AspectRatioTest.ts --video-codec x264  --save ~/Videos/TestVideo --quit
this just performs a straight copy.
Can't see the Wood for the Trees, let see what developer(s) tells?