After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703015 - id3mux Should Support GST_TAG_APPLICATION_NAME
id3mux Should Support GST_TAG_APPLICATION_NAME
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-24 23:21 UTC by Meg Ford
Modified: 2018-05-01 09:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
id3 debug (510.00 KB, application/x-gzip)
2013-06-24 23:21 UTC, Meg Ford
Details

Description Meg Ford 2013-06-24 23:21:34 UTC
Created attachment 247691 [details]
id3 debug

When I try to set a  GST_TAG_APPLICATION_NAME using id3mux, I get the following output: 

0:00:04.170137987 11591      0x215b990 WARN                  tagmux gsttagmux.c:459:gst_tag_mux_sink_event:<muxer> dropping newsegment event in time format
0:00:04.170414912 11591      0x215b990 WARN                  id3mux id3tag.c:1160:foreach_add_tag: Unsupported tag 'application-name' - not written
0:00:04.170485662 11591      0x215b990 WARN                  id3mux id3tag.c:1160:foreach_add_tag: Unsupported tag 'audio-codec' - not written
0:00:04.170537275 11591      0x215b990 WARN                  id3mux id3tag.c:1160:foreach_add_tag: Unsupported tag 'nominal-bitrate' - not written
0:00:04.170730180 11591      0x215b990 WARN                  id3mux id3tag.c:1160:foreach_add_tag: Unsupported tag 'has-crc' - not written
0:00:04.170782492 11591      0x215b990 WARN                  id3mux id3tag.c:1160:foreach_add_tag: Unsupported tag 'channel-mode' - not written

I can set other tags sucessfully (so there isn't an issue with the code).

I'm attaching the debug output.
Comment 1 Sebastian Dröge (slomo) 2013-06-25 05:47:28 UTC
IIRC there's a ID3 tag that can be used for that, need to be confirmed from the docs though
Comment 2 Meg Ford 2013-06-25 15:53:10 UTC
(In reply to comment #1)
> IIRC there's a ID3 tag that can be used for that, need to be confirmed from the
> docs though

Sorry, I should have said something about it possibly being a bug in the initail report. afaik there aren't any docs for this plugin. I read id3tag.c and I don't see GST_TAG_APPLICATION_NAME listed, so if I'm understanding the code correctly it would need to be added.
Comment 3 Sebastian Dröge (slomo) 2013-07-01 09:57:42 UTC
Maybe the TSSE frame could be used for that. Or indeed GST_TAG_ENCODER which maps to the TENC id3v2 frame.
Comment 4 Tim-Philipp Müller 2013-07-01 10:04:39 UTC
I don't think TENC is meant for the application.

Maybe it should just be put into a TXXX or comment frame.
Comment 5 Meg Ford 2013-07-01 15:13:49 UTC
I would like to use a tag to determine whether or not files in the directory should be displayed in the interface, so the tag needs to be supported by all of the plugins I'm using. 

What is a TXXX exactly?
Comment 6 Tim-Philipp Müller 2013-07-01 15:46:04 UTC
> I would like to use a tag to determine whether or not files in the directory
> should be displayed in the interface

Could you describe the use-case in a bit more detail? (just out of curiosity)


>  so the tag needs to be supported by all of the plugins I'm using. 

Well, sometimes tags just can't be mapped properly.

 
> What is a TXXX exactly?

It's a freeform KEY=VALUE extension basically. We can make sure this works both ways in GStreamer then with a suitable mapping, but non-GStreamer applications might not be able to make any sense of it.
Comment 7 Meg Ford 2013-07-01 18:26:30 UTC
(In reply to comment #6)
> > I would like to use a tag to determine whether or not files in the directory
> > should be displayed in the interface
> 
> Could you describe the use-case in a bit more detail? (just out of curiosity)

As you probably know, GNOME 3 applications don't generally use Gtk.FileChooser, but instead populate a listview within the application with files from the appropriate directory. I want to use this tag to determine whether a file should be displayed in this listview.
> 
> 
> >  so the tag needs to be supported by all of the plugins I'm using. 
> 
> Well, sometimes tags just can't be mapped properly.
> 
> 
> > What is a TXXX exactly?
> 
> It's a freeform KEY=VALUE extension basically. We can make sure this works both
> ways in GStreamer then with a suitable mapping, but non-GStreamer applications
> might not be able to make any sense of it.

afaik it doesn't matter if non-gstreamer apps can make sense of it, since I really just need it for the purpose I explained above. Do you think I need to take this into account here for any reason?
Comment 8 Sebastian Dröge (slomo) 2013-07-02 07:49:31 UTC
Why do you only want to show specific media files in your application though? Using in-file tags for that seems wrong.

Maybe you could just store "your" files in a small database, or use something like libattr to tag them on the file system? But I think ideally you would just show all files in a specific directory, i.e. "$HOME/Music/Sound Recorder". Any magic with tags or metadata is just going to confuse users :)
Comment 9 Meg Ford 2013-07-02 13:04:46 UTC
OK, that will be fine. Jon McCann and Cosimo Cecchi suggested that I use this approach, but I think the main idea was to avoid using Tracker for indexing only a specific directory.
Comment 10 Edward Hervey 2018-05-01 09:09:40 UTC
No action in 5 years. Closing.