[Linux-disciples] Extracting metadata from mplayer

Stephen R Laniel steve at laniels.org
Thu Sep 2 13:55:50 EDT 2004


On Thu, Sep 02, 2004 at 08:37:49AM -0400, Adam Rosi-Kessel wrote:
> Does it display the metadata to the screen?  Why not just grep it out and
> use vorbiscomment to add it in after it is encoded (and likewise rename)?
> I think it would be overly tricky to try to add the metadata in the first
> encoding.  

It does display it on-screen, but the
screen-scraping/grepping approach is rubbing me the wrong
way recently. There must be an API into the mplayer
functions. At the very least, mplayer itself must use a
particular function to extract metadata from a stream, and
that function must be available to us. I'll dig around.

Part of my problem with screen scraping and grepping is that
they're so fragile; they depend to a great extent on parts
of a site or program that change often. I'd prefer instead
to use an API that doesn't change much.

-- 
``You see, Andrew: toilet paper is made of paper, while rats
  are made out of ... rat.''
 -Josh Wretzel, 2004-08-29

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040902/12de7575/attachment.pgp


More information about the Linux-disciples mailing list