How to install VLC on CentOS 5.4

*nix specific usage questions
erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

How to install VLC on CentOS 5.4

Postby erotavlas_turbo » 10 Feb 2010 18:32

Hi,

I'm trying to install VLC on CentOS 5.4. I have enabled EPEL repository but it contains an older VLC version.
So I would like to install VLC from source code but I get this error

Code: Select all

checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for buggy GNU/libc versions... found configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and be sure to not use LibVLC from other applications/wrappers.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: How to install VLC on CentOS 5.4

Postby xtophe » 10 Feb 2010 23:28

The error message gives you the solution
Xtophe

erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Re: How to install VLC on CentOS 5.4

Postby erotavlas_turbo » 11 Feb 2010 09:05

The command that I would to use is this

Code: Select all

/usr/bin/vlc-wrapper /home/tore/Scrivania/appconference_modificato/temp/DummyUser_image.jpg --fake-duration 7200000 --sout '#transcode{vcodec=H263p,vb=1000,width=352,height=288,acodec=none}:duplicate{dst=rtp{dst=192.168.179.128,port-audio=15542,port-video=19296}}' vlc://quit
What is the best solution --disable-nls --disable-mozilla and
be sure to not use LibVLC from other applications/wrappers or install newer version of update the
glibc run-time ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to install VLC on CentOS 5.4

Postby Rémi Denis-Courmont » 11 Feb 2010 16:20

glibc 2.9 or later is recommended for VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Re: How to install VLC on CentOS 5.4

Postby erotavlas_turbo » 11 Feb 2010 17:19

My distribution CentOS 5.4 has 2.5-2.7 glibc...I think that I can't update him. So I can't install VLC :(

kpyx21
New Cone
New Cone
Posts: 1
Joined: 21 Mar 2010 07:21

Re: How to install VLC on CentOS 5.4

Postby kpyx21 » 21 Mar 2010 07:26

Hi,

I can installed it using RPMforge, just update your repository to RPMforge and run yum install vlc.

That's all

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to install VLC on CentOS 5.4

Postby Rémi Denis-Courmont » 26 Mar 2010 22:55

To reiterate, the error message provides the solution to the problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Re: How to install VLC on CentOS 5.4

Postby xiaobei » 26 Jun 2010 05:44

hi all,
I use RPMforge to have 0.9.9a for those versions on CentOS 5.4,just run yum install vlc!
It is ok ,besides transcoding to mp2v.
command as:
cvlc -vvv /home/provideo/Spider-man_3_trailer_720p.mpg --sout '#transcode{vcodec=mp2v,vb=4096,scale=1,fps=25,acodec=mpga,ab=128,channels=2,venc=ffmpeg{keyint=40,hurry-up=4,deinterlace,vt=800000}}:duplicate{dst=std{access=udp,mux=ts,url=192.168.0.39:1234}}'

I get this error:

[00000519] avcodec encoder error: cannot open encoder
[00000519] main encoder warning: no encoder module matching "ffmpeg" could be loaded
[00000519] main encoder debug: TIMER module_Need() : 5.534 ms - Total 5.534 ms / 1 intvls (Avg 5.534 ms)
[00000434] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v)
[00000518] main decoder debug: removing module "libmpeg2"
[00000434] stream_out_transcode stream out error: cannot create video chain
[00000517] main packetizer error: cannot create packetizer output (mpgv)
....

It is very strange,I can transcode to mp4v and h264 and so on. Why it clue to that it don't find ffmpeg? I just run yum install vlc,and I notice ffmpeg installed.
Who can help me!

Thanks!

crotalus
New Cone
New Cone
Posts: 8
Joined: 25 May 2008 12:31

Re: How to install VLC on CentOS 5.4

Postby crotalus » 26 Jun 2010 12:30

ATrpms has always the lastest version of vlc for Rhel5/CentOS.

Version 1.0.6 is available here:

http://atrpms.net/dist/el5/vlc/


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

Who is online

Users browsing this forum: No registered users and 0 guests