[vlc-devel] build error with ffmpeg
webmail.hce at gmail.com
Thu Jun 26 03:23:12 CEST 2008
On Wed, Jun 25, 2008 at 6:58 PM, KH KH <kwizart at gmail.com> wrote:
> 2008/6/25 hce <webmail.hce at gmail.com>:
>> On Tue, Jun 24, 2008 at 7:27 PM, KH KH <kwizart at gmail.com> wrote:
>>> 2008/6/24 hce <webmail.hce at gmail.com>:
>>>> I've just downloaded vlc 0.8.6h source tarball and compiled in FC7:
>>>> ./configure --prefix=/home/work/Tools/VLC/Install
>>>> There was a configure: error: "Your FFmpeg library doesn't have the
>>>> needed img_resample() function. You should rebuild it with software
>>>> scaler disabled". I also svn ffmpeg and built the ffmpeg without
>>>> "--enable-swscale software scaler support [default=no]". The software
>>>> scaler was disabled, but why the vlc build still got that error? How
>>>> can I fix it?
>>> As it is told, you need to re-enable the deprecated img_resample
>>> functions by using --disable-swscale in a recent ffmpeg snapshot.
>> I tried ./configure --help in ffmpeg before I post here, it could not
>> find ffmpeg supported -disable-swscale. But anyway it worked with
>> -disable-swscale, that problem has been resolved.
>> The next, it had following errors in make:
>> /VLC/ffmpeg/libavformat/matroskadec.c:1023: undefined reference to
>> /VLC/ffmpeg/libavformat/matroskadec.c:1032: undefined reference to
>> /VLC/ffmpeg/libavformat/matroskadec.c:1035: undefined reference to
>> What could be I missing?
> Linking statically alsways produce weirdness, in this case you will
> need to add --enable-ffmpeg-mastroska or else.
> But if you take the ffmpeg*src.rpm, (from lvn8 which has swscale
> disabled) you will have a shared version. And libraries dependencies
> will be sorted more accurately.
I've tried to add --enable-ffmpeg-mastroska, but did not work. I used
svn ffmpeg source code, and built the ffmpeg from the current source
tree. As part of VLC learning process, I would like to build VLC and
libraries from the source code, not from rpm. I understand that the
biz2 library is not linked, any help to give me a clue on how I can
modify the VLC build process to link the biz2 library and to fix that
>>> On the other hand, Fedora 7 is also deprecated since one month after
>>> Fedora 9 is out, so you can also consider to upgrade to a supported
>>> Fedora version where vlc 0.8.6h is available.Longer support is made
>>> available via CentOS (but no vlc pre-built package until rpmfusion.org
>>> is up)
>> Ok, I am going to install the latest version of CentOS 5.2, should
>> that version of CentOS 5.2 be supported by VLC?
> They is no "support" from the VideoLAN team from any other pre-build
> package exept from their own, but if you ask if it will works, then
> yes it should.
I would like to build all source code, not using any pre-build packages.
> The best way to have vlc on CentOS is to rebuild src.rpm from livna 8
> or 9 to CentOS, you can either build using mock (in chroot - which is
> the best way), or use rpmbuild --rebuild any_package.src.rpm. But you
> may probably need to tweak the spec file to fit your needs. (most of
> them won't need to be tweaked)
Is it possible just to build the VLC and libraries from the native
source code, rather than using any rpm or rpm build process?
Thank you Nicolas.
> Nicolas (kwizart)
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel