LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vlc not playing video (https://www.linuxquestions.org/questions/linux-software-2/vlc-not-playing-video-4175662955/)

rahulvishwakarma 10-22-2019 06:31 AM

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

TB0ne 10-22-2019 07:08 AM

Quote:

Originally Posted by rahulvishwakarma (Post 6049526)
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?

rahulvishwakarma 10-22-2019 08:13 AM

i played mp4 files by just drag and drop and also by open media->filename.mp4 . yes i clicked play button.

TB0ne 10-22-2019 08:16 AM

Quote:

Originally Posted by rahulvishwakarma (Post 6049553)
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?

jsbjsb001 10-22-2019 08:17 AM

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.

jefro 10-23-2019 03:12 PM

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.

ondoho 10-25-2019 03:47 AM

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.


All times are GMT -5. The time now is 10:16 AM.