Header(Properties) on Gstreamer

20 views
Skip to first unread message

Heitor Meira

unread,
Oct 30, 2009, 9:32:32 PM10/30/09
to gstreamer-java
Hi guys,

I'm trying to get some elements of the Header of a video file with
Gstreamer, how can do it?!

Somebody knows a good gstreamer tutorial?!

Thanks...

Tal Shalif

unread,
Oct 31, 2009, 4:02:33 AM10/31/09
to gstream...@googlegroups.com
For general usage of gstreamer best check the upstream gstream site on gstreamer.freedesktop.org and the wiki site at gstreamer.freedesktop.org/wiki. Once you have figured-out what pipeline you need to construct, you could, for example, place an 'identity'  element with a HANDSOFF callback anywhere in your pipeline and scan each buffer as it is passed through.

2009/10/31 Heitor Meira <htrm...@gmail.com>

Heitor Meira

unread,
Oct 31, 2009, 11:09:17 AM10/31/09
to gstream...@googlegroups.com
Thanks Tal... I'll do it...

Oneshot

unread,
Dec 23, 2009, 4:26:07 AM12/23/09
to gstreamer-java
Hi,

why you don't post your solution in order to help other people with
the same problem?

Thanks

Heitor Meira

unread,
Dec 23, 2009, 9:03:48 AM12/23/09
to gstream...@googlegroups.com
Hi, sorry about the late... I was with no web...

Well, the solutionthat i've found was to load him, and use Bus.TAG.
Is the better solution, but you can have any other idea.

This page has a example of how to works with bus.TAG

http://code.google.com/p/gstreamer-java/wiki/AudioPlayerWithMetadata

Look that:

private void getMetadata(){
       
        tag = new Bus.TAG() {
           
            @Override
            public void tagsFound(GstObject arg0, TagList fileTags) {
                tagList = fileTags;
            }
        };

And, tagList will have all the metadata (Info in the header) information.

If is not what you want, sorry... Anything else, we can try to help you.

--
Heitor Meira
Reply all
Reply to author
Forward
0 new messages