Tim Starling wrote:
I know, I've read the spec. But presumably it is
fairly rare for Ogg files
to consist of chained audio and video streams. Most Ogg files can be easily
categorised as either audio or video. It's not a problem that you can
construct a file which can't be, and it's not a problem that at present, it
may be difficult to automatically distinguish between the two.
I disagree. Almost every ogg file that contains video also contains
audio (the "normal" definition of a "video file" implicitly includes
audio). But not every, just almost. I have seen many scientific
publications, videos of experiments and such, with no audio.
I'm not suggesting that there should be an
extension for every permutation.
I'm just suggesting that for files which are clearly video files, .ogv would
be an appropriate extension. There are two important applications for .ogg,
audio and video, is it really so horrible to suggest that one of them might
deserve its own extension?
You are making arbitrary distinctions. OGG containing Theora (the video
format of the ogg project) and OGG containing MPEG4 (via xvid, usually)
are just as different, in the same ways, as OGG+Theora and OGG+Vorbis
(or even OGG+MP3 or OGG+FLAC).
Proper desktop
systems have been doing the right thing for ages now,
for example the Gnome file manager doohicky (nautilus) correctly shows
a thumbnail and movie strip views on video files, while it shows a
music icon on audio files.
Even Windows Vista can happily differentiate files with file magic...
Scanning files for stream headers is slow, and you can't expect every
application to support it. Gnome does, Windows Vista does, but what about
the directory list module in Lighttpd? What about the unix ls command? What
about FTP clients, archivers and older desktop systems?
Why would any of those applications need to support it? File extensions
are archaic, a dying anachronism in today's world of file magic and/or
MIME types. Let them go.
What exactly is the disadvantage to using two
different file extensions for
Ogg rather than one?
The disadvantage is that they are arbitrary, and convey almost no useful
information about the actual contents of the file. And, to bring up an
odd anti-example, would you have us rename a Theora+Vorbis file from
.ogv to .oga just because we deleted the Theora stream? That would be
like having a dozen extensions for PNG images just to indicate which
chunks are used.
Extensions are
just too inflexible to match up with reality... Ogg
isn't at all the only container to give up on that.. for example, what
extension does a PDF of layed out ascii have? A PDF of scanned pages?
A PDF of postscript algorithms that computes fractals?
Nonsense, there are three types of ogg: audio, video and weird rubbish that
nobody cares about. To use a different extension to one of these brings
instant usability benefits to a large volume of users.
Nonsense, there are at least 5 extremely common types of ogg:
Theora+Vorbis, Theora+AAC, Vorbis, MPEG4+MP3, and (everything else).
And, to make a final inquiry... What players are you people using that
can play OGG+(Vorbis/MP3/AAC/FLAC) but cant play OGG+(Theora/MPEG4)? I
have a half dozen media players installed on my machine, including
mplayer, xmms, totem, and xine, and every one of them can play every
media file I have, video, audio, or otherwise.