LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2015, 06:55 PM   #1
standards
Member
 
Registered: May 2015
Posts: 54

Rep: Reputation: Disabled
Exclamation VLC says missing codec h264 on CentOS/Rhel 7


Whenever I play a video in VLC,it says:
VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.
The audio works though but not the video
 
Old 05-10-2015, 10:51 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
h264 is proprietary patented video codec. So you to have purchase the rights. There is opensource codec/package x264 to play this.
 
Old 05-11-2015, 01:21 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
did you fallow the instructions on the cent Wiki ?

http://wiki.centos.org/TipsAndTricks...mediaOnCentOS7

and install the third party repos that have the media files
( by law the HD TV codec and not be redistributed in Cent without a very expensive license )
BUT
other country's might not require that

the "gstreamer" files should cover it

also have a look at the fedora "Mjwired" guide
http://www.mjmwired.net/resources/mj...l#mediaplayers
Most of that can be ported to CentOS
-- BUT YOU HAVE TO USE THE CENT VERSIONS !!! not the fedora files
 
Old 05-11-2015, 04:48 PM   #4
standards
Member
 
Registered: May 2015
Posts: 54

Original Poster
Rep: Reputation: Disabled
Still not working
 
Old 05-11-2015, 08:56 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
i will not be using 7 for a long time
( the software I NEED!!! is for rhel6 )

Did you install VLC2 from the "nux" and "EPEL" repos

or

did you try to use the very old RHEL5 version from
http://www.videolan.org/vlc/download-redhat.html

this one is the old VLC0.9 ( aka 1 )
the version in the nux repo is the current VLC2
 
Old 05-12-2015, 05:49 AM   #6
standards
Member
 
Registered: May 2015
Posts: 54

Original Poster
Rep: Reputation: Disabled
I inaralled VLC2 from the "nux" and "EPEL" repos
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VLC (and Dragon Player) can no longer use H264 codec jdkaye Debian 1 07-12-2013 01:18 AM
VLC h264 error rng Linux - General 18 06-06-2013 10:52 PM
Streaming mp4 (with h264) via Debain server with VLC shorto Linux - Server 1 09-20-2011 09:50 PM
mp3 codec/vlc rhel 6 jwenzel09 Red Hat 3 04-13-2011 02:01 PM
[SOLVED] totem complains its missing an H264 codec mike11 Linux - Newbie 3 03-29-2011 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration