[QMPlay2] can read can't play ogv files

Greetings !!

I can play ogv files using root user in command line

http://paste.opensuse.org/65712080

But if I try with QMPlay2 using kde… it won’t (???)

The user “hurukan” is member of video group…

http://paste.opensuse.org/7727671

I have no idea what is going on… it is not a codec issue as the player could play it using command line… under “root” user.

Any ideas ?

And the User is in the group root.

adding an ordinary user in the root group is a sure way to bork your system
try adding a new user which would be in the users group
and try playing an ogg file if there is an error maybe post the console output inside the code tags no need for images

how in heck did you manage that
by default X is blocked to root user what did you do to get a video player running with root privileges and why did you do that
ogv is a container not a codec meaning you need extra codecs some of them might be patented and not included in the main open source distributiion
btw that screen shot does not show qmplay2 playing anything it just shows console output
have you done a full vendor change to packman?
and by all means undo all you did to allow root graphical access and putting regular users in root group

ps even the QMPlay2 wiki recommends using packman’s build of QMP2
https://github.com/zaps166/QMPlay2#easy-installation-on-opensuse-leap-423
ps ps tell us your repo list

zypper lr -d

The output shows the command line I used to let the application playing the file I wanted, I would have added the fact that the player could not open mpg files as well as 3gp…

It would completly be absurd to make a screenshot of something showing nothing (a black screen with “stopped” written in the bottom of the window) ^^

by default X is blocked to root user what did you do to get a video player running with root privileges and why did you do that
ogv is a container not a codec meaning you need extra codecs some of them might be patented and not included in the main open source distributiion
btw that screen shot does not show qmplay2 playing anything it just shows console output
have you done a full vendor change to packman?
and by all means undo all you did to allow root graphical access and putting regular users in root group

??? I always used kde (X11) with root user what is extraordinary in the fact that I used root in X or using a terminal ?
I never wanted to use VLC as a player because it never launched using root… so I used QMPlay and the other media players available ^^

I think the fact root user is in the video group may explain things but I’m not sure at all the X is blocked to root user as it is launched by root when run level 5 is hit (systemd -> default-target).

If I remember right, kde is a desktop environment based on X11 protocol…
http://paste.opensuse.org/10730619
…so the user root may not be blocked to X – that is a non sense as systemd that finally launches X has a uid of 0 (zéro <-> root) – ^-0

zypper gives…
http://paste.opensuse.org/33987249

I’ll check for the QMPlay elements on github… thank you.

I wasn’t quite clear
running GUI applications in a root console by default is blocked in opensuse, if you want to run a GUI app as root from a user console you can do it with kdesu
launching gui apps from a root console should result in an X error this is a security feature and can be turned off by editing something in /etc (I forgot what)
if you have a multimedia issue you should do a full vendor change to packman

zypper dup --from 6

I really have no idea why you want to run a multimedia application from a root console, maybe you should explain what you want to achieve?

in principle I never ever run any GUI applications as root
out of curiosity I tried running QMPlay2 (from packman) and it does start which is probably a bug I didn’t load a video as root but I did start the app as an ordinary user and opened this video locally
https://upload.wikimedia.org/wikipedia/commons/c/c5/I-15bis.ogv
(if the video does not load in your browser right click on the above link and select save link as)
here’s a screenshot of QMPlay2 playing an ogv video under LEAP
https://i.imgur.com/OOjO5XC.png

There seams to be an issue with some nvidia cards see this post
https://forums.opensuse.org/showthread.php/526778-VLC-OGV-format-plays-audio-without-video?p=2839524#post2839524
disabling hardware acceleration (or choosing OpenGL GLX fixes things for some users)
as I use the older G03 driver I don’t have this issue