Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Does it stops there? don't you see the main window? - Mar 28 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

from the shell:
/usr/local/bin/xt7-player.gambas
- Mar 28 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

What is the problem?
"that executable text file" is bytecode, all needed things are inside it, have you executed it?
- Mar 28 2012
Mini Player

Plasma 4 Extensions by Emdek 139 comments

I tried it just now, it works fine, but i've two problems
1) scaling produces pixelated videos
2) cpu usage is very high, if i scale the window to 1024 to 768, it jumps to 50%, making miniplayer unusable for me.

is that expected? i'm using gstreamer backend. - Mar 26 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

I understood what you mean,
but unfortunately, even if it could seems an easy task, doing such a thing requires a deep change to the player code.

That said, is true that xt7 is currently quite dumb when it has to choose what is the next media to play, this leaves room for improvement and i'll take your suggestion into account when i'll touch the relevant code, but it won't be anytime soon.

Thanks for the idea! - Jan 07 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Old version are gone, sorry.
Honestly, i don't use *ubuntu, but i tested xt7 with gambas 3.0 and it works, so it is just a matter of names that still don't matches.

You may want to take a look here:
https://bugs.launchpad.net/xt7-player/+bug/910554

...But as far as i understood from your writings, you can safely ignore that warning messages in console. - Jan 06 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

I installed kaffeine 1.2 and i cannot find that function. Did they removed it?
If you could explain me what exactly it did, i could consider to implement.
Meanwhile you can add every media from the browse and library tab into the playlist, which is a sort of... queue.
Is this enough? - Jan 06 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

What command doesn't work?
You have to install git to grab the sources and you have to install gambas (3 or >2.99.6) to make the binary. - Jan 06 2012
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

What is the kaffeine queue you're talking about?

This version on kde-apps isn't updated.
I suggest you to grab the latest git version after you installed the other dependancies.
Instructions here:
http://xt7-player.sourceforge.net/xt7forum/viewtopic.php?f=7&t=149&st=0&sk=t&sd=a

Thank to eloaders who also mantains a daily repo here:
https://launchpad.net/~xt7-player-dev-team/+archive/daily

- Jan 06 2012
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Like promised,
I just tried the resize effect on a poor 945gm+atom n270 1gb ram
Intel driver is 2.17.0 and xorg-server is 1.11.2
resizing translucent windows IS smooth; well the resolution is just 1024x600, but there are no jerkyness at all, even when the window is big as the screen.

Strangely enough, even with the intel driver, changing the xrender scaling mode seems to be ignored and i've always a filtered scaling. - Dec 16 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Well, before opening this: https://bugs.kde.org/show_bug.cgi?id=288526 ,
I tried with gimp to scale an image to 'X' times smaller,
then shifted it in 4 transparent layers to relative coordinates:
-1,-1;-1,1;+1,+1;+1,-1
and then rescaled it to the original size.
The scaling filter was a simple bilinear and the result wasn't THAT bad.
Here is the original:
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Original.jpg
Here is the 'faked' blur:
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Reduce.by.4X,translate.4.Times,rescale.to.4X.png
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Reduce.by.8X,translate.4.Times,rescale.to.8X.png

But now i've had another idea.
Make a copy of the picture and scale it to 1/2,
copy the result and scale it by another 1/2 and so on.
Do this -say- 4 times.
Then rescale all the resulting pictures to the original size,
make them translucent and compose them see the result, this is very good!:

Final picture, new method:
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Other.method.png

Gimp project, new method:
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Other.method.xcf

I also tried by compositing only with 2 iterations,
and the result is still usable, maybe not so good, but still usable for productive needs:
http://wpage.unina.it/aorefice/sharevari/XrenderOrNot/Other.method_2_iterations.png

try play with the gimp project!
...so if you can manage to tell xrender to scale and filter somehow the image, we can have a very good
result! - Dec 16 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

About the filters, what i can say for sure is that the resize effect (the one that 'stretches' the windows) seems to use a bilinear filtering depsite of the scale method i choose. - Dec 16 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

I poped-up the calendar by clicking the clock:
they are perfectly the same, nothing changes between opengl and xrender

Xrender+bedistorted window dimensions:
Width: 406
Height: 259


Xrender+bedistorted xprops|grep -i blur:
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 5, 5, 401, 5, 4, 10, 402, 2, 5, 12, 401, 245, 4, 257, 402, 2

Opengl+blur window dimensions:
Width: 406
Height: 259

Opengl+blur xprops|grep -i blur:
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 5, 5, 401, 5, 4, 10, 402, 2, 5, 12, 401, 245, 4, 257, 402, 2

