need help installing VLC on FC4

*nix specific usage questions
Shved
New Cone
New Cone
Posts: 6
Joined: 26 Nov 2005 12:26
Location: Saint-Petersburg, Russia
Contact:

need help installing VLC on FC4

Postby Shved » 27 Nov 2005 01:57

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

Shved
New Cone
New Cone
Posts: 6
Joined: 26 Nov 2005 12:26
Location: Saint-Petersburg, Russia
Contact:

Postby Shved » 27 Nov 2005 16:22

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}'

jj

Postby jj » 02 Dec 2005 07:15

access=mmsh only can match with mux=asfh

don use mux =ts

stonez

Re: need help installing VLC on FC4

Postby stonez » 02 Jan 2006 09:00

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

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 04 Jan 2006 13:14

I guess he fixed the typo: "--with-ffmprg-tree" instead of "--with-ffmpeg-tree"...

D-Evil
New Cone
New Cone
Posts: 3
Joined: 18 Dec 2005 21:56

Postby D-Evil » 11 Feb 2006 15:12

Try disabling ffmpeg, I think that it isn't needed for DVB support.

josx
New Cone
New Cone
Posts: 1
Joined: 21 May 2009 16:54

Re: need help installing VLC on FC4

Postby josx » 21 May 2009 17:01

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


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests