Page 1 of 1

Cannot compile VLC with Flac decoder support!

Posted: 01 Jan 2004 00:30
by Guest
Hi Guys, I've got a problem here. I trying to compile CVS snapshot 20031230 to achieve my ultimate goal of FLAC within an OGG container file. I have compiled after creating makefiles with the following command line:
./configure --enable-flac --disable-ffmpeg --disable-dvd --disable-libmpeg2 --enable-debug --enable-sout --enable-ogg --enable-vorbis


I come accross a problem: The VLC executable I create then claims it doesn't know how to decode FLAC streams! It confuses me greatly. Am I compiling wrong? Do I need to download the libraries for FLAC and the other stuff? Thanks.

Some of the debug messages follow:


[00000091] main module debug: using demux module "ogg"
[00000265] ogg input debug: found Flac header
[00000265] ogg input debug: beginning of a group of logical streams
[00000265] ogg input debug: Flac header, channels: 2, rate: 44100
[00000265] main input debug: selecting ES 0x1
[00000268] main decoder debug: looking for decoder module
[00000268] main decoder debug: probing 12 candidates
[00000268] main decoder error: no suitable decoder module for fourcc `flac'.
VLC probably does not support this sound or video format.
[00000268] main decoder debug: killing decoder fourcc `flac', 0 PES in FIFO
[00000266] main interface debug: thread 65541 (manager) created at priority 0 (src/interface/interface.c:145)

whoops

Posted: 01 Jan 2004 00:33
by CalgaryCodeBoy
Sorry guys for posting as a guest.
I'm actually the one that started this thread.

Posted: 01 Jan 2004 12:34
by BigBen
Looks as if there was a problem with your flac intsallation.

Couls you have a look at the results of the configure script, and check whether it detects flac headers correctly.

You couls also try vlc -L, and check whether the flac module has been compiled

Posted: 01 Jan 2004 23:27
by CalgaryCodeBoy
Hi Bigben, thanks for the reply.

Here's what comes out of running configure:

checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes

But when I run ./vlc --list, all I see is the FLAC demuxer, but no FLAC decoder.
Its very odd I think.

Posted: 02 Jan 2004 21:21
by CalgaryCodeBoy
Am I the only one with this problem?
Has anybody else looked into it?

I'm using Mandrake 9.2