Page 1 of 1

FYI, configuration ffmpeg for vlc.

PostPosted: Jul 7th, '12, 03:41
by mmix
if vlc compilation failed with follow message,

version node not found for symbol av_XXX@LIBAVFORMAT_5X
ld: failed to set dynamic section sizes: Bad value


then try this
Code: Select all
cd ffmpeg
vi config.h

#define HAVE_SYMVER 0
#define HAVE_SYMVER_ASM_LABEL 0
#define HAVE_SYMVER_GNU_ASM 0



or
Code: Select all
--disable-symver


http://stackoverflow.com/questions/3132 ... for-symbol

Re: FYI, configuration ffmpeg for vlc.

PostPosted: Jul 7th, '12, 16:23
by doktor5000
FWIW, what version of vlc are you trying to compile, and under which version of Mageia?

Re: FYI, configuration ffmpeg for vlc.

PostPosted: Jul 8th, '12, 01:54
by mmix
vlc 2.1.0-git or 2.0.2 in mageia 3(gcc-4.7.1).
compiled fine, but when i try to install, it didn't works.

# make install
vlc-cache-gen ...
main libvlc error: No plugins found! Check your VLC installation.


ATM, just installed it from mageia repository.

Re: FYI, configuration ffmpeg for vlc.

PostPosted: Jul 8th, '12, 15:01
by doktor5000
How did you compile it? I.e. which configure options were used?

Re: FYI, configuration ffmpeg for vlc.

PostPosted: Jul 9th, '12, 12:39
by mmix
glad ask to me.

Code: Select all

[ffmpeg configure]
$ ./configure --prefix=/usr/ --libdir=/usr/lib64 --enable-shared --enable-pthreads --enable-gpl --enable-postproc --enable-x11grab --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid --disable-symver

[vlc configure]
$ ./configure --prefix=/usr/ --libdir=/usr/lib64 --disable-lua --disable-mad --disable-a52 --enable-pulse


[TIP] vlc on F17
http://forums.fedoraforum.org/showthread.php?t=280220

it worked fine on F17(x86_64), but something is different on mageia.

Re: FYI, configuration ffmpeg for vlc.

PostPosted: Jul 9th, '12, 19:46
by doktor5000
Is there any particular reason why you compile ffmpeg and vlc yourself? Maybe it's easier to use the source packages of the distro, and just update those and do a rebuild, that way you would avoid issues like you posted above ...