[Vorbis] .ogg extension and Theora

Arc Riley arc
Thu Jun 17 16:47:50 PDT 2004


<Pine.LNX.4.44.0406171604550.962-100000 at sasami.anime.net>
Message-ID: <20040617234750.GD17559 at xiph.org>

On Thu, Jun 17, 2004 at 04:13:06PM -0700, Dan Hollis wrote:
>
> Well also consider this problem. User has a filesystem filled with ogg
> files. Maybe a couple hundred. Some example filenames.
>
> bingo.ogg
> duality.ogg
> elite.ogg
> fivestars.ogg
> rainbow.ogg
> science.ogg
> the_doors.ogg
> the_police_-_every_breath_you_take.ogg
> the_code.ogg
>
> Now quickly move all video files to /video/ and all audio files to /audio/
>
> Now how would a newbie easily do this?
>
> I know that *I*, the experienced unix user can cook up a script with
> file/xargs/etc, but your typical novice user (windows or not) will never
> be able to.

Using your example, how would one catagorize a file that was part
audio-only, part video-only?  What if it contained almost all audio but
had a single still-frame attached to it?  Does that change the
extension?  What if the user wants this included in their audio
directory, but because of some "standard rule" it became a video file
because of a single frame of MNG or a little (optional) text?

Prehaps someone could write a simple tool, ie ogginfo, with flags which
report only which codecs are being used by a specific file.  That way
someone could build their own rules for how they want to sort it.  Or
someone could write a simple "move all" or "make these icons" script
based on py-ogg2 which allows the user to script the behavior they
really want?

This would be much cleaner than trying to fit every file into a limited
set of possible "use" extensions, especially since it'll be possible
(and typical) for files to contain multiple codecs, multiple ways,
chained different ways, etc.




More information about the Vorbis mailing list