Could not find ffmpeg/libavcodec headers

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Could not find ffmpeg/libavcodec headers

Postby fishinlove » 16 Jan 2006 07:32

HI everybody:

when i compile the svn vls appear this error,
Could not find ffmpeg/libavcodec headers
the ffmpeg is cvs .

fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Postby fishinlove » 17 Jan 2006 13:45

Anybody know?

fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Postby fishinlove » 25 Jan 2006 09:32

it is very important to me .

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Jan 2006 13:03

use --with-ffmpeg-tree=/full/path/to/ffmpeg on vlc configure.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Postby fishinlove » 26 Jan 2006 06:16

no can't work i compile the vls .
my complie command line is :
./configure --enable-v4l --disable-dvd --with-ffmpeg=/home/tonny/workspace/ffmpeg

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 26 Jan 2006 13:37

vlc ? or vls ?!?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Postby fishinlove » 31 Jan 2006 07:22

vls

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Jan 2006 13:42

AFAIK vls doesn't use ffmpeg. I don't see why it would complain.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

abr
New Cone
New Cone
Posts: 1
Joined: 15 Oct 2006 03:12
Contact:

Re: Could not find ffmpeg/libavcodec headers

Postby abr » 15 Oct 2006 03:25

HI everybody:

when i compile the svn vls appear this error,
Could not find ffmpeg/libavcodec headers
the ffmpeg is cvs .
Ok. I have beeing working into getting vls running with v4l support. After trying to compile it with ffmpeg-0.4.9 (current svn) I have realized something has changed from the previous version 0.4.8 that prevents me from compiling it and causing the issue with the avcodec.h.

So in order to compile VLS with v4l support under Fedora Core 5 (fc5). You have to download and compile ffmpeg-0.4.8, not 0.4.9.

After getting ffmpeg compiled you should edit the file VLS_HOME/src/modules/v4lreader/v4lreader.cpp and modify the line number 60, in the next way:
#include <ffmpeg/avcodec.h> //for palette
(Because the FC5 installation of the ffmpeg install this under /usr/local/include/ffmpeg not under include directly)

Also notice that for getting vls running properly under FC5, gcc32 should be used (not gcc_v4). In order to do that you have to install the backward gcc version compatibility (gcc32) and then run the vls configure script in the next way:

CC=/usr/bin/gcc32 CXX=/usr/bin/g++32 ./configure --enable-v4l --disable-dvd --disable-dvb --disable-asi --with-ffmpeg=/workspace/mm//ffmpeg-0.4.8

where /workspace/mm/ffmepg-0.4.8 is the folder where you have downloaded and compiled the ffmpeg (v0.4.8) source code.

Now vls is working properly for me, with v4l support under FC5.

Hope helps.

Regards.


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 13 guests