Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] VLC not functioning as expected
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nsane95
n00b
n00b


Joined: 15 Jul 2018
Posts: 5

PostPosted: Tue Jul 31, 2018 3:28 pm    Post subject: [SOLVED] VLC not functioning as expected Reply with quote

I recently installed Gentoo (default/linux/amd64/17.0/desktop/gnome/systemd profile). After installing VLC, if I double-click on a media file, nothing happens. If I run it from a terminal as vlc <filename>, it plays the video with a minimal interface (no seekbar, menu bar and right-clicking on the player screen does not do anything).
Code:
localhost /usr/src/linux # equery list vlc
 * Searching for vlc ...
[IP-] [  ] media-video/vlc-3.0.3-r1:0/5-9

How do I get VLC to work properly?


Last edited by nsane95 on Tue Jul 31, 2018 4:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Tue Jul 31, 2018 3:54 pm    Post subject: Reply with quote

You activate qt5 use flag for the gui?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
nsane95
n00b
n00b


Joined: 15 Jul 2018
Posts: 5

PostPosted: Tue Jul 31, 2018 3:57 pm    Post subject: Reply with quote

No, since I'm using gnome I disabled qt flag in /etc/portage/make.conf. I'll enable them in package.use for VLC.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Tue Jul 31, 2018 4:22 pm    Post subject: Reply with quote

nsane95 wrote:
No, since I'm using gnome I disabled qt flag in /etc/portage/make.conf. I'll enable them in package.use for VLC.

Yes, unfortunately vlc has only the qt gui...

... and I forgot, welcome to gentoo forum
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
nsane95
n00b
n00b


Joined: 15 Jul 2018
Posts: 5

PostPosted: Tue Jul 31, 2018 4:25 pm    Post subject: Reply with quote

I see. Thanks! Loving Gentoo so far :)
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Jul 31, 2018 4:26 pm    Post subject: Reply with quote

Quote:
After installing VLC, if I double-click on a media file, nothing happens.

Right-click on the media file, choose Properties and then Open with. Choose 'vlc' and then press the 'Set a Default' button.
Back to top
View user's profile Send private message
nsane95
n00b
n00b


Joined: 15 Jul 2018
Posts: 5

PostPosted: Tue Jul 31, 2018 6:01 pm    Post subject: Reply with quote

Thanks mike155, VLC is already the default application to open the media file. As fedeliallalinea said, I was missing qt5 USE flag.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Tue Jul 31, 2018 7:44 pm    Post subject: Reply with quote

nsane95 wrote:
Thanks mike155, VLC is already the default application to open the media file. As fedeliallalinea said, I was missing qt5 USE flag.


VLC might be not the only single choice for playing videos. I've had an all-time success with mplayer for all kinds of videos. This is no ad, despite looking like one ;-) . In fact mplayer doesn't need no interface nor graphics library to play. It spares you the burden of pulling down (and compiling, which can take a yawning heck of a looong time) a bunch of QT dependencies that are required with VLC only.

