Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: golinux on October 24, 2012, 01:40:53 AM

Title: 2.5.6 crashes when saving project
Post by: golinux on October 24, 2012, 01:40:53 AM
Avidemux 2.5.6 installed on xfce wheezy.  Save as copy = CRASH.  Save as MPEG-4 AVC/AAC/MP4 = CRASH.  The only option that doesn't CRASH is auto DVD.  Am able to use filters and save video.  But can't save or create new project.  Here's one of the crash logs:

Assert failed :0
at line 386, file /home/marillat/src/avidemux-2.5.6/avidemux/ADM_encoder/adm_encConfig.cppADM_backTrack
videoCodecGetMode()
ADM_Composer::saveAsScript(char const*, char const*)
saveCrashProject()
ADM_backTrack
videoCodecGetMode()
ADM_Composer::saveAsScript(char const*, char const*)
A_saveWorkbench(char const*)
FileSel_ReadWrite(void (*)(char const*), int, char const*, char const*)
avidemux2_gtk() [0x816e452]
GUI_FileSelWrite(char const*, void (*)(char const*))
HandleAction(Action)
guiCallback(_GtkMenuItem*, void*)
g_cclosure_marshal_VOID__VOID
g_closure_invoke

g_signal_emit_valist
g_signal_emit
gtk_widget_activate
gtk_menu_shell_activate_item


I'm going to try a reinstall next.



Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 24, 2012, 06:18:34 AM
try with avidemux 2.6
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 24, 2012, 07:13:28 PM
Quote from: Jan Gruuthuse on October 24, 2012, 06:18:34 AM
try with avidemux 2.6

OK.  Downloaded 2.6.  Followed instructions at 'Compiling Avidemux 2.6.x'.  Process in the terminal ended with:

-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxxxx/Desktop/avidemux_2.6.0/buildCore


Nothing after that came up in the terminal ie. it never went back to a prompt.  What do I do next?  I thought it would generate a .deb so I'm confused.  Thanks for your help.

Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 25, 2012, 03:52:39 AM
Well, I realized that it just needed to work longer.  It created 4 .debs in the deb folder which I installed.  It said all dependencies were satisfied but the editor is unusable - no sound, no option to save project, no auto DVD option, no input/output toggle, no fade filter, have to klllx to close it down.  And without a GTK3 theme the GUI is just plain ugly.  As is, this is not a viable option.

