SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-24 00:22:46

new_u
Member
Registered: 2014-03-30
Posts: 93

Avidemux

I tried avidemux but it seems to be missing codecs? There are no audio codecs and only two video codecs. Oddly enough avidemux can open and play video files just fine - with no audio. However there seem to be no audio/video compression codecs.

The command line version says

[ADM_ad_plugin] Scanning directory /usr/lib/ADM_plugins/audioDecoder/

[ADM_ad_plugin] Cannot parse plugin

[ADM_vf_plugin] Scanning directory /usr/lib/ADM_plugins/videoFilter/

[ADM_vf_plugin] Cannot parse plugin

[ADM_av_plugin] Scanning directory /usr/lib/ADM_plugins/audioDevices/

[ADM_av_plugin] Cannot parse plugin

[ADM_ae_plugin] Scanning directory /usr/lib/ADM_plugins/audioEncoders/

[ADM_ae_plugin] Cannot parse plugin

[ADM_ad_plugin] Scanning directory /home/tux/.avidemux/plugins/audioDecoder/

[ADM_ad_plugin] Cannot parse plugin

[ADM_vf_plugin] Scanning directory /home/tux/.avidemux/plugins/videoFilter/

[ADM_vf_plugin] Cannot parse plugin

[ADM_vidEnc_plugin] Scanning directory /usr/lib/ADM_plugins/videoEncoder/

[ADM_vidEnc_plugin] Cannot parse plugin

[ADM_vidEnc_plugin] Scanning done, found 0 codec

and indeed all those files/dirs are missing and don't seem to be part of the SliTaz package?

Offline

#2 2015-01-24 02:54:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Avidemux

Maybe you installed a broken avidemux-2.5.6.tazpkg?

The package on the build server and mirror has 150 files including the plugins.

http://snipurl.com/29n3uvt

Offline

#3 2015-01-24 05:05:29

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

Sorry, actually I was using 2.5.4 - I don't think my package is broken (I downloaded it again just in case) - the 2.5.4 package has 27 files.

And...now I tried 2.5.6 - I don't think it can run under SliTaz 4.0?

avidemux2_gtk: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by avidemux2_gtk)

I'll see if I can copy the missing files from 2.5.6 to 2.5.4 and so get 2.5.4 to work.

---------------

Anyway, meanwhile I compiled ffmpeg 2.5 and it works! I can't believe it...It encodes twice (or more) as fast as the version I was using (0.6 - pretty old?)

Offline

#4 2015-01-26 01:05:26

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

So I think avidemux-2.5.4.tazpkg is broken. It's not that I had a bad copy. The package at the repository itself is broken.

And 2.5.6 doesn't run under SliTaz 4.0. And I can't 'borrow' files from 2.5.6 to 2.5.4 because of further version mismatch(es).

I'm trying to compile 2.5.4 right now.

Offline

#5 2015-01-26 05:01:05

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

So, I 'cooked' 2.5.4 and got a package with 27 files, just like the original one. And broken like the original one. I'm guessing that there's something wrong with the 'receipt'?

(also, building requires libsdl-dev, which wasn't listed as build dependency).

I'm going to 'cook' 2.5.6 and see if I get a SliTaz 4.0 compatible package...

Offline

#6 2015-01-26 07:44:58

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

success!

The receipt for 2.5.6 lists a lot of building depencies that SliTaz 4.0 doesn't have, so I couldn't cook it.

What I did was to simply run cmake and then make on the 2.5.6 sourceforge sources. That built a working avidemux2_gtk binary, plus these libraries

libADM5avformat.so.53  libADM5postproc.so.51

libADM5avcodec.so.53   libADM5avutil.so.51    libADM5swscale.so.2

putting all that in a directory allows avidemux to run. Now, the plugins were still missing and avidemux was looking for them in

/usr/local/lib/ADM_plugins

so I copied the stuff in /usr/lib/ADM_plugins_6 (which was part of avidemux-2.5.6.tazpkg) to /usr/local/lib/ADM_plugins  and avidemux loaded the plugins.

I haven't figured out yet why cmake/make didn't build the plugins though.

Offline

#7 2015-01-26 10:45:34

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Avidemux

> a lot of building depencies that SliTaz 4.0 doesn't have

Only opencore-amr missing in 4.0, so you have to remove it from DEPENDS (and opencore-amr-dev from BUILD_DEPENDS)

See this changeset with name "avidemux: make plugins"

http://hg.slitaz.org/wok/rev/6a951b1d106b

Offline

#8 2015-01-26 11:00:59

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

Yes, the first thing that was missing was opencore-amr and since the depends list was longer, I assumed the other stuff was missing too. My bad.

Thanks for the link, I'll take a look.

Offline

#9 2015-01-31 02:29:34

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

I cooked 2.5.6  -  I deleted the opencore-amr dependency from the receipt list. Also,  the ogg libraries are needed  butare not listed as a dependency.

Anyway, I got a working package except for the fact that a couple of plugins fail to register.  For instance the x264 encoding library is detected but avidemux says that it will ignore it for some reason. I need to take a better look at why.

Offline

#10 2015-02-01 21:04:31

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Avidemux

So, I *finally* got the x264 encoder to work.

There were two error messages. One says

[ADM_vidEnc_plugin] Scanning directory /usr/lib/ADM_plugins/videoEncoder/

ignored: x264

I don't know what that  means.

The other message said that libx264.so.142 couldn't be loaded. So I put a copy of libx264.so.142 in /usr/lib and that fixed it. By the way, the encoder shows up as "MPEG-4 AVC" in avidemux.

(I had compiled the 142 buld of x264 from the original source, but I'm not sure how cook found it and linked avidemux against it - I thought cook would use the 119 build from the installed SliTaz package)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.027 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]