Page 1 of 1

need help installing VLC on FC4

Posted: 27 Nov 2005 01:57
by Shved
hi

i was trying all day long to install vlc with dvb support on my fc4 box.

can't compile it says:

checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.


i am usong this options to compile:

./configure --prefix=/opt/vls --enable-dvb --with-dvb=/usr/src/linux/ --with-dvbpsi=/root/vls/libdvbpsi3-0.1.4/ --disable-mad --with-ffmprg-tree=/root/ffmpeg-0.4.9-pre1/ --enable-shared --enable-shared-pp --enable-pp --enable-gpl


all i need is VLC to multicast/unicast several video streams from sattelite (using dvb card).

extra. when trying to compile ffmpeg this is what i get:

[root@tv ffmpeg-0.4.9-pre1]# make
make -C libavcodec all
make[1]: Entering directory `/root/ffmpeg-0.4.9-pre1/libavcodec'
gcc -O3 -g -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
from common.c:28:
common.h:67: error: array type has incomplete element type
common.h:71: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/root/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2



please help

Posted: 27 Nov 2005 16:22
by Shved
ok i have this fixed

new problem now:

i am trying to stream from DVB to media player via http. video is ok, but there is no sound.

this is my config:


#!/bin/bash
/opt/vlc/bin/vlc --color --ttl 12 --ts-es-id-pid --programs=8208 \
dvb: --dvb-frequency=12597000:polarization=v:srate=27500000:voltage=13 --sout-standard-access=mmsh --sout-standard-mux=ts \
--sout '#transcode{vcodec=DIV3,vb=4096,scale=1,acodec=mp3,ab=128,channels=2}:std{access=mmsh,mux=asfh,url=:8080}'

Posted: 02 Dec 2005 07:15
by jj
access=mmsh only can match with mux=asfh

don use mux =ts

Re: need help installing VLC on FC4

Posted: 02 Jan 2006 09:00
by stonez
Hi,
would you please tell me how did you fixed the compile error?
I have been working on this for a long time, but couldn't find a answer.
Thanks!

Stonez

hi

i was trying all day long to install vlc with dvb support on my fc4 box.

can't compile it says:

checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.


i am usong this options to compile:

./configure --prefix=/opt/vls --enable-dvb --with-dvb=/usr/src/linux/ --with-dvbpsi=/root/vls/libdvbpsi3-0.1.4/ --disable-mad --with-ffmprg-tree=/root/ffmpeg-0.4.9-pre1/ --enable-shared --enable-shared-pp --enable-pp --enable-gpl


all i need is VLC to multicast/unicast several video streams from sattelite (using dvb card).

extra. when trying to compile ffmpeg this is what i get:

[root@tv ffmpeg-0.4.9-pre1]# make
make -C libavcodec all
make[1]: Entering directory `/root/ffmpeg-0.4.9-pre1/libavcodec'
gcc -O3 -g -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
from common.c:28:
common.h:67: error: array type has incomplete element type
common.h:71: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/root/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2



please help

Posted: 04 Jan 2006 13:14
by ipkiss
I guess he fixed the typo: "--with-ffmprg-tree" instead of "--with-ffmpeg-tree"...

Posted: 11 Feb 2006 15:12
by D-Evil
Try disabling ffmpeg, I think that it isn't needed for DVB support.

Re: need help installing VLC on FC4

Posted: 21 May 2009 17:01
by josx
To solve the problem with:

Code: Select all

common.h:67: error: array type has incomplete element type common.h:71: error: array type has incomplete element type


You have to compile ffmpeg-0.4.9-pre1 you need to do it with gcc-3.3