- Dec 16 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

I poped-up the calendar by clicking the clock:
they are perfectly the same, nothing changes between opengl and xrender

Xrender+bedistorted window dimensions:
Width: 406
Height: 259


Xrender+bedistorted xprops|grep -i blur:
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 5, 5, 401, 5, 4, 10, 402, 2, 5, 12, 401, 245, 4, 257, 402, 2

Opengl+blur window dimensions:
Width: 406
Height: 259

Opengl+blur xprops|grep -i blur:
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 5, 5, 401, 5, 4, 10, 402, 2, 5, 12, 401, 245, 4, 257, 402, 2

- Dec 16 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Oh, I understood the difference between linear and bilinear now.
Would it be possible to (optionally) use a bilinear scaling?
As i said previously, xrender performs pretty well when scaling translucent windows (resize effect, bilinear mode), at least on nvidia (asap i will test on an eeepc 1005ha with an intel gpu).

About the shadow issue, it is strange that it doesn't happens with opengl blurring.
Isn't the clock shadow "hardcoded" in the svg plasma theme file itself?

Anyway, i could try to file a bug report to kde if you think it would be useful. - Dec 15 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Thanks for updating this!

However, just see attached screenshot, the effect is configured to just do scaling:
http://ompldr.org/vYnIxdQ/linear.jpeg
is that normal?
Also it still seems that plasma want's to blur under the shadows.

The other problem seems to be solved, thanks! - Dec 15 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

On nvidia with binary blob i use resize effect (with scaling and translucency) with xrender compositing everytime and it is very smooth even on low end cards like Geforce 9500GT.
I'll test on a poor gma945 asap and will tell you
- Dec 12 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Nope, after further testing, i found that some windows get blurred (konsole background, effects window...)
Other simply don't (kwrite, dolphin, probably others)
But if i disable bedistorted, and then enable it again, all is blurred as it should!

Example:i open a dolphin window, it is not blurred, i disable and enable bedistorted, dolphin becomes blurred.
Then i open another dolphin and it is not blurred, so i have 2 dolphin(s) one blurred, one not.

This happens with bespin and qtcurve too.

But Xprop reports the same on both!

Gozer ~ # xprop | grep -i blur
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 815, 72, 0, 72, 144, 474, 0, 546, 815, 44
Gozer ~ # xprop | grep -i blur
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 815, 75, 0, 75, 144, 467, 0, 542, 815, 48

--------------------------------------
Also, there are some glitches aroud blurred plasma widgets.
In particular, the shadow blurs the background too.
See links:
xrender:
http://ompldr.org/vYnBlNQ/xrenderblur.jpeg
opengl:
http://ompldr.org/vYnBlNg/glblur.jpeg - Dec 12 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Something seems to block blur under translucent windows, but it works under translucent popup menues and panels.
tried with bespin and qtcurve. (in opengl blur works) - Dec 10 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Did you thought to scale the image to a lower resolution -> process the way you do now -> rescale to original?
That way would allow to have a more blurred image still in the xrender domain :)

Works fine in 4.7.3 btw - Dec 10 2011
BeDistorted

Various KDE 1.-4. Improvements by thomas12777 31 comments

Scanning dependencies of target kwin4_effect_bedistorted
[ 80%] Building CXX object CMakeFiles/kwin4_effect_bedistorted.dir/kwin4_effect_bedistorted_automoc.o
In file included from /home/root/Desktop2_kde4/bedistorted-kwin-fx/build/moc_bedistorted.cpp:10:0,
from /home/root/Desktop2_kde4/bedistorted-kwin-fx/build/kwin4_effect_bedistorted_automoc.cpp:4:
/home/root/Desktop2_kde4/bedistorted-kwin-fx/build/../bedistorted.h:34:7: warning: direct base ‘QObject’ inaccessible in ‘KWin::BeDistorted’ due to ambiguity [enabled by default]
In file included from /home/root/Desktop2_kde4/bedistorted-kwin-fx/build/kwin4_effect_bedistorted_automoc.cpp:4:0:
/home/root/Desktop2_kde4/bedistorted-kwin-fx/build/moc_bedistorted.cpp: In member function ‘virtual const QMetaObject* KWin::BeDistorted::metaObject() const’:
/home/root/Desktop2_kde4/bedistorted-kwin-fx/build/moc_bedistorted.cpp:51:21: error: ‘QObject’ is an ambiguous base of ‘KWin::BeDistorted’
/home/root/Desktop2_kde4/bedistorted-kwin-fx/build/moc_bedistorted.cpp:51:50: error: ‘QObject’ is an ambiguous base of ‘KWin::BeDistorted’
/home/root/Desktop2_kde4/bedistorted-kwin-fx/build/moc_bedistorted.cpp:61: confused by earlier errors, bailing out
make[2]: *** [CMakeFiles/kwin4_effect_bedistorted.dir/kwin4_effect_bedistorted_automoc.o] Errore 1
make[1]: *** [CMakeFiles/kwin4_effect_bedistorted.dir/all] Errore 2
- Dec 09 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

