LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-20-2022, 04:59 AM   #1
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 138

Rep: Reputation: 2
Codec not supported: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))


i've centos 7. i installed vlc 3, but having this problem, I installed vlc via yum but problem is
not solved. sound is comming but video is not running.

Codec not supported:
VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))

which codec should i install to decode video stream.
 
Old 08-20-2022, 11:10 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
First make sure that you have enabled EPEL.
https://www.redhat.com/en/blog/whats...ow-do-i-use-it
Then
Code:
# yum install gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly
If you still have video problems, try this repository:
https://rpmfusion.org/
 
Old 08-20-2022, 11:31 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,730

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by rahulvishwakarma View Post
i've centos 7. i installed vlc 3, but having this problem, I installed vlc via yum but problem is not solved. sound is comming but video is not running.
Code:
Codec not supported: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
which codec should i install to decode video stream.
Again, as with most of your threads over the past TWELVE YEARS, you omit important details. How did you install it?? What command?? What was the output?? What 'problem is not solved'? If it's the *VERY CLEAR* error message of h264/MPEG-4...would that not tell you exactly what you should install??? Did you not read/understand that message???

If you just put "centos 7 h264 codec" into Google, it would give you as the *VERY FIRST HIT*:
https://linuxconfig.org/how-to-insta...centos-7-linux

...instructions on how to do exactly what you need. Did you do any research/show any effort of your own???

Last edited by TB0ne; 08-21-2022 at 05:03 PM.
 
Old 08-22-2022, 11:53 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
@TBOne. You need to calm down! Yes, some people find computers and software confusing, and are not good at finding information, but that's no reason to be rude. I see too much of this sort of thing. I don't know if it's the elitism of an older generation of Linux users (it's common with Debian and Slackware users) or just the intolerance one associates with the USA, but I'm tired of it.
 
3 members found this post helpful.
Old 08-22-2022, 12:01 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,730

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by DavidMcCann View Post
@TBOne. You need to calm down! Yes, some people find computers and software confusing, and are not good at finding information, but that's no reason to be rude. I see too much of this sort of thing. I don't know if it's the elitism of an older generation of Linux users (it's common with Debian and Slackware users) or just the intolerance one associates with the USA, but I'm tired of it.
Perfectly calm thanks. And there is "not good at finding information", and there is "don't bother looking, and ask for a handout instead". Feel free to check out the OP's posting history for the past *TWELVE YEARS*. Look at the message here...can you honestly say, given what's posted, that there wasn't a search term there? They said:
  • CentOS 7
  • VLC
  • h264
  • codec
Just those things give the exact answer. I never mind giving a hand up, but I certainly am tired of giving handOUTS. This isn't a help desk...people need to show some efforts of their own, especially someone who claims to be teaching, has twelve years experience, and is a C/C++ programmer. Not talking about a new user here. Or where the OP asked about codecs eight years ago, with a similar problem, and didn't bother following up:
https://www.linuxquestions.org/quest...-a-4175519394/

...or a similar one from three years ago:
https://www.linuxquestions.org/quest...eo-4175662955/

Spout off about 'intolerance' all you want, but at some point, people need to do at least SOMETHING for themselves. Doing an Internet search just isn't that hard.

Last edited by TB0ne; 08-22-2022 at 12:06 PM.
 
2 members found this post helpful.
Old 08-22-2022, 03:00 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,011

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
https://reolink.com/blog/how-to-play-h264-files-in-vlc/

Could the files you have come from a security camera?
 
Old 08-22-2022, 05:08 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,730

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by jefro View Post
https://reolink.com/blog/how-to-play-h264-files-in-vlc/
Could the files you have come from a security camera?
H.264 is a widely distributed/known format. Can be in anything from a Matroska format file (MKV) to an MP4 file.
https://en.wikipedia.org/wiki/Advanced_Video_Coding

No matter where they come from, H.264 files need the same codec.
 
Old 08-22-2022, 06:50 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,011

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I've usually not had any issue playing files under VLC.
Generally it is the best. However Cento isn't a good base OS since it isn't designed for media.


Read the link I posted for some tips.

https://www.loc.gov/preservation/dig...dd000081.shtml

Last edited by jefro; 08-22-2022 at 07:09 PM.
 
  


Reply

Tags
centos 7, vlc



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
procmailrc decode data from base64 encoded emails - trying to decode with uudeview garyrickert Linux - Software 6 10-06-2015 03:41 PM
VLC says missing codec h264 on CentOS/Rhel 7 standards Linux - Software 5 05-12-2015 05:49 AM
[SOLVED] VLC (and Dragon Player) can no longer use H264 codec jdkaye Debian 1 07-12-2013 01:18 AM
VIDEOLAN VLC MEDIA H264 Decoder ND mpeg-4AAC DECODERS avizos@yahoo.co.uk Linux - Newbie 2 01-05-2013 01:21 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM

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

All times are GMT -5. The time now is 02:26 PM.

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