Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[rahul@centos64client ~]$ yum info vlc
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* nux-dextop: li.nux.ro
* remi-safe: remi.schlundtech.de
* updates: centos.excellmedia.net
Installed Packages
Name : vlc
Arch : x86_64
Version : 2.1.6
Release : 2.el6.nux
Size : 3.9 M
Repo : installed
From repo : nux-dextop
Summary : The cross-platform open-source multimedia framework, player and
: server
URL : http://www.videolan.org
License : GPLv2+
Description : VLC media player is a highly portable multimedia player and
: multimedia framework capable of reading most audio and video
: formats as well as DVDs, Audio CDs VCDs, and various streaming
: protocols. It can also be used as a media converter or a server to
: stream in uni-cast or multi-cast in IPv4 or IPv6 on networks.
[rahul@centos64client ~]$ yum info vlc
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* nux-dextop: li.nux.ro
* remi-safe: remi.schlundtech.de
* updates: centos.excellmedia.net
Installed Packages
Name : vlc
Arch : x86_64
Version : 2.1.6
Release : 2.el6.nux
Size : 3.9 M
Repo : installed
From repo : nux-dextop
Summary : The cross-platform open-source multimedia framework, player and
: server
URL : http://www.videolan.org
License : GPLv2+
Description : VLC media player is a highly portable multimedia player and
: multimedia framework capable of reading most audio and video
: formats as well as DVDs, Audio CDs VCDs, and various streaming
: protocols. It can also be used as a media converter or a server to
: stream in uni-cast or multi-cast in IPv4 or IPv6 on networks.
how to play videos
Would help if you said what you did to play them. What did you type in/run/click??? What type of video file was it?? Did you install the VLC codecs? Any details at all???
If you got a single frame up, did you click the PLAY button?
i played mp4 files by just drag and drop and also by open media->filename.mp4 . yes i clicked play button.
Ok...so do the videos play in any other application? Have you tried playing them from the command-line with "vlc <filename>", to see what messages come up? Are you sure the videos aren't corrupt?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
If by "but it is not playing displays only 1st frame. no motion." you mean that it starts playing the video then stops, it would sound more like a 3D graphics related issue of some kind. Either way, TB0ne's right, you need to provide far more information for us to be able to help.
If you have the nux-dextop repository enabled and yum didn't flag any errors when installing the VLC package, then codecs should have also been installed by default, particularly since you say it's displaying the first frame of the video you're trying to play.
If I'm right about your situation so far, then please provide the following information in full;
The output of,
Code:
cat /var/log/Xorg.0.log
and we'll go from there.
Also, since you're running CentOS in a VM, this may very well be the reason for your problems.
PS: CentOS 6.x is getting old, so you might also consider updating to the latest version of CentOS.
Last edited by jsbjsb001; 10-22-2019 at 08:20 AM.
Reason: didn't realize OP was running in a VM
There was some setting on VLC that could cause this. Sorry I forget exactly what the change in setting is. Some reference to how it uses video. Seems to me it was easily found and didn't require using advanced menus. Like right click on video and scroll down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.