[Vorbis-dev] Proposal: An extension to rules all others
Sebastian Olter
qduaty at gmail.com
Sat Jan 20 22:33:06 PST 2007
Why change something that worked well for several years? People,
including me, know that something.ogg is a song "Something" encoded in
Vorbis, and they like vorbis due to its simplicity; indeed, there is
no simplest way to create high quality music encodings than do it with
OGG.
Regardless of many good ideas discussed here, I think the best way to
name Theora videos is to give them an .ogv extension - it will
maintain current simplicity and allow us to distinguish between audio
and video files.
The only (well known) file explorer which looks into media files to
make a preview is Windows Explorer. We need a different extension for
videos in order to find them elsewhere; think about shell scripts.
Consider a Linux directory tree with many Vorbis and Theora files, all
with .ogg extension. When we want to see videos (we cannot see music
itself), such a command in bash might be applicable:
for file in $(ls -R | grep .ogg); do
[ $(oggtest "$file") == "video" ] && ln "$file" ..
done
where oggtest is a hypothetical script to distinguish between audio
and video oggs, which takes, say, 0.3s to do what is supposed to; it
could return 'video' for videos and 'audio' for music. Wouldn't it be
easier to just check for extension?
More information about the Vorbis-dev
mailing list