pMusic visualization


This is just for fun - and just because ffmpeg allows us to do it.

At the moment it's a very simple visualization engine. But the more recent ffmpeg releases allows more sophisticated solutions by combining several modes into one visual 'show'. I will include more of these when we get there, but for now, a basic coding-structure is in place.

The visualization presets found in the menu is defined in the file /usr/local/pmusic/txt_visualization, and contains 2 columns: Name and Command.
Wave 1|amovie=/root/.pmusic/tmp/pmusic.sdp, asplit [a][out1]; [a] showwaves [out0]

Wave 2|amovie=/root/.pmusic/tmp/pmusic.sdp, asplit [a][out1]; [a] showwaves=mode=line [out0]
Waves 1|amovie=/root/.pmusic/tmp/pmusic.sdp, asplit [a][out1]; [a] showwaves=mode=p2p:split_channels=1 [out0]
Waves 2|amovie=/root/.pmusic/tmp/pmusic.sdp, asplit [a][out1]; [a] showwaves=mode=cline:split_channels=1 [out0]
It maybe looks complex, but a closer look shows that only the last part of the command is unique. For line 2 that is; showwaves=mode=line

Note!
This will NOT make pMusic depend on a newer ffmpeg as extended visualization is optional. I plan to stick with 1.2. But, ffmpeg is evolving fast, so we have to keep an eye of what we 'need' in the future.

see also:
ffmpeg - the multimedia hub
pMusic - FFmpeg monitor




Posted on 10 Jun 2016, 18:07 by zigbert - Categories: Development
Comments - Edit - Delete


pMusic - FFmpeg monitor


pMusic is a showcase of what gtkdialog is capable to do, and is probably the most complex gtkdialog code out there- It includes solutions of many gtkdialog challenges. Examples are:
- Take advantage of vector graphics and advanced text layout
- Conditional actions to avoid heavy cpu-usage when idle
- Alignments and scaling
- Extended gtk theming
- Different ways for a flexible gui without re-rendering.
- etc...

But there is no reason for a showcase without making it transparent for the users/testers. Sharing knowledge is what moves us forward. pMusic includes the attribute 'pmusic --dump-gtk' to show the generated gtkdialog code of the main gui. Else, most code is sent to temporary files in $HOME/.pmusic/tmp/

pMusic is also a playground to test ffmpeg as an advanced audio backend. For the next major release (5.1.0), it will use more of the ffmpeg features. I will come back to this later, but today we'll talk about transparency.

For years, there has been a plugin (Backend info) to show what's going on in the background. As the use of ffmpeg extends, I find it important to share the backend-codes. Not only to enlighten others, but also to make you offer improved code back to pMusic. It is a win-win situation. When 5.1.0 is shipped, it will include the improved plugin with more ffmpeg knowledge:
- The ffmpeg log
- The play command
- The export (convert) command
- The visualization command
It gives a wider insight of the ffmpeg possibilities, and how pMusic uses them.




Posted on 30 Apr 2016, 06:34 by zigbert - Categories: Development
Comments - Edit - Delete


Icon Theme


With the enormous aid of zigbert and technosaurus I have been able to develop an freedesktop compliant (mostly) icon theme that can be used in any Linux or other Unix (if the specification is supported).

So what?

It is light as a feather. As a comprehensive theme it weighs in at 53KB (xz compressed ~ 200KB gzip compressed). That is very little in terms of an ISO image and it can totally replace all the PNG Rox Filer icons (MIME). Not only is it compatible with Rox but all freedesktop compliant file managers whether they use the GTK, FLTK or QT (or other) UI toolkits (any version).

So where is it?

I have created a github repo with the icon source. It's very simple to build and package. Take a look here and enjoy!

Posted on 24 Apr 2016, 21:03 by 01micko - Categories: Development
Comments - Edit - Delete


New menu manager


I have made a new menumanager to replace the one in /usr/sbin/menumanager.

What is new?
- Sort menu-items in corresponding category
- single click activation
- Graphical feedback
- More intuitive (personal opinion)

I will wait until Mick has released the next stable release before I upload the code to Woof-CE. It is not the time for brand new stuff...



Posted on 8 Apr 2016, 03:48 by zigbert - Categories: Development
Comments - Edit - Delete


Slacko 6.3.0.6 beta


I have released an ISO image as a beta for the next iteration of slacko. It is mainly a bugfix for 6.3.0 but it is also intended to support UEFI in line with the discussion here.

For more information visit the forum page.

For other puppy builders, preliminary support has been added to woof-CE for UEFI as of commit ba2a9b8.

Posted on 4 Apr 2016, 20:44 by 01micko - Categories: Development Woof-CE
Comments - Edit - Delete


Ptheme supports gtk-icon themes


pTheme has been around since Slacko 6.3. It manage all different themable aspects in Puppy. The settings can be saved to a Global theme, and switching can be done in a single click.

With the recent work with pTheme, it now also supports switching of gtk-icons themes. AFAIK, this is the last graphical piece to make the global theming complete.

One of the major targets with pTheme is to easy switch between touch and mouse mode when using tablets. There are some missing pieces in Puppy before it fully fits in a touch environment, but things are evolving with Micks work in the xorg branch of Woof-CE.

Personally, I find Mick's Buntoo theme very attractive - default in Slacko64 6.3. It's great to see Puppy with this freshness. But, I am sure we have plenty of skilled artists in the kennel, and hopefully you the are willing to give us your facelift of Puppy.




Posted on 3 Apr 2016, 23:30 by zigbert - Categories: Development
Comments - Edit - Delete


Pages: ... [2] [3] [4]