I will implement recently opened files in the next version, have to think about the saving/restoring the movie time (i never had that need)

But about the subtitles under the movie,
think that Xt7 is meant to be a simple gui to almost all mplayer options, not a wrapper (like smplayer).
expand filter is also supported out of the box, so you can just setup a filter chain by dragging expand into the center column and set it to display subtitles.

About the polish subtitles, i certanly omitted to add pl to the combo in "sub and osd" form, and i will do, but why subcp is ignored while works for you with plain mplayer is probably an xt7 bug.
Could you please upload somwhere a little clip showing the problem so that i can reproduce and fix?

If you wish, there's a bug reporting page here, more comfortable than this site.
http://xt7-player.sourceforge.net/xt7forum/viewforum.php?f=3 - Nov 26 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

I don't use gentoo anymore by years, ebuild EAPI must have been changed somehow, so i don't think i ever will, sorry. - Nov 23 2011
Folderview: Translucent Dragging

Plasma 4 Extensions by panzi 6 comments

Seems that it doesn't works well on kde 4.7.3
The problem is that it doesn't remember the location to show over logouts.
It always show the home folder. - Nov 11 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

It is a matter of gambas being in alpha and sometimes changes symbols/names, sorry ^_^ - Nov 09 2011
Please ignore the previous, this will be clearer:

Here are 3 patches intended to be applied to:
QtCurve-Gtk2-1.8.12

1:shadowhelper.patch
http://pastebin.com/eCMQfMZf

2:qt_settings_A.patch
http://pastebin.com/txuqdLf6

3:qt_settings_B.patch
http://pastebin.com/YTEDqdgq

By applying 1:shadowhelper.patch you get:
Good: Remove ugly shadow under firefox tooltip icon
(when you use autoscroll)
Bad: Remove shadows under Firefox Url box too

By applying 2:qt_settings_A.patch you get:
*Good: Paint back picture on firefox window decoration
too so that you can use personas to match it.
*Bad: if you don't use personas...
*Good: Makes GTK menu squared to fix ugly shadows in
gtk apps when using xrender compositing
*Bad: There's no need to use squared menus
with opengl compositing

By applying 3:qt_settings_B.patch you get:
*Good: Paint back picture on firefox window decoration
too so that you can use personas to match it.
*Bad: if you don't use personas...
- Oct 28 2011
http://kde-look.org/comments/add.php?type=1&content=40492&content2=0&parent=418638&forumpage=158&&PHPSESSID=7a63aff29ac464d8514f4336db490695

Ok, two quick hacks to the code:
1) This will remove the shadow under firefox urlbox, but fix the ugly shadow under the firefox overlay icon too.

shadowhelper.c:142
hint == GDK_WINDOW_TYPE_HINT_TOOLTIP ||
(hint == GDK_WINDOW_TYPE_HINT_UTILITY && !qtcWidgetGetParent(widget) && isMozilla()) ; // Firefox URL combo
becomes:
hint == GDK_WINDOW_TYPE_HINT_TOOLTIP;

2) This will allow:
2.1)background image to be used for firefox too so that you can use a persona style that matches: http://ompldr.org/vYjBsdQ/persona1.png
2.2)Use squared gtk menus in all apps to avoid ugly shadows whan using xrender compositing

qt_settings.c:2147
if(GTK_APP_JAVA==qtSettings.app || GTK_APP_JAVA_SWT==qtSettings.app || isMozilla() || GTK_APP_OPEN_OFFICE==qtSettings.app)
becomes:
if(GTK_APP_JAVA==qtSettings.app || GTK_APP_JAVA_SWT==qtSettings.app || !isMozilla() || GTK_APP_OPEN_OFFICE==qtSettings.app)

