News:

--

Main Menu

2.6.11

Started by mean, January 29, 2016, 09:22:32 AM

Previous topic - Next topic

mean

Release done in a hurry,

Warnings:
* Better to build the Qt5 version, it is the most used/tested one :
bash bootStrap.bash --enable-qt5
* Windows : If you installed the beta, you will be asked to downgrade, say yes, do not try to uninstall. This is due to the limitation of naming coming with NSI installer.

short changelog
- Better support for H265
- Fix off-by-one keyframe cutting
- Basic support for Opus
- Try to cope better with decoding error
- Extract keyframes from non Mpeg video in mkv
- Cap refresh rate for large video or slow machines
- Fix nv12 to yv12 mmx code

efa

#1
just downloaded avidemux_2.6.11.tar.gz
Compilation (on Ubuntu 14.04 32 bit) of core, cli, plugin, gt4 and qt5 work.
Try compiling with '--with-gtk' fail with error:

.../avidemux_2.6.11/avidemux/gtk/ADM_userInterfaces/ADM_gui2/GUI_gtkRender.cpp: In function ââ,¬Ëœvoid UI_getWindowInfo(void*, GUI_WindowInfo*)ââ,¬â,,¢:
.../avidemux_2.6.11/avidemux/gtk/ADM_userInterfaces/ADM_gui2/GUI_gtkRender.cpp:115:10: error: ââ,¬Ëœstruct GUI_WindowInfoââ,¬â,,¢ has no member named ââ,¬Ëœwindowââ,¬â,,¢
xinfo->window = GDK_WINDOW_XID(win);
       ^

The installed system libraries are:

glib-2.0 _____________________ 2.40.2
gdk-2.0 ______________________ 2.24.23
gdk-pixbuf-2.0 _______________ 2.30.7
gdk-x11-2.0 __________________ 2.24.23
gtk+-2.0 _____________________ 2.24.23


efa

#2
now I changed
.../avidemux_2.6.11/avidemux/gtk/ADM_userInterfaces/ADM_gui2/GUI_gtkRender.cpp
from:

113: xinfo->window = getMainNSWindow();
114:#else
115: xinfo->window = GDK_WINDOW_XID(win);

to:

113: xinfo->systemWindowId = getMainNSWindow();
114:#else
115: xinfo->systemWindowId = GDK_WINDOW_XID(win);

and rebuilding. Lets see...

efa

Now I got:

.../avidemux_2.6.11/avidemux/common/main.cpp: In function ââ,¬Ëœint startAvidemux(int, char**)ââ,¬â,,¢:
.../avidemux_2.6.11/avidemux/common/main.cpp:175:26: error: expected ââ,¬Ëœ)ââ,¬â,,¢ before ââ,¬ËœADM_VERSIONââ,¬â,,¢
     printf("  Avidemux v"ADM_VERSION);
                          ^

efa

#4
I changed:
.../avidemux_2.6.11/avidemux/common/main.cpp
from:

175:    printf("  Avidemux v"ADM_VERSION);

to:

175:#if !defined( ADM_VERSION )
176:#define ADM_VERSION
177:#endif
178:    printf("  Avidemux v"ADM_VERSION);

and rebuilding. Lets see...

efa

then get those linking errors:

CMakeFiles/avidemux3_gtk.dir/.../avidemux_2.6.11/avidemux/common/gui_main.cpp.o: nella funzione "A_openVideo(char const*)":
gui_main.cpp:(.text+0xc26): riferimento non definito a "UI_reset()"
CMakeFiles/avidemux3_gtk.dir/.../avidemux_2.6.11/avidemux/common/ADM_preview.cpp.o: nella funzione "admPreview::setMainDimension(unsigned int, unsigned int, renderZoom)":
ADM_preview.cpp:(.text+0xf7): riferimento non definito a "UI_setDisplayName(char const*)"
collect2: error: ld returned 1 exit status


Jan Gruuthuse

Quote from: efa on February 03, 2016, 10:42:17 PM
just downloaded avidemux_2.6.11.tar.gz
>8 >8
Try compiling with '--with-gtk' fail with error: >8 >8

Currently GTK is not to be used, see: avidemux GTK development is currently halted.

efa

OK, what is the preferred method to submit those two simple patches?

mean

git merge request if you can

efa

ok will do.

I tested the 2.6.11 on Win7 64 bit and XP 32 bit.
On Win7 work well, while in Win XP I got this error at start time:

Impossibile trovare il punto di ingresso ScriptItemizeOpenType della procedura nella libreria
di collegamento dinamico USP10.dll

that is about:

Cannot find function ScriptItemizeOpenType in library USP10.dll

The library is the MS Uniscribe engine.
On XP the engine is version: 1.420.2600.6421
while the 7/32bit version is: 1.626.7601.19054
maybe XP one miss something.

I tried to get the Win7\WOW64\USP10.dll (that is the 32 bit version) and copy to Avidemux folder on the XP machine, the error become:

Impossibile trovare il punto di ingresso _except_handler4 della procedura nella libreria di
collegamento dinamico msvcrt.dll

Tomorrow will try to copy also the C runtime.

Maybe not all the dependancy are satisfied for 32 bit OS

mean

the UPS10.dll is only available on XP64 i think

efa

the ups10.dll is on my XP 32 bit, but it is version 1.420.2600.6421
This version miss the function 'ScriptItemizeOpenType()' that is present in Win7 one (version 1.626.7601.19054).

If we distribute a 32 bit version saying compatible with XP, we should avoid use such function.
Or alternatively say Win7 or next only, but this is pity for this trouble only.
I cannot find call to that function in avidemux source, did you figure for what is used for (or call by which other library)?

mean

"Or alternatively say Win7 or next only, but this is pity for this trouble only."
>That's the case

It is pulled by the compiler i think
i.e. not explicitely used

efa

Quote from: mean on February 04, 2016, 02:25:14 PM
git merge request if you can
I tryed:
$ git clone git://git.avidemux.org/<module name>
without module nome, but fail with "fatal: unable to connect", so no git service there.
What is the download command/link? THKs

efa

about removing support for XP, I saw about 1/5 of 2.6.10 win downloads was 32 bit, those are about all WinXP as Win7/Vista 32bit has really sold poorly (like XP 64 bit)