Here are my use flags, FTR:
equery u mplayer:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-video/mplayer-1.3.0-r5:
 U I
 + + X                      : Add support for X11
 + + a52                    : Enable support for decoding ATSC A/52 streams used in DVD
 + + aalib                  : Add support for media-libs/aalib (ASCII-Graphics Library)
 + + alsa                   : Add support for media-libs/alsa-lib (Advanced Linux Sound
                              Architecture)
 - - bidi                   : Enable bidirectional language support
 - - bl                     : Blinkenlights video output
 - - bluray                 : Enable playback of Blu-ray filesystems
 - - bs2b                   : Enable Bauer stereophonic-to-binaural headphone filter
 + + cddb                   : Access cddb servers to retrieve and submit information
                              about compact disks
 + + cdio                   : Use libcdio for CD support (instead of cdparanoia)
 - - cdparanoia             : Enable cdparanoia (audio CD ripper) support
 - - cpu_flags_x86_3dnow    : Use the 3DNow! instruction set
 - - cpu_flags_x86_3dnowext : Use the Enhanced 3DNow! instruction set
 + + cpu_flags_x86_mmx      : Use the MMX instruction set
 + + cpu_flags_x86_mmxext   : Use the Extended MMX instruction set (a subset of SSE)
                              ([mmxext] or [sse] in cpuinfo)
 + + cpu_flags_x86_sse      : Use the SSE instruction set
 + + cpu_flags_x86_sse2     : Use the SSE2 instruction set
 + + cpu_flags_x86_ssse3    : Use the SSSE3 instruction set (NOT sse3/pni)
 - - cpudetection           : Enables runtime CPU detection (useful for binpkgs,
                              compatibility on other CPUs)
 - - debug                  : Enable extra debug codepaths, like asserts and extra
                              output. If you want to get meaningful backtraces see https:
                              //wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - dga                    : Add DGA (Direct Graphic Access) support for X
 - - doc                    : Add extra documentation (API, Javadoc, etc). It is
                              recommended to enable per package instead of globally
 + + dts                    : Enable DTS Coherent Acoustics decoder support
 - - dv                     : Enable support for a codec used by many camcorders
 - - dvb                    : Add support for DVB (Digital Video Broadcasting)
 + + dvd                    : Add support for DVDs
 + + dvdnav                 : Use forked libdvdnav, navigate menus in GUIs
 + + enca                   : Enables support for charset discovery and conversion
 + + encode                 : Add support for encoding of audio or video files
 + + faac                   : Use external faac library for AAC encoding
 - - faad                   : Use external faad library for AAC decoding
 + + fbcon                  : Add framebuffer support for the console, via the kernel
 - - ftp                    : Add FTP (File Transfer Protocol) support
 + + ggi                    : Add support for media-libs/libggi (non-X video api/drivers)
 + + gif                    : Add GIF image support
 - - gsm                    : Add support for the gsm lossy speech compression codec
 + + iconv                  : Enable support for the iconv character set conversion
                              library
 + + ipv6                   : Add support for IP version 6
 - - jack                   : Add support for the JACK Audio Connection Kit
 - - joystick               : Add support for joysticks in all packages
 + + jpeg                   : Add JPEG image support
 - - ladspa                 : Enable the ability to support ladspa plugins
 + + libass                 : SRT/SSA/ASS (SubRip / SubStation Alpha) subtitle support
 + + libcaca                : Add support for colored ASCII-art graphics
 + + libmpeg2               : Build support for mpeg2 over media-libs/libmpeg2 rather
                              than using ffmpeg.
 - - lirc                   : Add support for lirc (Linux's Infra-Red Remote Control)
 - - live                   : Enables live.com streaming media support
 + + lzo                    : Enable support for lzo compression
 + + mad                    : Add support for mad (high-quality mp3 decoder library and
                              cli frontend)
 - - md5sum                 : Enables md5sum video output
 + + mng                    : MNG input support
 + + mp3                    : Add support for reading mp3 files
 - - nas                    : Add support for network audio sound
 + + network                : Enables network streaming support
 - - nut                    : Enables support for the NUT container format
 + + openal                 : Add support for the Open Audio Library
 + + opengl                 : Add support for OpenGL (3D graphics)
 + + osdmenu                : Enables support for on-screen display (OSD) menus
 - - oss                    : Add support for OSS (Open Sound System)
 + + png                    : Add support for libpng (PNG images)
 - - pnm                    : Add PNM video output option, to create PPM/PGM/PGMYUV
                              images
 - - pulseaudio             : Add support for PulseAudio sound server
 - - pvr                    : Enable Video4Linux2 MPEG PVR
 - - radio                  : Enable V4L2 radio interface and support
 - - rar                    : Enable Unique RAR File Library
 + + rtc                    : Enables usage of the linux real time clock. The alternative
                              is software emulation of rtc
 - - rtmp                   : Enables RTMPDump Streaming Media support
 - - samba                  : Add support for SAMBA (Windows File and Printer sharing)
 + + sdl                    : Add support for Simple Direct Layer (media library)
 + + shm                    : Enable support for shm
 - - speex                  : Add support for the speex audio codec (used for speech)
 - - tga                    : Enables Targa video output
 + + theora                 : Add support for the Theora Video Compression Codec
 - - toolame                : Enable toolame MPEG-2 encoding
 - - tremor                 : Enable internal support for Vorbis
 + + truetype               : Add support for FreeType and/or FreeType2 fonts
 - - twolame                : Enable twolame MPEG-2 encoding
 + + unicode                : Add support for Unicode
 + + v4l                    : Enable support for video4linux (using linux-headers or
                              userspace libv4l libraries)
 - - vcd                    : Enables VCD support
 + + vdpau                  : Enable the Video Decode and Presentation API for Unix
                              acceleration interface
 - - video_cards_mga        : VIDEO_CARDS setting to build driver for mga video cards
 + + vorbis                 : Add support for the OggVorbis audio codec
 + + x264                   : Enable h264 encoding using x264
 - - xinerama               : Add support for querying multi-monitor screen geometry
                              through the Xinerama API
 + + xscreensaver           : Add support for XScreenSaver extension
 + + xv                     : Add in optional support for the Xvideo extension (an X API
                              for video playback)
 + + xvid                   : Add support for xvid.org's open-source mpeg-4 codec
 + + xvmc                   : Enables X-Video Motion Compensation support
 - - yuv4mpeg               : Enables yuv4mpeg video output
 - - zoran                  : Enables ZR360[56]7/ZR36060 video output

Just my 2¢.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Tue Jul 31, 2018 8:13 pm    Post subject: Reply with quote

I used to use mplayer, still have it on my system.
Tried vlc was not impressed with the stability.
Have xine but only use it every once in a while.

Moved on to mpv (fork of mplayer and mplayer2) but better than both as it's being rapidly developed.
There isn't much that I've seen it not be able to play, even has a (simple) gui built in, though one can use smplayer (qt app) as a gui for it if one desires.
It's now my primary video player and audio player for mp3's on my system.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
nsane95
n00b
n00b


Joined: 15 Jul 2018
Posts: 5

PostPosted: Wed Aug 01, 2018 12:11 pm    Post subject: Reply with quote

I mainly prefer VLC for the GUI, and as you said mpv also requires qt for GUI. So I guess I will stay with this for now. Anyways I don't mind the extra space.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Wed Aug 01, 2018 1:18 pm    Post subject: Reply with quote

nsane95 wrote:
I mainly prefer VLC for the GUI, and as you said mpv also requires qt for GUI. So I guess I will stay with this for now. Anyways I don't mind the extra space.

For mpv there is gtk+ gui media-video/gnome-mpv
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Aug 10, 2018 12:25 pm    Post subject: Reply with quote

Anon-E-moose wrote:
Moved on to mpv (fork of mplayer and mplayer2) but better than both as it's being rapidly developed.
There isn't much that I've seen it not be able to play, even has a (simple) gui built in, though one can use smplayer (qt app) as a gui for it if one desires.
It's now my primary video player and audio player for mp3's on my system.

I learnt something new today 8) ! Thanks.

nsane95 wrote:
I mainly prefer VLC for the GUI, and as you said mpv also requires qt for GUI.

No, it doesn't. It's smplayer that depends on qt, as Anon-E-moose said. But you'll see that when you
Code:
emerge mpv
on a Qt-less system...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum