Package Details: avidemux-2.6 2.6.12-1

Git Clone URL: https://aur.archlinux.org/avidemux-2.6.git (read-only)
Package Base: avidemux-2.6
Description: A graphical tool to edit video (filter/re-encode/split)
Upstream URL: http://fixounet.free.fr/avidemux/
Licenses: GPL2
Conflicts: avidemux, avidemux-cli, avidemux-git, avidemux-gtk, avidemux-qt
Provides: avidemux-2.6=2.6.12
Submitter: ksj
Maintainer: shaggytwodope
Last Packager: shaggytwodope
Votes: 31
Popularity: 2.037925
First Submitted: 2013-07-14 20:04
Last Updated: 2016-03-08 11:35

Latest Comments

albuntu commented on 2016-06-23 21:06

Success!
I changes all files according to nokangaroo's code and this thread http://avidemux.org/smif/index.php/topic,16649.msg74048.html#msg74048
and compiling was successful! Thank you.

nokangaroo commented on 2016-06-23 04:59

please fix the code tags; I can't find a help page.

nokangaroo commented on 2016-06-23 04:58

The following worked for me:

This takes care of the narrowed conversion (or more exactly, makes the compiler swallow it) and also fixes the qt4 build:
[code]
--- bootStrap.bash 2016-03-05 09:22:54.000000000 +0100
+++ bootStrap.bash 2016-06-22 13:54:25.231384646 +0200
@@ -12,7 +12,9 @@
debug=0
qt_ext=Qt4
export QT_SELECT=4 # default for ubuntu, harmless for others
-export O_PARAL="-j 2"
+export O_PARAL="-j 1"
+export CXXFLAGS+=" -std=gnu++98"
+
fail()
{
echo "** Failed at $1**"
@@ -210,7 +212,7 @@
if [ "x$do_qt4" = "x1" ] ; then
echo "** $qt_ext **"
cd $TOP
- Process build${qt_ext} ../avidemux/qt4
+ Process build${qt_ext} ../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt4
echo " Installing ${qt_ext}"
cd $TOP/build${qt_ext}${POSTFIX}
fi
[/code]

Without this the plugins wouldn't build. Telecide seems to work according to a short test video (I don't see why it shouldn't; "mismatch" seems to be tested only for less or less equal. Incidentally, I had to use diff -uZ; the files contain LOTS of trailing spaces):
[code]
--- avidemux_plugins/ADM_videoFilters6/telecide/Telecide_getFrame.cpp 2016-03-05 09:22:54.000000000 +0100
+++ avidemux_plugins/ADM_videoFilters6/telecide/Telecide_getFrame.cpp 2016-06-22 13:17:25.575615970 +0200
@@ -240,7 +240,7 @@
{
// The chosen frame doesn't match the prediction.
if (predicted_metric == 0) mismatch = 0.0;
- else mismatch = (100.0*abs(predicted_metric - lowest))/predicted_metric;
+ else mismatch = (100.0*(predicted_metric - lowest))/predicted_metric;
if (mismatch < gthresh)
{
// It's close enough, so use the predicted one.
@@ -283,7 +283,7 @@
{
// The chosen frame doesn't match the prediction.
if (predicted_metric == 0) mismatch = 0.0;
- else mismatch = (100.0*abs(predicted_metric - lowest))/predicted_metric;
+ else mismatch = (100.0*(predicted_metric - lowest))/predicted_metric;
if ((int) mismatch <= gthresh)
{
// It's close enough, so use the predicted one.
[/code]

BTW the build process should be modified to not rebuild stuff that already built successfully; then the developers would get a lot more help from users - which they clearly need. But I'm not sure that can be done with cmake.

The graphical interface contains several sloppinesses, which I'm working on patching. Here are some old patches made for 2.6.7 which still apply:
[code]
--- avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.cpp.orig 2013-05-08 15:00:15.000000000 +0200
+++ avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.cpp 2013-12-30 05:25:19.000000000 +0100
@@ -193,7 +193,7 @@
};
diaMenuEntry threads[]={
{0,QT_TRANSLATE_NOOP("ffmpeg4","One thread")},
- {2,QT_TRANSLATE_NOOP("ffmpeg4","Two threads)")},
+ {2,QT_TRANSLATE_NOOP("ffmpeg4","Two threads")},
{3,QT_TRANSLATE_NOOP("ffmpeg4","Three threads")},
{99,QT_TRANSLATE_NOOP("ffmpeg4","Auto (#cpu)")}
};

--- avidemux_plugins/ADM_videoEncoder/ffMpeg2/ADM_ffMpeg2.cpp.orig 2013-05-08 15:00:15.000000000 +0200
+++ avidemux_plugins/ADM_videoEncoder/ffMpeg2/ADM_ffMpeg2.cpp 2013-12-30 05:17:53.000000000 +0100
@@ -216,7 +216,7 @@
};
diaMenuEntry threads[]={
{0,QT_TRANSLATE_NOOP("ffmpeg2","One thread")},
- {2,QT_TRANSLATE_NOOP("ffmpeg2","Two threads)")},
+ {2,QT_TRANSLATE_NOOP("ffmpeg2","Two threads")},
{3,QT_TRANSLATE_NOOP("ffmpeg2","Three threads")},
{99,QT_TRANSLATE_NOOP("ffmpeg2","Auto (#cpu)")}
};

--- avidemux_plugins/ADM_muxers/muxerffTS/muxerffTSPlugin.cpp.orig 2013-12-06 07:33:08.000000000 +0100
+++ avidemux_plugins/ADM_muxers/muxerffTS/muxerffTSPlugin.cpp 2013-12-29 04:01:10.000000000 +0100
@@ -25,7 +25,7 @@
1,0,1,
"ffTS", // Internal name
"ffMpeg TS muxer plugin (c) Mean 2009",
- "Mpeg TS Muxer (ff)", // DIsplay name
+ "Mpeg-TS Muxer (ff)", // Display name
ffTSConfigure,
ts_muxer_param, //template
&tsMuxerConfig, //config

--- avidemux_plugins/ADM_muxers/muxerffPS/muxerffPSPlugin.cpp.orig 2013-12-06 07:33:08.000000000 +0100
+++ avidemux_plugins/ADM_muxers/muxerffPS/muxerffPSPlugin.cpp 2013-12-29 03:47:13.000000000 +0100
@@ -25,7 +25,7 @@
1,0,0,
"ffPS", // Internal name
"ffMpeg PS muxer plugin (c) Mean 2009",
- "Mpeg-PS Muxer( ff)", // DIsplay name
+ "Mpeg-PS Muxer (ff)", // Display name
ffPSConfigure,
ps_muxer_param, //template
&psMuxerConfig, //config

[/code]

albuntu commented on 2016-06-17 19:09

Can't compile, too. Same problem. :-(
Any ideas?

Quinn commented on 2016-06-12 09:25

Can't compile package, same error as below:

In file included from /dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/prefs.cpp:51:0:
/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/prefs2_pref.h:60:1: error: narrowing conversion of '4294967295l' from 'long int' to 'float' inside { } [-Wnarrowing]
};
^
ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/build.make:473: recipe for target 'ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o' failed
make[2]: *** [ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o] Error 1

akgrant0710 commented on 2016-06-03 19:36

I'm getting the following error when attempting to install:

[ 36%] Building CXX object ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o
cd /dev/shm/avidemux/avidemux_2.6.12/buildCore/ADM_coreUtils/src && /usr/bin/c++ -DADM_coreUtils6_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/dev/shm/avidemux/avidemux_2.6.12/buildCore/config -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_core/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreAudioFilter/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreAudioParser/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreAudio/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreAudioDevice/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreAudioEncoder/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreDemuxer/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreDemuxer/include/unix -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreDemuxerMpeg/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreImage/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreMuxer/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreScript/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreUI/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreUtils/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreVideoEncoder/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreVideoFilter/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreVideoCodec/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreImageLoader/include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/../avidemux_core/ADM_coreJobs/include -I/dev/shm/avidemux/avidemux_2.6.12/buildCore/ffmpeg/source -I/dev/shm/avidemux/avidemux_2.6.12/buildCore/ffmpeg/build -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/../include -I/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/Source -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -fPIC -Werror=attributes -o CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o -c /dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/prefs.cpp
In file included from /dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/prefs.cpp:51:0:
/dev/shm/avidemux/avidemux_2.6.12/avidemux_core/ADM_coreUtils/src/prefs2_pref.h:60:1: error: narrowing conversion of '4294967295l' from 'long int' to 'float' inside { } [-Wnarrowing]
};
^
ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/build.make:473: recipe for target 'ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o' failed
make[2]: *** [ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o] Error 1


The entire log is available from: https://ptpb.pw/Gkgl

ilikenwf commented on 2016-03-14 00:01

They host the source snapshots on sourceforge now:

http://downloads.sourceforge.net/project/avidemux/avidemux/2.6.12/avidemux_2.6.12.tar.gz

TruckerZer0 commented on 2016-03-11 00:45

Sorry for the delay, but I think I found the culprits, glibc 2.23 and Avidemux's ADM_vsProxy.cpp; it seems that C++11 check routines causes some problems with the compilation process; I've followed this thread's guide and all went well...

http://avidemux.org/smif/index.php/topic,16649.msg74048.html#msg74048

Sorry for my bad english, sorry for my poor explanation...

VaguelyUseful commented on 2016-03-09 17:43

Here is another. Contains all messages, and is in English if that helps.

http://pastebin.com/LnPHdtQN

Vienna550 commented on 2016-03-08 20:22

Thank you for your help! I've uploaded the complete log to pastebin: http://pastebin.com/HKy7jZYh

All comments