LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-22-2019, 06:31 AM   #1
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 138

Rep: Reputation: 2
vlc not playing video


hi to all, I've centos 6.4 in VM. I installed vlc using yum. but it is not playing displays only 1st frame. no motion.
Code:
# rpm -ivh --force  epel-release-latest-6.noarch.rpm
# rpm -ivh --force  nux-dextop-release-0-1.el6.nux.noarch.rpm
# yum install vlc
Code:
[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
 
Old 10-22-2019, 07:08 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by rahulvishwakarma View Post
hi to all, I've centos 6.4 in VM. I installed vlc using yum. but it is not playing displays only 1st frame. no motion.
Code:
# rpm -ivh --force  epel-release-latest-6.noarch.rpm
# rpm -ivh --force  nux-dextop-release-0-1.el6.nux.noarch.rpm
# yum install vlc
Code:
[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?
 
Old 10-22-2019, 08:13 AM   #3
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 138

Original Poster
Rep: Reputation: 2
i played mp4 files by just drag and drop and also by open media->filename.mp4 . yes i clicked play button.
 
Old 10-22-2019, 08:16 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by rahulvishwakarma View Post
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?
 
Old 10-22-2019, 08:17 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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
 
1 members found this post helpful.
Old 10-23-2019, 03:12 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
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.
 
Old 10-25-2019, 03:47 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Sorry but what's the point of playing videos in a VM.
Also, I'm pretty sure that would cause huge performance problems on my machines.

Have you tried other media players? mpv? mplayer?

Show us some output.
 
  


Reply

Tags
vlc


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 media player not playing video, but playing sound Stev8 Ubuntu 2 11-10-2017 03:43 PM
Screen capture while playing video yields to blue window where video is playing kayasaman Linux - Desktop 10 01-19-2012 09:54 AM
vlc playing the audio only and not showing the video arunpandey200 Linux - Newbie 2 09-03-2011 09:30 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
Install VLC on Fedora 7, but not playing any video ufmale Linux - Software 4 11-22-2008 02:19 AM

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

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