Ruby-GNOME2 1.1.0

Hi,

The Ruby-GNOME2 project released Ruby-GNOME2 1.1.0.

This release fixes a crash bug by GC on Ruby 1.9. (It’s not
occurred on Ruby 1.8.) If you’re using Ruby-GNOME 2 on Ruby
1.9, we recommend that you update it.

Ruby/GStreamer gem for Windows is supported. If you want to
play audio and/or video data on Windows, please try it.
(You can install Ruby/GStreamer by “gem install gstreamer”.)

Web:
http://ruby-gnome2.sourceforge.jp/

Install:
gem install gtk2

= About Ruby-GNOME2

Ruby-GNOME2 is a set of Ruby language bindings for the GTK+
2.x and GNOME 2.x development environment.

= About GTK+

from http://www.gtk.org/

GTK+ is a highly usable, feature rich toolkit for creating
graphical user interfaces which boasts cross platform
compatibility and an easy to use API. GTK+ it is written
in C, but has bindings to many other popular programming
languages such as C++, Python and C# among others. GTK+ is
licensed under the GNU LGPL 2.1 allowing development of
both free and proprietary software with GTK+ without any
license fees or royalties.

= About GNOME

from http://www.gnome.org/about/

The GNOME project provides two things: The GNOME desktop
environment, an intuitive and attractive desktop for
users, and the GNOME development platform, an extensive
framework for building applications that integrate into
the rest of the desktop.

Thanks,

Hi all,

At first, thank you for the release of Ruby-GNOME2 1.1.0.

Ruby/GStreamer gem for Windows is supported.
Great!
So, I’ve tried to play a .ogg file, .mp3 file and .mp4 file with the
following snippet on my Windows 7 laptop.

require ‘gtk2’
require ‘gst’
require ‘win32api’
play_bin = Gst::ElementFactory.make(‘playbin2’)
play_bin.uri = ‘file://c/tmp/song.mp3’
play_bin.video_sink = Gst::ElementFactory.make(‘directdrawsink’)
play_bin.bus.add_watch do |b, message|
case message.type
when Gst::Message::WARNING, Gst::Message::ERROR
p message.parse
else
#p message.type
end
true
end
window = Gtk::Window.new
window.signal_connect(‘expose-event’)do
play_bin.video_sink.xwindow_id = Win32API.new(‘user32’,
‘GetForegroundWindow’, [], ‘N’).call
end
window.show_all
play_bin.play
Gtk.main

I could play .ogg file and .mp4 file very well.
But unfortunately, couldn’t play .mp3 file.

I asked Kou about that in ruby-list ML.
The answer is that Ruby/GStreamer gem doesn’t include MAD.
Because MAD is GPL.

Just for information,
ashbb

Hi all,

Ruby-GNOME2 1.1.1 released

I tried to use gstreamer-1.1.1-x86-mingw32 on my Windows 7 and noticed
that
I could listen MP3 file!!

Thanks for the great work, Ruby-GNOME2 project!!

ashbb

ps. Now, Ruby-GNOME2 1.1.2 was already released.
I checked it out quickly and it also worked very well. :slight_smile:

Hello Mr. Asakawa et al,

What does green_shoes use for audio and video now?

Would fluendo[1] be an acceptable alternative? It’s open-sourced under
the MIT license[2].

1: http://www.fluendo.com/shop/product/fluendo-mp3-decoder/
2: https://core.fluendo.com/gstreamer/svn/trunk/gst-fluendo-mp3/LICENSE

Hi Zak!

Thank you for the good information.
Fluendo MP3 Decoder … wow, great!

A samll question. Is there also the source code for Windows?

ashbb

Hi,

In [email protected]
“Re: [ANN] Ruby-GNOME2 1.1.0” on Fri, 20 Jan 2012 02:02:27 +0900,
Zachary S. [email protected] wrote:

Would fluendo[1] be an acceptable alternative? It’s open-sourced under
the MIT license[2].

We have a problem about patent not license for MP3.
MAD is also an open source software. :slight_smile:

2: https://core.fluendo.com/gstreamer/svn/trunk/gst-fluendo-mp3/LICENSE

“Patents over the plug-in and/or Source Code” section
describes about patent.

Thanks,

Hi all,

I tried to use gstreamer-1.1.1-x86-mingw32 on my Windows 7 and
noticed that I could listen MP3 file!!

Sorry, I made a quick and wrong judgment. xx-P
Kou who is a developer of Ruby/GNOME2 said that this is a
miss-packaging.
The license issue is not cleared yet. So, will delete MAD in the next
release.

ashbb