Hi. I want to retrieve informations from tags. I watch the bus attached to a pipeline for Gst::Message::TAG. I do not know how to parse the tag. Is there some documentations somewhere? I want to retrieve the number of tracks and tracks length from /dev/cdrom file. Is there a Gst way? Vincent
on 2009-12-16 22:43
on 2009-12-28 01:15
Hi Vincent, I have exact the same problem! It's really badly documented. Did you find a solution? Leon
on 2009-12-28 15:01
Hi Leon. I do not have found a solution using GStreamer. :( To parse tag, I think it should exist an parse method for Gst::MessageTag class. There was one in the old implementation (https://trac.luon.net/ruby-gstreamer0.10/browser/trunk/ruby-gstreamer0.10/sample/video-player.rb). It seems that there is a function in C (gst_message_parse_tag if I remenber what I am be told on gstreamer irc channel). I have open a feature request: https://sourceforge.net/tracker/?func=detail&aid=2922270&group_id=53614&atid=470972 Hope that someone will have time to implement it and to explain how to use it. To retrieve infos from cd, I have no idea on how to do it. Vincent
on 2009-12-28 15:05
Hi Vincent, Thanks! Yeah, I was missing the parse method too. I really find the ruby gstreamer library very bugy and incomplete :( I think I'll just use exiftool then or maybe a commandline script made in python :)
on 2009-12-28 15:20
I don't think a lot of people are working on ruby-gst. I thank the ones that are. I use ruby-taglib (http://www.hakubi.us/ruby-taglib/) to read tags but maybe you want to take a look at rtaglib (http://rtaglib.rubyforge.org/).
on 2010-01-02 14:40
Hi Leon. I upload a patch to the tracker to parse Gst::Message::TAG. https://sourceforge.net/tracker/?func=detail&aid=2924886&group_id=53614&atid=470971 Not sure it is well written but it seems functional. It add a parse method to a Gst::Message::TAG object. A hash is returned.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.