Checking m4a tags from the command line

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Checking m4a tags from the command line

Alex Bennee-3
Hi,

My Banshee setup is crashing on certain files and I think it may be
tag related. To rule out GStreamer itself
I was wondering if it's possible to dump the tags gstreamer sees from
the command line. I've got the hang
of playing a tune:

gst-launch-0.10 playbin uri="file:///home/alex/music/Artists/James/Hey
Ma (Deluxe Edition)/03 - Waterfall.m4a"

But I'm not sure how to construct a tag reading pipeline. Having read
the manual I can see there are a bunch
of tag sources:

10:36 alex@danny/x86_64 [gst-editor.git] >gst-inspect-0.10  | grep "tag"
typefindfunctions: application/x-apetag: ape, mpc, wv
vorbis:  vorbistag: VorbisTag
flac:  flactag: FLAC tagger
mad:  id3mux: id3 tag muxer
taglib:  apev2mux: TagLib-based APEv2 Muxer
taglib:  id3v2mux: TagLib-based ID3v2 Muxer
debug:  taginject: TagInject
apetag:  apedemux: APE tag demuxer
icydemux:  icydemux: ICY tag demuxer
id3demux:  id3demux: ID3 tag demuxer

But how do I actually use these in a pipeline?

--
Alex, homepage: http://www.bennee.com/~alex/
CV: http://www.bennee.com/~alex/cv.php

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Checking m4a tags from the command line

Tim-Philipp Müller-2
On Fri, 2009-05-29 at 10:41 +0100, Alex Bennee wrote:

> My Banshee setup is crashing on certain files and I think it may be
> tag related. To rule out GStreamer itself
> I was wondering if it's possible to dump the tags gstreamer sees from
> the command line. I've got the hang
> of playing a tune:
>
> gst-launch-0.10 playbin uri="file:///home/alex/music/Artists/James/Hey
> Ma (Deluxe Edition)/03 - Waterfall.m4a"
>
> But I'm not sure how to construct a tag reading pipeline.

Just pass the -t switch to gst-launch.

Cheers
 -Tim



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Checking m4a tags from the command line

Sumanth V
In reply to this post by Alex Bennee-3
Hi,

   Try using -m command line option. This prints the message passing on the bus.

On Fri, May 29, 2009 at 3:11 PM, Alex Bennee <[hidden email]> wrote:
Hi,

My Banshee setup is crashing on certain files and I think it may be
tag related. To rule out GStreamer itself
I was wondering if it's possible to dump the tags gstreamer sees from
the command line. I've got the hang
of playing a tune:

gst-launch-0.10 playbin uri="file:///home/alex/music/Artists/James/Hey
Ma (Deluxe Edition)/03 - Waterfall.m4a"

But I'm not sure how to construct a tag reading pipeline. Having read
the manual I can see there are a bunch
of tag sources:

10:36 alex@danny/x86_64 [gst-editor.git] >gst-inspect-0.10  | grep "tag"
typefindfunctions: application/x-apetag: ape, mpc, wv
vorbis:  vorbistag: VorbisTag
flac:  flactag: FLAC tagger
mad:  id3mux: id3 tag muxer
taglib:  apev2mux: TagLib-based APEv2 Muxer
taglib:  id3v2mux: TagLib-based ID3v2 Muxer
debug:  taginject: TagInject
apetag:  apedemux: APE tag demuxer
icydemux:  icydemux: ICY tag demuxer
id3demux:  id3demux: ID3 tag demuxer

But how do I actually use these in a pipeline?

--
Alex, homepage: http://www.bennee.com/~alex/
CV: http://www.bennee.com/~alex/cv.php

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Checking m4a tags from the command line

Edward Hervey
Administrator
On Fri, 2009-05-29 at 15:32 +0530, Sumanth V wrote:
> Hi,
>
>    Try using -m command line option. This prints the message passing
> on the bus.

  That option will dump all the messages received on the pipeline bus
(which is what you'd see in an application), whereas the -t option that
tim mentionned will parse those GST_MESSSAGE_TAG and output them in a
user-friendly fashion (look at the code in gstreamer/tools/gst-inspect.c
to see how they're handled).

    Edward

>
> On Fri, May 29, 2009 at 3:11 PM, Alex Bennee
> <[hidden email]> wrote:
>         Hi,
>        
>         My Banshee setup is crashing on certain files and I think it
>         may be
>         tag related. To rule out GStreamer itself
>         I was wondering if it's possible to dump the tags gstreamer
>         sees from
>         the command line. I've got the hang
>         of playing a tune:
>        
>         gst-launch-0.10 playbin
>         uri="file:///home/alex/music/Artists/James/Hey
>         Ma (Deluxe Edition)/03 - Waterfall.m4a"
>        
>         But I'm not sure how to construct a tag reading pipeline.
>         Having read
>         the manual I can see there are a bunch
>         of tag sources:
>        
>         10:36 alex@danny/x86_64 [gst-editor.git] >gst-inspect-0.10  |
>         grep "tag"
>         typefindfunctions: application/x-apetag: ape, mpc, wv
>         vorbis:  vorbistag: VorbisTag
>         flac:  flactag: FLAC tagger
>         mad:  id3mux: id3 tag muxer
>         taglib:  apev2mux: TagLib-based APEv2 Muxer
>         taglib:  id3v2mux: TagLib-based ID3v2 Muxer
>         debug:  taginject: TagInject
>         apetag:  apedemux: APE tag demuxer
>         icydemux:  icydemux: ICY tag demuxer
>         id3demux:  id3demux: ID3 tag demuxer
>        
>         But how do I actually use these in a pipeline?
>        
>         --
>         Alex, homepage: http://www.bennee.com/~alex/
>         CV: http://www.bennee.com/~alex/cv.php
>        
>         ------------------------------------------------------------------------------
>         Register Now for Creativity and Technology (CaT), June 3rd,
>         NYC. CaT
>         is a gathering of tech-side developers & brand creativity
>         professionals. Meet
>         the minds behind Google Creative Lab, Visual Complexity,
>         Processing, &
>         iPhoneDevCamp as they present alongside digital heavyweights
>         like Barbarian
>         Group, R/GA, & Big Spaceship.
>         http://p.sf.net/sfu/creativitycat-com
>         _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel