LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-15-2017, 12:22 AM   #1
OldUnixUser
LQ Newbie
 
Registered: Jun 2017
Location: Arizona
Posts: 9

Rep: Reputation: Disabled
Video players


How can I play .mp4 files?
 
Old 06-15-2017, 12:42 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Welcome to LQ, OldUnixUser.

Most distros have a default video player. If you let us know which distro (and version) you are running, and which desktop environment you are using, then that will provide us with better information to answer your question.
 
Old 06-15-2017, 11:26 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You need the media codecs installed. Because they are patented in the USA, distros connected with companies that are suable there (e.g. Fedora, OpenSUSE) leave you to get them yourself. If your media player says it can't play mp4, you may be in that situation. Searching on-line for something like "fedora media codecs" will point you in the right direction. Otherwise, tell us your situation and we'll do our best to help.

As hydrurga pointed out, it does help if you display your distro as we do.
 
Old 06-15-2017, 11:57 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
or you could install VLC, how you do that is different from distro to distro, but VLC plays nearly everything without the need for additional codecs.
 
Old 06-15-2017, 11:16 PM   #5
OldUnixUser
LQ Newbie
 
Registered: Jun 2017
Location: Arizona
Posts: 9

Original Poster
Rep: Reputation: Disabled
I am using SUSE LEAP 42.1 with all current updates. I am using the current version
of Firefox.

When I attempt to play an .mp4 file (that I have received via email), the Dragon
player opens but will not recognize or play the file.

What is a VLC?

My background: BS in Software Engineering. Retired for 10 years.

I programed SCO and SUN Unix in various languages for over 30 years and taught
College courses in both of those operating systems as well as all of the Unix
shell script languages...also ADA, C, Perl, and Java. But I am new to Linux and
using Unix/Linux and very new to using it as my primary internet OS....went to
it after screwing everything up by loading that WIN-10 piece of garbage.
 
Old 06-15-2017, 11:33 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ avprobe file.mp4

or

$ ffprobe file.mp4

Chances are that it's h.264 codec wise, so you'll need to install the x264 stuff.

$ sudo apt-get install x264 libx264

You probably only need ONE of those and of course SuSE is YUM based, so different package manager and probably different package names.

https://software.opensuse.org/package/libx264
 
Old 06-16-2017, 11:36 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
As I said, OpenSUSE is one without the codecs and the repository version of VLC is no different. You can get VLC with support built in, though:
https://en.opensuse.org/VLC_media_player

Or you can get the codecs separately and use any player, which probably makes more sense:
http://opensuse-guide.org/codecs.php
 
  


Reply



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
Video players datachick01 Linux - Software 5 08-23-2014 07:28 AM
All Video players crashing on running any video content Nabeel Ubuntu 2 07-23-2011 01:34 PM
Video players. democaff Linux - Newbie 3 12-30-2010 10:03 AM
Video players gabebster Linux - Software 2 07-23-2003 12:21 PM
Video Players help Mack Linux - Software 2 01-12-2003 05:21 PM

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

All times are GMT -5. The time now is 01:04 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