Would it be possible to compile the version currently on squeeze (which works wonderfully well) for wheezy?  Or can you please help me find a way to fix 2.5.6?
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 25, 2012, 06:52:07 AM
only install in this order:
avidemux3-core-2.6.0
avidemux3-plugins-COMMON-2.6.0
avidemux3-qt4-2.6.0
avidemux3-plugins-QT4-2.6.0
avidemux3-cli-2.6.0
uninstall:
avidemux3-plugins-GTK-2.6.0
avidemux3-gtk-2.6.0
Start avidemux by calling from terminal:
/usr/bin/avidemux3_qt4
compiling:
Simple article: Installing Avidemux 2.5.x for Linux (http://www.avidemux.org/admWiki/doku.php?id=build:install_2.5)
Simple article: Installing Avidemux 2.6.x for Linux (http://www.avidemux.org/admWiki/doku.php?id=build:install_2.6)
Very detailed guide: Compiling Avidemux for Linux and Windows (http://www.avidemux.org/admWiki/doku.php?id=build:compiling_avidemux)

do understand 2.5 = frame based, 2.6 = time based. I use both alongside.

2.5.6:
sudo apt-get install build-essential \
cmake \
fakeroot \
gcc \
g++ \
gettext \
liba52-0.7.4 \
liba52-0.7.4-dev \
libasound2-dev \
libarts1-dev \
libfaac-dev \
libfaad-dev \
libgtk2.0-dev \
libglib2.0-dev \
libmad0-dev \
libpng12-dev \
libqt4-dev \
libqt4-opengl \
libqt4-opengl-dev \
libvorbis-dev \
libx264-dev \
libxv-dev \
libxml2-dev \
libxvidcore-dev \
make \
pkg-config \
subversion \
yasm

goto home directory:
cd ~/
get source:
svn co svn://svn.berlios.de/avidemux/tags/avidemux_2.5.6
set permissions for bootStrap.sh to allow to execute
Automatic compilation (recommended):
cd ~/avidemux_2.5.6
sudo ./bootStrap.sh



Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 25, 2012, 02:16:32 PM
Thank you very much, Jan! I did find some of the documents you listed late last night.  Are you suggesting that gtk is buggy and I should try qt instead??  Or is that just your personal preference?
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 25, 2012, 02:58:24 PM
Not buggy, less implemented options in there. Problematic supporting over the different OS's (Linux, OSX, windows). Should pose less problems when using the avidemux QT. Don't speak myself out over Qt or GTK. My desktop is unity 2D on 12.04.1 LTS.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 25, 2012, 05:08:23 PM
OK.  I'll give qt a try maybe later tonight.  Will also try compiling a 2.5x.  This is all pretty new territory for me . . . I'm a user who usually installs via synaptic.  I thought I'd get ahead of the curve with wheezy but it's been a big headache on many fronts.  Maybe I should have waited until wheezy stable.  But then . . . it's been a great learning experience.  Thanks for your help.

Thought I would add that I'm running XFCE Debian but may end up on SalineOS or Refracta or even just Openbox.
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 26, 2012, 05:41:24 AM
If it would ever happen you can't get avidemux to work on these. you can always add another primary partition on a harrdisc (0/1/...) and use the bios menu boot or grub2 boot to choose what OS you want to use for a specific job. Ubuntu 12.04.1 LTS (5 year support) would be then a preferred choice and would do with 10 GB.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 26, 2012, 06:31:38 AM
Quote from: Jan Gruuthuse on October 26, 2012, 05:41:24 AM
If it would ever happen you can't get avidemux to work on these. you can always add another primary partition on a harrdisc (0/1/...) and use the bios menu boot or grub2 boot to choose what OS you want to use for a specific job. Ubuntu 12.04.1 LTS (5 year support) would be then a preferred choice and would do with 10 GB.

I have been thinking somewhat along the same lines.  If I can't get avidemux working on wheezy, I will probably do a minimal squeeze install (on yet another partition - I've got 3 hard drives in my working box and 2 empty bays) to use strictly for media work.  10GB?  Ha!  When I work on a big project, I need at least 500gb.   I may have started with 'buntu (after an introduction to Linux via red hat and centos in 2005) but I have so moved on.  I will NEVER go back to 'buntuland . . . not ever.  ;)  (I don't trust Shuttleworth.  Period.  Especially after the amazon thing.)

I'm too tired now to follow up on various installation options but will hopefully have time tomorrow.  I'll let you know how it goes.
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 26, 2012, 08:14:37 AM
The OS partition would not need the fully required space for the project: only OS and required programs.
This is how my setup looks like:
1 TB's SATA 6 Gb/s WD1002FAEX are OS and workspace related. Editing on these: sdc5 to sda6 (686 GB both).
2 TB's SATA 3 Gb/s WD20EARS media storage: original and processed video

The second has 3 primary partitions (100 GB) where the 1st partition stores 11.10 amd64. sdc2 and sdc3 are for testing OS purpose. All primaries are selectable in grub2 boot.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 26, 2012, 03:05:38 PM
Quote from: Jan Gruuthuse on October 26, 2012, 08:14:37 AM
The OS partition would not need the fully required space for the project: only OS and required programs.

Yes, that is a possibility too and perhaps a better one.  I'm going to be rearranging most of the partitions on my drives when the time comes.  In the mean time, I'm on the older machine just trying to get everything working - xampp, wine, media apps etc. - and getting familiar with xfce and other options to gnome 3.   I should have plenty of time today to see if I can get avidemux working.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 28, 2012, 02:17:22 AM
Drat! Unexpectedly tied up for several days.  Hopefully tomorrow . . .
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 31, 2012, 04:06:46 AM
Quote from: Jan Gruuthuse on October 25, 2012, 06:52:07 AM
Simple article: Installing Avidemux 2.5.x for Linux (http://www.avidemux.org/admWiki/doku.php?id=build:install_2.5)
Simple article: Installing Avidemux 2.6.x for Linux (http://www.avidemux.org/admWiki/doku.php?id=build:install_2.6)
Very detailed guide: Compiling Avidemux for Linux and Windows (http://www.avidemux.org/admWiki/doku.php?id=build:compiling_avidemux)

I finally find the time and am awake enough to try this and none of these links work.  They all go to a page that says:

QuoteForbidden

You don't have permission to access /admWiki/doku.php on this server.

:(

I'll try with the instructions you posted but sure wish the wiki were working . . . it was a few days ago.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on October 31, 2012, 06:24:05 AM
Quote from: Jan Gruuthuse on October 25, 2012, 06:52:07 AM
get source:
svn co svn://svn.berlios.de/avidemux/tags/avidemux_2.5.6
set permissions for bootStrap.sh to allow to execute
Automatic compilation (recommended):
cd ~/avidemux_2.5.6
sudo ./bootStrap.sh


How do I install the svn if I don't have sudo enabled?  Is there a way to do it with su?

I tried running  ./bootStrap.sh in a root terminal instead of sudo and it completed *  All Done  * but I can't find avidemux anywhere or launch it.   
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 31, 2012, 06:42:51 AM
There has been some server issues. I'm just able to login now on this forum, still working very slow. Guess the wiki will clear later to.
Probably all related to super storm "Sandy": several big data centers on US east coast, flooded with water, no electricity: powerlines cut or diesel contaminated with water
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on October 31, 2012, 06:45:30 AM
normally you should be able to start 2.5.6 from terminal:
/usr/bin/avidemux2_qt4
Title: Re: 2.5.6 crashes when saving project
Post by: Jan Gruuthuse on November 01, 2012, 10:06:27 AM
sudo is the instruction to do something with privileges of another user, normally the superuser. You should have an equivalent instruction in your flavor of linux.
It would not be exactly the same as switching from user environment to superuser environment and giving that instruction. Sudo you would work in user environment passing a superuser instruction. There could be differences between both environments: user <> superuser.
Title: Re: 2.5.6 crashes when saving project
Post by: golinux on November 01, 2012, 03:18:16 PM
Quote from: Jan Gruuthuse on November 01, 2012, 10:06:27 AM
sudo is the instruction to do something with privileges of another user, normally the superuser. You should have an equivalent instruction in your flavor of linux.

Thanks for addressing the sudo issue.  Sudo is not enabled by default in Debian.  I really do not want to enable sudo now that I've gotten rid of that questionable habit.  Su and a root terminal work just fine.

Quote from: Jan Gruuthuse on November 01, 2012, 10:06:27 AMIt would not be exactly the same as switching from user environment to superuser environment and giving that instruction. Sudo you would work in user environment passing a superuser instruction. There could be differences between both environments: user <> superuser.

And that's why the shell script is limited and probably useless to me unless it can be modified to install with su instead of sudo.  :(   Any ideas how to do that?  In the meantime, I'll keep playing with it . . .

Title: Re: 2.5.6 crashes when saving project
Post by: golinux on November 03, 2012, 12:46:28 AM
I have tried to install 2.5.6 on wheezy with xfce, mate and salineos (all on separate partitions so as not to interfere with each other).  They all crash when trying to save any file configuration other than auto DVD.  I also installed the qt version from synaptic (I never could get the shell script to do it even with sudo).  QT crashed the same as GTK.  Besides that, I couldn't stand to work with the kde-inspired interface even if the features worked so qt is not an option for me.  All this is so very depressing . . .  :(