Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: mean on January 29, 2016, 09:22:32 AM

Title: 2.6.11
Post by: mean on January 29, 2016, 09:22:32 AM
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
Title: Re: 2.6.11
Post by: efa on February 03, 2016, 10:42:17 PM
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

Title: Re: 2.6.11
Post by: efa on February 03, 2016, 11:08:36 PM
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...
Title: Re: 2.6.11
Post by: efa on February 03, 2016, 11:23:08 PM
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);
                          ^
Title: Re: 2.6.11
Post by: efa on February 03, 2016, 11:30:13 PM
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...
Title: Re: 2.6.11
Post by: efa on February 04, 2016, 12:00:53 AM
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

Title: Re: 2.6.11
Post by: Jan Gruuthuse on February 04, 2016, 05:10:44 AM
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 (http://avidemux.org/smuf/index.php/topic,16356.msg71950.html#msg71950).
Title: Re: 2.6.11
Post by: efa on February 04, 2016, 07:15:09 AM
OK, what is the preferred method to submit those two simple patches?
Title: Re: 2.6.11
Post by: mean on February 04, 2016, 02:25:14 PM
git merge request if you can
Title: Re: 2.6.11
Post by: efa on February 04, 2016, 05:46:04 PM
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
Title: Re: 2.6.11
Post by: mean on February 04, 2016, 08:27:34 PM
the UPS10.dll is only available on XP64 i think
Title: Re: 2.6.11
Post by: efa on February 04, 2016, 08:49:00 PM
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)?
Title: Re: 2.6.11
Post by: mean on February 05, 2016, 05:11:18 AM
"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
Title: Re: 2.6.11
Post by: efa on February 05, 2016, 09:22:53 PM
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
Title: Re: 2.6.11
Post by: efa on February 05, 2016, 09:31:14 PM
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)
Title: Re: 2.6.11
Post by: AQUAR on February 06, 2016, 03:31:06 AM
@ efa

Don't know where you get your stats from.
Windows 7 is still the most liked desktop operating system and over half are 32 bit.
Vista has proportionally an even larger 32 bit user base but its not liked (small user base). 
And ditto again for XP except this is now an deprecated and unsupported operating system (ever decreasing user base).

Lap top situation is a bit different eg most don't run XP.

I do understand where you are coming from, I still use xvid a lot and have XP as well (as an occasional needed OS on account of hardware/software that only runs on XP).

Realistically, support for XP is going to be an ever decreasing priority/need as is support for older codecs like xvid.

Solution (not specifically directed at You!) is to keep that which works well on these aging systems eg ADM 2.5.6 for XP and xvid (if you need all the xvid options).
And move on with the current by accepting that eventually you will lose the battle for backward functionality with older stuff.

Maybe say XP 64 bit support only but requires usp10.dll v1.626 (link to dll repository)

Just my 2 cents worth.

   
Title: Re: 2.6.11
Post by: Jan Gruuthuse on February 06, 2016, 04:18:06 AM
git clone https://github.com/mean00/avidemux2.git
Title: Re: 2.6.11
Post by: efa on February 06, 2016, 10:16:57 PM
attached the simple patch to let compile GTK gui, in git format
Title: Re: 2.6.11
Post by: efa on February 06, 2016, 10:29:15 PM
Quote from: AQUAR on February 06, 2016, 03:31:06 AM
Don't know where you get your stats from.
OK I admit this is my personal experience only, as friends switched to 64 bit OS with Win7 and on work PCs the ICT guy do the same. I never saw a PC with Win7 32 bit, anyway this is not a representative sample, probably is valid only for my neighborhood, so Italy.
At home, I keep an XP virtual box, only because it is 4 GB small (while friends say Win7 is 19 GB), and I use that only to test my cross compiled apps.
2.5.6 is the last version that work on XP? I never saw on download mirrors, where it is noticed?
Title: Re: 2.6.11
Post by: douche on February 08, 2016, 01:59:52 AM
Quote from: efa on February 06, 2016, 10:29:15 PM
2.5.6 is the last version that work on XP?
No, the latest version which works on XP is 2.6.11, but you need to download usp10.dll v1.626.6001 (32-bit or 64-bit). And the latest version which works on XP without downloading anything is 2.6.8.
Title: Re: 2.6.11
Post by: efa on February 08, 2016, 10:25:19 AM
Quote from: douche on February 08, 2016, 01:59:52 AM
No, the latest version which works on XP is 2.6.11, but you need to download usp10.dll v1.626.6001 (32-bit or 64-bit). And the latest version which works on XP without downloading anything is 2.6.8.
THKs. Should be reported on dowload pages