View Full Version : Need help: Avidemux MP?
mod
4th November 2006, 16:46
Yestarday I started installing a lot of stuff on a new Notebook (Asus A6JE 008H - Core2Duo) and it seems that I'm not able to get Avidemux 2.3 preview2 run on my Ubuntu64 distro.
I looked for compiled versions but I didn't find any, then I tried to compile it from latest sources but I get errors related to SpiderMonkey (which of course I installed) and the operations stop.
The version available via Synaptic is 2.1.2. that doesn't allow multi threaded encoding, so it's not the best choice of course ^^
So..
If someone here has been able to make a successfull build, or can give a link to a working package it would be really nice.
Thanks for the help :)
PS: Am I the only one here waiting for MeGUIx? Take your time Sharktooth and thanks for your work :)
mean
4th November 2006, 17:06
Try installing mozilla-dev, it should contain everything needed.
mod
5th November 2006, 01:53
Thanks for the reply.
It didn't work, always the same error:
checking spidermonkey engine ... using : : as extra flags
checking jsapi.h usability... no
checking jsapi.h presence... no
checking for jsapi.h... no
configure: WARNING: I did not find a working copy of jsapi.h and the associated library.
configure: WARNING: <1>- Not reachable : Make sure you have spidermonkey installed
configure: WARNING: Then use --with-jsapi-include=/path/to/jsapi.h/
configure: WARNING: <2>- Make sure the library is in your LD_LIBRARY_PATH and/or LDFLAGS
configure: WARNING: <3>- Make sure multithreading is enabled in your spidermonkey
configure: WARNING: The ones from mozilla-dev or firefox-dev are ok
configure: error: *** Working SPIDERMONKEY javascript engine not found !***
The only package that "could" solve the issue is libmozjs-dev, but it requires to uninstall other packages such as mozilla-browser, so I won't try it, also because googling a bit it seems that other people had this kind of problems.
mean
5th November 2006, 10:01
be sure to use
--with-jsapi-include=/usr/include/mozilla/js
and to symlink
/usr/lib/firefox/libmozjs.so to /usr/lib
Then it should be fine.
Lokean
7th November 2006, 20:42
Seen this?
http://avidemux.org/wki/index.php?title=Compiling_Avidemux#Edgy_Eft
mod
8th November 2006, 12:50
@Lokean: thanks for the link, it was really useful because I've been able to compile with no problem (I didn't know that Edgy didn't like SpiderMonkey atm).
Btw.. I can't get a correct encode, exactly what happens with other builds: when the encoding begins, Avidemux quits (tonight I'll log here the shell output now I'm at work).
I start thinking there's something wrong somewere, because it's a fresh install and I can't get mencoder work too (never happened before).
mod
10th November 2006, 11:34
Ok, finally yestarday I was able to compile correctly, I had a really stupid problem with packages that I solved quite quickly.
Btw.. it seems that I can't make it work with more than 1 thread, also if I set 2 -> 4 the cpu usage is just 50%.
Now at work I can't remember if the issue is with xvid only or also with lavc, tonight I'll be more precise.
Thanks again :)
mean
11th November 2006, 18:02
Start it in the console and look for message such as
[codec]Enabling MT decoder with 2 threads
and/or
Initializing global xvid 4
xvid build:xvid-1.1.0
xvid thread:0
xvid SIMD supported:(cf)
mod
11th November 2006, 20:52
Ok, it seems that the issue is only with xvid, lavc works quite good (also if I expected a more intensive use of both cores, atm I can't reach more than 130/200 with 2-4 threads).
Here're the infos:
*******************
Avidemux 2, v 2.3.0_preview2
*******************
http://fixounet.free.fr/avidemux
Code : Mean & JSC
GFX : Nestor Di , nestordi@augcyl.org
Testing : Jakub Misak
FreeBSD : Anish Mistry, amistry@am-productions.biz
Compiled for X86_64 Arch.
LARGE FILE AVAILABLE : 1 offset
[Locale] setlocale it_IT.UTF-8
[Locale] Textdomain was messages
[Locale] Textdomain is now avidemux
[Locale] Files for avidemux appear to be in /home/mod/Desktop/AVIDEMUX/share/locale
[Locale] Test : _File
Initializing prefs
Registering Encoders
*********************
Mjpeg encoder registred
Xvid-4 encoder registred
FFMPEG encoder registred
3 encoder registered
SDL support on Version 1210
Global SDL init...
Initializing Dithering tables
Initializing global xvid 4
xvid build:xvid-1.1.2
xvid thread:0
xvid SIMD supported:(80)
Checking cpu capabilities
Cpu has MMX
Cpu has MMXEXT
Cpu has SSE
Cpu has SSE2
End of cpu capabilities check
Directory /home/mod/.avidemux exists.Good.
Using /home/mod/.avidemux as base directory for prefs/jobs/...
Preferences found and loaded
Found 16 video encoder
Found 9 audio encoder
Directory /home/mod/.avidemux/custom exists.Good.
No custom script
Found 0 custom scripts, adding them
Menu built
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3
Registering Filters
*********************
Using real audio device
Spidermonkey initialized.
Xvid version is 1.1.2, that doesn't support MT I think (I compiled it from source last thursday). I was thinking to recompile 1.2.-127 from Koepi's site, but I remember that I tried it last month on another system (Ubuntu32) and I didn't have success.
If that is the problem I'll take some time tomorrow and see.
Do you have any idea?
Again, thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.