if you still want rounded menu in gtk but want background image decoration for mozilla too:
qt_settings.c:2147
if(GTK_APP_JAVA==qtSettings.app || GTK_APP_JAVA_SWT==qtSettings.app || isMozilla() || GTK_APP_OPEN_OFFICE==qtSettings.app)
becomes:
if(GTK_APP_JAVA==qtSettings.app || GTK_APP_JAVA_SWT==qtSettings.app || GTK_APP_OPEN_OFFICE==qtSettings.app)


- Oct 28 2011
similar issue with firefox overlay icon:
http://ompldr.org/vYXlhMg - Oct 24 2011
Nope, sorry it is still broken - Oct 24 2011
Nevermind, switching to another style and back to qtcurve solved it. - Oct 24 2011
See what happens when xrender compositing is used with rounded moenu corners in gtk2-apps:
http://ompldr.org/vYXk5Nw - Oct 24 2011
Hi GraigD,
I know you switched to oxygen style but still developing and updating qtcurve, it is great.
As you already added the experimental menu button and xbar compatibility to the window decorator,Do you ever thought to have something like oxygen app menu in qtcurve too?
http://kde-look.org/content/show.php?content=141254

Thanks!
- Oct 18 2011
CurveDomina Qtcurve

QtCurve by koko2k 19 comments

If you unpack the tarball, you get CurveDomina.qtcurve file which s a zip archive.
unpack it again and you get CurveDomina folder, under it you'll find CurveDomina-bgnd-img.png - Oct 15 2011
Smooth Tasks

Plasma 4 Extensions by panzi 840 comments

Starting from kde 4.7.1, when using smooth tasks, as soon as i configure a plasmoid and close the configurazion window, plasma-desktop starts eating cycles; and they are proportional to the fps i set in smooth tasks!
removing smooth tasks or just set fps to (1) and effect turation to 1ms workarounds the issue, - Oct 05 2011
Folderview: Translucent Dragging

Plasma 4 Extensions by panzi 6 comments

Hi, the nasty rename bug has been just fixed:
https://projects.kde.org/projects/kde/kde-baseapps/repository/revisions/e36f73c7fc3eca7beb0ebb16664b4c855cdf513e
...but will be ready only in kde 4.8.
Why don't you patch your 'fork'?
- Sep 23 2011
Checksumcontrol

Utilities by RBerger 1 comment

what's the point on having that blue vertical bar on the left of the window? - Sep 14 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Ok,
added another download link for gambas3 and adviced to remove gambas2 first.
Going to report the missing dep to eloaders, thanks! - Sep 03 2011
Oxygen KDE (Firefox Theme)

Various KDE 1.-4. Improvements by jimmy88 1778 comments

Grazie mille :) - Jul 03 2011
Oxygen KDE (Firefox Theme)

Various KDE 1.-4. Improvements by jimmy88 1778 comments

We still need a way to maximize,minimixe and drag the window without using the keyboard :( - Jul 03 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Never!
btw, v4l module is not (yet?) needed. - May 14 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Do you think so... ?
Eheh, corrected, thanks :) - May 14 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Why version 2.917, did you had problems with current? It solved a bunch of bugs due to the gb2->gb3 port. - May 14 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Thanks symbianflo, I hope you succeed! - May 14 2011
I would be nice to have something similar:
Oxygen-appmenu
http://kde-look.org/content/show.php/Oxygen-appmenu?content=141254

thanks! - May 03 2011
Would it be possible to force the bakground picture to be drawn at least on the titlebar/window decoration?
That way, one could set a personas style that matches it (personas snaps to the upper right corner, so it will match).

Thanks. - Apr 20 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

I really have no idea about it, it has to be something at lower level which is beyond be, sorry. - Apr 18 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Sorry, right file is: autotools/xt7-player-2.9.917/xt7-player/.src/Form/FMain.class

Anyway try 2.9.917 as it correct some bugs.
In the next version i'll get rid of the export line, - Apr 18 2011
Xt7-player (now xt7-player-mpv)

Video Players by koko2k 64 comments

Mhh, strange, just tried and it compiles fine.
You can manually edit FMain file in .src subdirectory and remove "Export" (line 4) and dtry make it again.
It is useless, but it doesn't throw an error for me.

...Or you can download a precompiled package and extract xt7-player.gambas from it, make it executable and launch. - Apr 18 2011
Folderview: Translucent Dragging

Plasma 4 Extensions by panzi 6 comments

Works as expected (glitches appears as in standard folderview when desktop effects are disabled, i don't know if something can be done about it).

Do you plan to propose your patch to mainstream? - Apr 04 2011
Start Activity

Dolphin Service Menus by oliverthered 2 comments

It would be nice to understand what exactly it does before doewnloading it :) - Apr 01 2011