Closed GoogleCodeExporter closed 8 years ago
as usual:-) is it with native gstreamer?
Original comment by lfar...@gmail.com
on 26 Apr 2010 at 1:09
Native gstreamer is OK. Even the TagList argument of tagsFound(...) shows the
date
when printed with System.out.println(arg1):
taglist,
album=(string)"You\ Rock\ My\ World",
comment=(string)Single,
title=(string)"You\ Rock\ My\ World\ \(A\ Cappella\)",
artist=(string)"Michael\ Jackson",
date=(GstDate)2001-01-01,
genre=(string)Pop,
track-count=(guint)5,
track-number=(guint)5,
encoder=(string)"Xiph.Org\ libVorbis\ I\ 20040629",
encoder-version=(guint)0,
audio-codec=(string)Vorbis,
nominal-bitrate=(guint)160000,
bitrate=(guint)160000;
But I think the GstDate-Type seems to be not implemented.
Original comment by mario.br...@gmail.com
on 28 Apr 2010 at 1:38
There is a type defined in gstreamer-java called GDate that I suspect is what
should
be used here. However its implementation seems incomplete (the class only has a
constructor and a dispose method).
The only reference to this type is in GstStructureAPI.java, and it is just a
commented out method:
boolean gst_structure_get_date(Structure structure, String fieldname, GDate
**value);
Not sure how to finish this functionality.
Original comment by andres.c...@gmail.com
on 1 May 2010 at 11:21
can you attach a small example code?
Original comment by lfar...@gmail.com
on 1 May 2010 at 1:09
#r347 add support for GDate try with the latest svn or send example code.
Original comment by lfar...@gmail.com
on 1 May 2010 at 6:25
Attached test class. Compile it and run it with
java at.td.gst.Test AUDIO_FILE
It first prints the raw arg1 from tagsFound(...) which shows the
"date=(GstDate)"
entry with a value, and then the list which I get from a loop over
arg1.getTagNames()
and arg1.getValues(tagName).
With the current version the tag "date" in the loop is present but empty.
Please ignore my Java-code-style. I copied it from my current project and
merged it
into a one-file-test to keep the testing simple.
Original comment by mario.br...@gmail.com
on 2 May 2010 at 3:44
Attachments:
give me an input file too please. with my file mp3 i can't see the date tag:-(
and show me your result.
Original comment by vitorl...@gmail.com
on 2 May 2010 at 9:02
OK, I attached a file and the output I see is the following (interesting: the
"date=(GstDate)2001-01-01" in the raw arg1-output and the line with "date: "
but no
value in the output-loop over tag names and values):
processing:
taglist, container-format=(string)Ogg;
container-format: Ogg
processing:
taglist, album=(string)"You\ Rock\ My\ World", comment=(string)Single,
title=(string)"You\ Rock\ My\ World\ \(A\ Cappella\)", artist=(string)"Michael\
Jackson", date=(GstDate)2001-01-01, genre=(string)Pop, track-count=(guint)5,
track-number=(guint)5, encoder=(string)"Xiph.Org\ libVorbis\ I\ 20040629",
encoder-version=(guint)0, audio-codec=(string)Vorbis,
nominal-bitrate=(guint)160000,
bitrate=(guint)160000;
album: You Rock My World
comment: Single
title: You Rock My World (A Cappella)
artist: Michael Jackson
date:
genre: Pop
track-count: 5
track-number: 5
encoder: Xiph.Org libVorbis I 20040629
encoder-version: 0
audio-codec: Vorbis
nominal-bitrate: 160000
bitrate: 160000
Original comment by mario.br...@gmail.com
on 3 May 2010 at 7:07
Attachments:
check the latest svn version. i hope i fix it finally:-)
Original comment by lfar...@gmail.com
on 3 May 2010 at 1:47
Original issue reported on code.google.com by
mario.br...@gmail.com
on 2 Mar 2010 at 10:23