I am unfamiliar with gource. What was the FFmpeg or x264 command the gource was using that resulted in the incorrect parameters error?
This means that gource is now using ffmpeg and libx264 from the repository and not your compiled versions.
I am unfamiliar with gource. What was the FFmpeg or x264 command the gource was using that resulted in the incorrect parameters error?
This means that gource is now using ffmpeg and libx264 from the repository and not your compiled versions.
First they ignore you, then they laugh at you, then they fight you, then you win ~ Mahatma Gandhi
Compiling is not something I have great experience with.. I have the general concept of how things work... I tried fumbling through it a bit, but it's kind of hard to know what to do..
From searching a bit I ended up with this..
Of course, it fails when I try to compile it.. I'm sure there's stuff that I don't need there, and something I do need, that's missing..Code:./configure --enable-x11 --enable-xvideo \ --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame \ --enable-mad --enable-libdvbpsi --enable-a52 --enable-dca \ --enable-libmpeg2 --enable-dvdnav --enable-faad \ --enable-vorbis --enable-ogg --enable-theora --enable-faac\ --enable-mkv --enable-freetype --enable-fribidi \ --enable-speex --enable-flac --enable-caca \ --enable-skins --enable-skins2 --enable-alsa \ --disable-qt --enable-wxwindows --enable-ncurses \ --enable-asa --enable-release --enable-shared --enable-pic --with-x264-tree=/usr/src/x264
Make fails with this:
Could anyone point me in the direction of a tutorial on how to do this right?Code:/usr/local/lib/libavcodec.a: could not read symbols: Bad value
I'm sure there are some decent how to's on vlc, though I've not seen any to recommend.Could anyone point me in the direction
There are several methods to build vlc and dozens of ways to configure, so I could offer a few tips and you'd have to take it from there or search out a how to that suits your needs
First a suggestion - as FO has posted, medibuntu will shortly offer a libfaac enabled libavcodec package that may solve your problem, all you'd need to do is wait, install it and see if vlc works with it (probably should.
Otherwise
I build vlc as a package set for various reasons, and use some different configs for ffmpeg and vlc that suit my purposes so to see what you may encounter did a quick build of tonights ffmpeg and a straightforward, reasonably enabled vlc build, to test using a configure and make to build.
A few things
You should make sure you can scroll back at least 1000 lines in your terminal so you can read back thru your configure. 'Passing' a configure in vlc is relativly meaningless, if you had read back thru yours, you would have seen many of your configure options were invalid.
Running a ./configure --help will prove to be very informative -
Everything that is enabled by default will require you meet the deps and will be built whether you want or need it.
Everything that is disabled by default will not be built unless enabled in the configure. ( though there may be some autodetection in play
( the final build I do for any particular vlc release will contain far more disables in the configure than enables.
As an example, the configure you posted could be condensed to this, the rest was either invalid or already enabled
Another Ex.Code:./configure --enable-libmpeg2 --enable-faad \ --enable-vorbis --enable-theora \ --enable-speex --enable-flac --enable-release
this is what the package vlc I did today shows, I haven't pared it or the rules, install files down yet
The configure for the same build for a ./configure, make, make install would be this (minus flagsdoug@doug-laptop:~$ vlc -vv
VLC media player 1.0.3 Goldeneye
[0x9bb2140] main libvlc debug: VLC media player - version 1.0.3 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x9bb2140] main libvlc debug: libvlc was configured with ./configure ' '--with-tuning=native' '--prefix=/usr' '--config-cache' '--enable-loader' '--disable-schroedinger' '--enable-fast-install' '--with-binary-version=1ubuntu4' '--disable-update-check' '--enable-cddax' '--enable-ggi' '--enable-sdl' '--enable-mad' '--enable-jack' '--enable-lirc' '--enable-a52' '--enable-snapshot' '--enable-aa' '--enable-dvbpsi' '--disable-fluidsynth' '--enable-mozilla' '--with-mozilla-pkg=xulrunner-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--enable-real' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--with-live555-tree=/usr/lib/live' '--enable-svgalib' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
The difference between the 2 are all the options that are enabled by default.Code:./configure --with-tuning=native --enable-loader --disable-schroedinger \ --enable-cddax --disable-fluidsynth --enable-vorbis --enable-shout \ --enable-flac --with-live555-tree=/usr/lib/live --enable-libmpeg2 \ --enable-theora --enable-twolame --enable-faad --disable-zvbi --enable-speex \ --enable-realrtsp --enable-real --enable-libass --enable-snapshop
There are basically 3 things that could cause your configure or build to error
Missing a build dependency - either provide it or disable in configure (some deps must be present
Having a too old or rarely too new a library - same as above
A compiler error - shouldn't be an issue though I have noticed gcc-4.4.1 will once and a while have a random internal error - run a make distclean and try again
A simple build would be to follow F O's guide for x264 and ffmpeg exactly except add this to ffmpeg configure
--enable-postproc
Use preferably the vlc 1.0.3 source though 1.0.2 should be ok.
Remove your current vlc and companion packages (search vlc in synaptic, remove everything from libvlc2 down
Configure as such ( the blue is for 32 bit only
If you don't wish shoutcast support or theora then remove, ect.Code:./configure --with-tuning=native --enable-loader --disable-schroedinger --enable-snapshot \ --disable-fluidsynth --enable-vorbis --enable-shout --enable-flac \ --enable-speex --enable-libmpeg2 --enable-theora --enable-twolame --enable-faad \ --disable-zvbi --enable-realrtsp --enable-real --enable-libass
As far as build deps
the attached list from my control file shows most of what is needed, a few aren't needed, there may be something or 2 missing, haven't bothered to ck. and adjust
Read thru your configure, many no's are expected, some will be a issue
Make sure there are no ffmpeg -dev packages installed, search ffmpeg in synaptic and scroll down and look, remove if found ( libavcodec-dev, libavformat-dev, ect. (7 possible
If build succeeds, after sudo make install but before running vlc..
in terminal
Code:sudo ldconfig
Last edited by mc4man; December 12th, 2009 at 09:09 AM. Reason: blue
Happily running several flavours of Ubuntu
Thanks for the tip, $PATH is as follows:
My guess is that as the default ubuntu ffmpeg package is removed earlier in the session and before installing the compiled version something broke and the system could not find ffmpeg until after a re-boot.Code:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Happily running several flavours of Ubuntu
I'm getting an error when doing the checkinstall part of ffmpeg. The error is:
I'm using Karmic 64bit.Code:cmdutils.c:568: undefined reference to `av_filter_next' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 **** Installation failed. Aborting package creation.
"smooth as seelk"
Bookmarks