Last modified: 2010-05-15 15:38:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1948 - Support Ogg metadata in image:img_metadata
Support Ogg metadata in image:img_metadata
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
All All
: Normal enhancement with 6 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pear.php.net/package/File_Ogg
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-22 17:49 UTC by Ævar Arnfjörð Bjarmason
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
An Ogg tag reader using Ogg::Vorbis::Header::PurePerl; (400 bytes, text/plain)
2005-05-09 17:21 UTC, Ævar Arnfjörð Bjarmason
Details

Description Ævar Arnfjörð Bjarmason 2005-04-22 17:49:46 UTC
As well as exif metadata for JPEG images Ogg metadata should be supported,
however implementing this won't be as easy as exif for numerous reasons:

* There's no standard libary for it, we could use File_Ogg (see
http://pear.php.net/package/File_Ogg) but it's in beta state currently,
alternetively we could parse the raw output from ogginfo(1)
* We can't use img_type to determine that it's an Ogg file which should be
parsed, we could fall back to anything with an .ogg extension
Comment 1 Ævar Arnfjörð Bjarmason 2005-05-08 19:50:08 UTC
I tried mucking around with the Ogg::Vorbis::Header::PurePerl Perl module and it
works very well, time to make Vorbis.php that parses the output of a custom
perlscript.
Comment 2 Ævar Arnfjörð Bjarmason 2005-05-09 17:21:54 UTC
Created attachment 507 [details]
An Ogg tag reader using Ogg::Vorbis::Header::PurePerl;

This is an Ogg Vorbis tag reader using Ogg::Vorbis::Header::PurePerl, I think
the best way to support Ogg metadata currently is to use something like this,
the php implementations seem to be really immature.

We could just use STDIN and STDOUT to communicate with the program:

$ ./ogginf jly.ogg 
Comments:
	title = Just Like You Imagined 
	artist = Nine Inch Nails 
	album = The Fragile - Left Disc 
	tracknumber = 7 
	encodedby = Ari 
	genre = Industrial 
	date = 1999 
Info:
	bitrate_upper = 0 
	framing_flag = 1 
	channels = 2 
	version = 0 
	blocksize_0 = 4096 
	blocksize_1 = 512 
	rate = 44100 
	length = 229 
	bitrate_nominal = 224963 
	bitrate_window = -1 
	bitrate_lower = 0 
	offset = 304
Comment 3 Brion Vibber 2007-08-24 14:04:13 UTC
I think this is pretty much being done in the OggHandler extension...
Comment 4 Victor Vasiliev 2008-04-20 09:53:47 UTC
OggHandler extension stores OGG metadata.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links