Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: Fleabag on February 25, 2012, 01:53:53 AM

Title: [SOLVED] Help using Avidemux 2.5.4 please.
Post by: Fleabag on February 25, 2012, 01:53:53 AM
I am having a problem using Avidemux 2.5.4, what has been happening is that whenever I go to load a video file, I get an error message saying "No audio decoder found for this file. Save (A+V) will generate bad AVI. Save audio will work.". I am using it with Vector Linux 7.0 as my operating system. How do I go about correcting that situation? Thanks in advance for you're assistance.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on February 25, 2012, 07:50:29 AM
First tell us what's in the video by opening it up in MediInfoGui, switching to html view, copy and paste the output into a gist or pastebin and give us the url.,

Secondly, avidemux2 is now up to version 2.5.6.  Please upgrade.  If you still have errors, see if you can use another program to cut a 10MB chunk of it out and put that up on rapidshare or somewhere handy.  To help up debug this, copy your whole logfile from when you start up avidemux till when it errors into a gist and give us the url to that.  I guess it's in your syslog or copied to your console.

In this case I'm guessing you are trying a deal with a video for which you never built the library to decode it's audio, or your audio decoder plugins were not loaded when avidemux started, or the video is broken.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on February 26, 2012, 05:08:16 AM
Please explain.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Jan Gruuthuse on February 26, 2012, 07:47:03 AM
If the compiling issue is not solved on vector linux 7.0 (http://www.avidemux.org/smf/index.php?topic=10156.msg55050#msg55050) I'm afraid you can't upgrade to avidemux 2.5.6 or 2.6?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on February 26, 2012, 08:56:14 AM
May I ask what language you prefer?
MediaInfoGUI is a program that tells you the details of your video.  Get it here: http://mediainfo.sourceforge.net/en

Lets try that maybe.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on February 27, 2012, 05:08:02 PM
Quote from: Jan Gruuthuse on February 26, 2012, 07:47:03 AM
If the compiling issue is not solved on vector linux 7.0 (http://www.avidemux.org/smf/index.php?topic=10156.msg55050#msg55050) I'm afraid you can't upgrade to avidemux 2.5.6 or 2.6?

What should I do in that case?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Jan Gruuthuse on February 27, 2012, 07:51:14 PM
Find computer geek that can help you with the compiling issue(s) on vector linux 7.0?
Or look to have multiple OS installed and bootable? So you can keep vector linux 7.0 and can run Ubuntu to work with your videos?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on February 29, 2012, 12:21:38 PM
Read their command line cheatsheat (https://vector.ecosq.com/ic/HowTos/HowToBook/ChapCommandLine/commands)

tail -f /var/log/messages
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 02, 2012, 03:25:45 PM
the end result is as follows:

madscientist:$ tail -f /var/log/messages
Mar  2 09:37:15 vector kernel: [ 1811.395307] usb 1-5: USB disconnect, device number 7
Mar  2 09:47:23 vector -- MARK --
Mar  2 09:56:13 vector acpid: client 2822[0:0] has disconnected
Mar  2 09:56:13 vector acpid: client connected from 4931[0:0]
Mar  2 09:56:13 vector acpid: 1 client rule loaded
Mar  2 09:56:27 vector gnome-keyring-daemon[5037]: GLib-GIO: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
Mar  2 09:56:27 vector gnome-keyring-daemon[5037]: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .service files
Mar  2 09:56:27 vector last message repeated 2 times
Mar  2 10:07:23 vector -- MARK --
Mar  2 10:19:48 vector kernel: [ 4364.239070] sr0: CDROM not ready.  Make sure there is a disc in the drive.

So what do I do next?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 03, 2012, 12:52:33 AM

1) Start avidemux
2) open that video you are having problems with.
3) Close avidemux.
4) Start a text editor.
5) In your text editor, open /var/log/messages.
6) Copy all of the avidemux output towards the bottom of that file that was made when you just started and stopped avidemux.
7) Paste all of that output into a gist at https://gist.github.com/
8) Give us the url to the gist over on your topic on installing avidemux on vector linux (http://www.avidemux.org/smf/index.php?topic=10156)

Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 03, 2012, 11:37:54 PM
1. After you paste all the info into the gist window, you press the Create Public Gist button.

(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2F2m7hu2g.jpg&hash=04b7d82a1314ac282db5343f875b12b85744c716)





2. Then on the next page you copy the url from your navigation bar:

(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fi40.tinypic.com%2Fwvwvia.jpg&hash=e19ec7d62b85a2bd0490e287fe23399302510ae0)



and give that link to us please, e.g.  https://gist.github.com/1968798
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 03, 2012, 11:45:37 PM
https://gist.github.com/1969009

this represents the time period that I last tried your suggestions.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 04, 2012, 12:26:48 AM
You did a great job.  So sometime between 16:37 and 18:38 you ran Avidemux?
If yes then it must be logging to another file.  Let's look for the file.  Would you
please start and stop Avidemux again (to generate fresh log data), then run this
command and paste in the output?

find /var/log -type f -name "*.log" -exec grep -H -n Zenkov '{}' \; 2> /dev/null



If that didn't return anything, then just get us the output of this command in a new gist:

ls -l /var/log


Thanks we will get this sorted pretty soon.  That Zenkov fellow is one of the developers, and his name
appears in the logs whenever you start Avidemux.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 04, 2012, 12:40:18 AM
And here's the output -

https://gist.github.com/1969455
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 04, 2012, 12:54:21 AM
Nice.  Slight change to the command now that I know what files we have to work with.
Run this and paste the output into a gist please.


find /var/log -type f -exec grep -H -n Zenkov '{}' \; 2> /dev/null


fwiw this is what I get back:

/var/log/system.log:23:Mar  3 00:52:59 LeBus [0x0-0x450450].org.avidemux.avidemux2[17791]:  Audio     : Mihail Zenkov
/var/log/system.log:4898:Mar  3 03:02:49 LeBus [0x0-0x47e47e].org.avidemux.avidemux2[5261]:  Audio     : Mihail Zenkov
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 04, 2012, 01:41:45 AM
I'm not sure which of those codes you want me to try.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 04, 2012, 02:12:09 AM
This one please:

find /var/log -type f -exec grep -H -n Zenkov '{}' \;
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 04, 2012, 04:30:44 AM
The end result is as follows: https://gist.github.com/1970667
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 04, 2012, 06:28:32 AM
One more command to try and find where avidemux is logging:


1) Please start avidemux like you normally do.
2) Then quit the avidemux program.
3)find /var/log -type f -exec grep -H -n avidemux '{}' \;

Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 04, 2012, 01:56:04 PM
This is the end result: https://gist.github.com/1973101
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 12:41:08 AM
Ok we didn't find where Avidemux writes it logs.
But we can get the information I need directly from avidemux.
Please do this and paste the output in a gist. thanks:

/usr/bin/avidemux2_cli --help

Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 04:04:54 AM
And the end result for that is: https://gist.github.com/1976550
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 06:06:38 AM
And there is the answer.  Avidemux can't find your encoders, decoders, or other plugins.
It says in that gist, Cannot parse plugin and also Scanning done, found 0 codec.

All of those libraries should have been installed.  Let's look for them.  Please try this:

ls -l /usr/lib && ls -l /usr/lib/ADM_plugins
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 07:04:00 AM
Here is all the output I could get ; https://gist.github.com/1977151

I hope this helps.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 04:18:43 PM
It does help thanks.  You have no Avidemux libraries or plugins.  Those should have been created during install.  Please tell us what command you used to install Avidemux-2.5.4 and where you got it.   Thanks.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 04:53:45 PM
I installed it using "vl-QwikPicks".
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 06:05:18 PM
Ok.  Please type this command to update the list of Vector Linux software you can install:

slapt-get --update

You can paste the output in a gist if you want.  You may want to read this:
https://vector.ecosq.com/ic/HowTos/HowToBook/VlApps/packages
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 07:30:06 PM
OK, and what do I do after that?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 08:20:25 PM
Please do this and paste the output into a gist, thanks:

slapt-get --installed
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 08:37:55 PM
OK. And here is the result: https://gist.github.com/1980935
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 08:54:50 PM
Good.  The output tells me that you have:  "avidemux-2.5.4-i586-1vl70 [inst=yes]: avidemux (a video editor)"

Let's see if there are any newer Avidemux versions available from Vector Linux..  Please run this and paste the output into a gist:

slapt-get --search avidemux
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 09:22:38 PM
https://gist.github.com/1981189

I think that I know what the problem is...so the question that I have now is - How do I go about fixing it?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 05, 2012, 09:44:15 PM
With your last gist and the updated list of software you just downloaded, we now find that 2.5.4 is the most recent version that Vector Linux wants to provide for you.

If 2.5.4 is the most recent version, then we can only try to reinstall it.  Here is the command:

slapt-get --reinstall --install avidemux

Good luck.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 05, 2012, 11:43:02 PM
The output is as follows:

https://gist.github.com/1982107

but the end result is EXACTLY the same.

So what do you suggest that I try next?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 06, 2012, 02:09:40 AM
We now look to see what happened during the install by reading the log.
Put this url into Firefox or Opera or Safari or whatever and go to it:

file:///var/log/packages/avidemux-2.5.4-i586-1vl70

Please select all the text that appears and paste it into a gist.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 06, 2012, 03:15:25 AM
I won't have to, because all of the resulting text is as follows:

doctor:$ file:///var/log/packages/avidemux-2.5.4-i586-1vl70
bash: file:///var/log/packages/avidemux-2.5.4-i586-1vl70: No such file or directory
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 06, 2012, 05:51:22 PM
Use

file:///var/log/packages

It will work.  Sorry sometimes they rename things.  Click the avidemux link that shows up after that page loads.  Give us a gist.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 06, 2012, 07:27:20 PM
And the end result is:

doctor:$ file:///var/log/packages
bash: file:///var/log/packages: No such file or directory
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 06, 2012, 08:17:06 PM
You don't paste that into a command prompt, you paste that into Firefox or some other web browser.
I am asking you to:

1) Put file:///var/log/packages  into your browser URL bar and make it go there. (Firefox, Opera, Safari, whatever you use)

(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2F16m3syg.jpg&hash=6f07f790889970a7017b19c3855e519e293599b5)




2) Then press the Return Key:

(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F5fm5ih.jpg&hash=14fb6103062e860c6aa5c732045460a9e2d748b9)



3) Click the avidemux link.
4) gist.

Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 06, 2012, 08:52:36 PM
Sorry about that. Here is the information that you asked for (I hope): https://gist.github.com/1988913
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 06, 2012, 09:27:26 PM
Yes that confirms the problem.  I can see your /usr/lib/ADM_plugins directory is empty.  Vector Linux did not build you any plugins, and those are mandatory.   The only way to get the plugins is to build avidemux from source like most people.  You have a Debian like Operating System.  Avidemux will build on that.

slapt-get --remove avidemux
slapt-get --install build-essential
slapt-get --install cmake
slapt-get --install fakeroot
slapt-get --install make
slapt-get --install subversion
slapt-get --install gcc
slapt-get --install g++
slapt-get --install gettext
slapt-get --install liba52
slapt-get --install libasound2
slapt-get --install libarts1
slapt-get --install libfaac
slapt-get --install libfaad
slapt-get --install libgtk
slapt-get --install libglibv
slapt-get --install libmad
slapt-get --install libvorbis
slapt-get --install libx264
slapt-get --install libxv
slapt-get --install libxml2
slapt-get --install libxvidcore
slapt-get --install yasm



Some of those probably won't work because I have the name wrong.
Make a list of the ones that worked.  Make a list of the ones that didn't.
Please give me the lists.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 06, 2012, 10:15:09 PM
The files that I have (according to the Gslapt Package Manager are:

cmake
fakeroot
make
subversion
gcc
g++
gettext

and yasm

The ones that I don't have are: build-essential , and all of the lib files. And while I'm on the subject, should I then download and build the Debian Version of Avidemux, and if so, which of those files will I need?
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 06, 2012, 11:52:14 PM
This is the file you will eventually build from:  http://downloads.sourceforge.net/avidemux/avidemux_2.5.6.tar.gz

These are some more commands to get the deps installed.
Let me know how it goes:

slapt-get --install a52
slapt-get --install asound
slapt-get --install arts
slapt-get --install faac
slapt-get --install faad
slapt-get --install gtk
slapt-get --install glib
slapt-get --install mad
slapt-get --install vorbis
slapt-get --install x264
slapt-get --install xv
slapt-get --install xml2
slapt-get --install xvid



If it doesn't have anything for faad, then do: slapt-get --search faad
Good luck.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 07, 2012, 12:23:30 AM
Of the recent list of commands that you mentioned, the ones that I do NOT have are:

asound (I have alsa)
arts
vorbis
(I have vorbis-tools, and libvorbis)
xm12
and xvid (I have xvidcap)

I do have all the other files mentioned.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: nibbles on March 07, 2012, 01:12:54 AM
slapt-get --search asound
slapt-get --search arts
slapt-get --search xml2
slapt-get --search xvid


that is an XML2, not XM12.  please.
Title: Re: Help using Avidemux 2.5.4 please.
Post by: Fleabag on March 10, 2012, 08:54:47 PM
Sorry about that, my mistake, but as it turned out, someone FINALLY managed to place a properly installable copy of Avidemux 2.5.6 into the Vector Linux repositories  ;D, but thanks for your help anyway.