Thank you again for your help. 
My answers below:

Le 17 juin 2010 à 21:58, Dan Dennedy a écrit :

> On Thu, Jun 17, 2010 at 11:17 AM, Brice Vercoustre <br...@vercoustre.com> 
> wrote:
>> Hello guys,
>> 
>> I have the (unpleasant) "Segmentation fault" error when running melt 0.5.5 
>> on Ubuntu 10.04 64bits with ffmpeg version SVN-r23548 (my production server).
>> 
> 
> FYI, 0.5.5 is an unreleased version; odd versions are never released.
> This basically means some git snapshot, and maybe it was timed poorly.
> I am not aware of any new major problems in git head at the moment (I
> am prepared to release it this weekend). Are you able to build MLT
> from git yourself and test it?

After uninstalling melt package I used from apt repository, I've tried to build 
MLT from git but I have errors.

Here is the configure command I used (I think it's yours ;p ):
./configure --enable-gpl --disable-mmx --avformat-swscale 
--avformat-static=/root/ffmpeg --avformat-ldextra="-lmp3lame -lfaad -lfaac 
-lxvidcore -lx264 -lvorbis -ltheora -lvorbisenc -logg -lbz2"

Which returns me the following:
Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/dgraft:
Configuring modules/dv:
- libdv not found: disabling
Configuring modules/effectv:
Configuring modules/feeds:
Configuring modules/frei0r:
- frei0r plugin disabled. Install frei0r-plugins and make sure frei0r.h is 
available.
Configuring modules/gtk2:
- GTK2 components not found: disabling
Configuring modules/jackrack:
- jackrack not found: disabling
- xml2 not found: disabling jackrack
- ladspa not found; disabling
Configuring modules/kdenlive:
Configuring modules/kino:
- libquicktime not found: only enabling dv avi support
Configuring modules/linsys:
Configuring modules/lumas:
Configuring modules/melt:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/plus:
Configuring modules/qimage:
qimage: QT environment not found - disabling
Configuring modules/resample:
- libsamplerate not found: disabling
Configuring modules/sdl:
Configuring modules/sox:
- sox not found: disabling
Configuring modules/vmfx:
Configuring modules/vorbis:
Configuring modules/xine:
Configuring modules/xml:
- xml2 not found: disabling xml module
Configuring melt:
Configuring mlt++:
Configuring swig:
GPL License Used

Then when I run "make" command, here is the result:
http://www.vercoustre.com/make-melt.txt

Note that I can't build ffmpeg with "--enable-shared" without having errors 
during "make" process... So I have not used "--enable-shared" on ffmpeg.

> 
>> When I run the EXACT same command on melt 0.5.2 from Ubuntu 10.04 32bits 
>> with ffmpeg version SVN-r22930 (the development server) - then it PERFECTLY 
>> works.
>> 
> 
> Why is the development server running older stuff than the production
> server? That seems backwards.

I was very dependent of Aptitude repositories.

On my newer production server, I first used the last Ubuntu official repository 
(http://fr.archive.ubuntu.com/ubuntu/ lucid/universe Packages) to install melt 
v0.5.4-1 but I had the "Segmentation fault" error. 

Then I uninstalled the melt package (apt-get purge, then I check with "dpkg -l 
| grep melt" to confirm the package has been successfully uninstalled) and 
tried with the launchpad repository (that someone from this mailing list once 
advised me to use). Same error...

> 
>> This is very frustrating because I obtained pretty good results on the 
>> development server, and now that I've installed the whole stuff on the 
>> production server it fails T__T
>> 
>> I did install melt with "apt-get" from:
>> deb http://ppa.launchpad.net/sunab/sunab2/ubuntu lucid main
>> 
>> Note that ffmpeg works perfectly on the production server.
>> 
>> I have "avformat" when I do both: "melt -query producers" /AND/ "consumers"
>> 
>> The "-debug" argument in my melt command returns me the following output:
>> http://www.vercoustre.com/melt_err_debug.txt
> 
> This is not very helpful. A gdb backtrace might be. I will try to
> reproduce your command with git head (not necessarily on 64-bit Ubuntu
> 10.04).

So, still on my production server, as I didn't succed in building MLT from git, 
I did again "apt-get install melt" from official Ubuntu Lucid repository. I 
currently have melt v0.5.4-1

Here is the backtrace I have with gdb:
http://www.vercoustre.com/gdb-melt.txt

> 
>> Finally, here is my command line:
>> # command beginning
>> melt -debug color:black in=0 out=1549 length=1550 \
>> \
>> -track -blank 75 
>> avformat:/home/www/framework/files/recordings/29_20100617_192359_second.wmv 
>> audio_index=-1 in=75 out=1474 length=1550 \
>> -track avformat:/home/www/framework/files/recordings/29_20100617_192359.wmv 
>> out=1549 length=1550 \
>> -track colour:black in=0 out=99 \
>> -track colour:white in=0 out=74 \
>> -track /home/www/framework/files/recordings/logo.png ttl=1550 in=0 out=1549 \
>> \
>> -transition composite geometry=170,30:300x300 progressive=1 a_track=4 
>> b_track=5 in=0 out=54 \
>> -transition composite:170,30:300x300 end=10,290:60x60 progressive=1 
>> a_track=4 b_track=5 in=55 out=64 \
>> -transition composite geometry=10,290:60x60 progressive=1 a_track=3 
>> b_track=5 in=65 out=74 \
>> -transition composite geometry=10,290:60x60 progressive=1 a_track=4 
>> b_track=5 in=65 out=74 \
>> -transition luma softness=0.1 reverse=1 a_track=3 b_track=4 in=65 out=74 \
>> -transition composite geometry=10,290:60x60 progressive=1 a_track=0 
>> b_track=5 in=65 out=1549 \
>> -transition luma softness=0.1 reverse=1 a_track=1 b_track=3 in=75 out=99 \
>> -transition composite geometry=160,0:480x360 progressive=1 a_track=0 
>> b_track=1 in=75 out=1549 \
>> -transition composite geometry=-180,10:180x135 progressive=1 a_track=0 
>> b_track=2 in=0 out=89 \
>> -transition composite:-180,10:180x135 end=0,10:180x135 progressive=1 
>> a_track=0 b_track=2 in=90 out=99 \
>> -transition composite geometry=0,10:180x135 progressive=1 a_track=0 
>> b_track=2 in=100 out=1549 \
>> \
>> -consumer 
>> avformat:/home/www/framework/files/recordings/29_20100617_192359_mixed.mp4 
>> acodec=libfaac ab=92k vcodec=libx264 
>> vpre=/usr/share/ffmpeg/libx264-hq.ffpreset minrate=0 b=1024k b_strategy=1 
>> subcmp=2 cmp=2 coder=1 flags=+loop flags2=dct8x8 qmax=51 subq=7 qmin=10 
>> qcomp=0.6 qdiff=4 trellis=1 aspe...@16/9 s=640x360
>> # command end
>> 
> 
> Are you certain your build of ffmpeg and libs has enabled libfaac? It
> is typically not any longer, but I do not know much about sunab's
> packages. Do you have X on this box so you can test the command line
> with SDL output instead of avformat?
> 

Here is what I get when I do "ffmpeg -version":

FFmpeg version SVN-r12420, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-static --enable-shared 
--cc=x86_64-pc-linux-gnu-gcc --disable-altivec --disable-ffplay 
--disable-ffserver --enable-libmp3lame --enable-libvorbis --enable-libgsm 
--enable-libtheora --enable-libdc1394 --enable-libxvid --enable-libx264 
--enable-libfaad --enable-libfaac --enable-liba52 --enable-nonfree 
--enable-libamr-nb --enable-libamr-wb --enable-gpl --enable-pthreads 
--disable-strip --extra-cflags=-fPIC
  libavutil version: 49.6.0
  libavcodec version: 51.51.0
  libavformat version: 52.9.0
  libavdevice version: 52.0.0
  built on Mar 11 2008 17:52:49, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, 
pie-8.7.9)
FFmpeg SVN-r12420
libavutil   3212800
libavcodec  3355392
libavformat 3410176
libavdevice 3407872

(and yes, I did update ffmpeg yesterday night on production server : from 
SVN-r23548 to SVN-r23639)

I tried to use SDL instead of avformat: I have no error but Current Position 
stays on 0 and nothing happens.

>> Thank you so much for your precious help.
>> By the way I'm at the end of this educational project and I've submitted the 
>> idea of paying a symbolic donation to your project but I do not find any 
>> donation link :s
>> 
> 
> -- 
> +-DRD-+
> 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to