Discussion:
[FFmpeg-user] support for .oga and .ogx formats? (sort of feature request)
roger21
2014-03-25 13:07:43 UTC
Permalink
hello,

i'm surprised the .oga format is not supported while the .ogv is, and
they both seems to be aliases to .ogg anyway

since .oga is the official extension of the audio/ogg MIME type (just
like .ogv is the official extension for the video/ogg MIME type) it
would be nice to have both https://wiki.xiph.org/MIMETypesCodecs

i understand .ogx could be a bit more complicated since the format seems
more featured

so my question would be, is there an explanation, is it experimental, is
it so lame that nobody care anyway?

thanks
Reindl Harald
2014-03-25 13:57:23 UTC
Permalink
i'm surprised the .oga format is not supported while the .ogv is, and they both seems to be aliases to .ogg anyway
since .oga is the official extension of the audio/ogg MIME type (just like .ogv is the official extension for the
video/ogg MIME type) it would be nice to have both https://wiki.xiph.org/MIMETypesCodecs
i understand .ogx could be a bit more complicated since the format seems more featured
so my question would be, is there an explanation, is it experimental, is it so lame that nobody care anyway?
why do you think so?
you tell ffmpeg with params what it should do

-f ogg -acodec vorbis -strict experimental"
-f ogg -acodec libvorbis
Carl Eugen Hoyos
2014-03-25 14:24:38 UTC
Permalink
Post by roger21
so my question would be, is there an explanation,
is it experimental,
(I don't think so, after all we support muxing ogg
files which is exactly - 100% - the same.)
Post by roger21
is it so lame that nobody care anyway?
Yes, I think so.

Anyway, patch for .oga sent.

Carl Eugen
Carl Eugen Hoyos
2014-03-25 16:31:06 UTC
Permalink
Post by roger21
i'm surprised the .oga format is not supported while the .ogv is
Should be fixed, thank you for the report!

Carl Eugen
roger21
2014-03-29 23:26:25 UTC
Permalink
ok so i saw that "oga" is now a format in the "ffmpeg -formats" list and
that is nice

but now i am confused, i said the "ogv" format is supported because i
made an "ogv" file just by using the ".ogv" extension (and yes it made
something quite identical to ogg and it was ok for me - and it still
works) but i actually have two issues about that now:

first, i tried to fake an "ogx" file into an "ogv" file using the "-f
ogv" parameter and it didn't work because it didn't know what that "ogv"
format was (i eventually used -f ogg instead)

without "-f":

[NULL @ 02df8020] Unable to find a suitable output format for
'video.ogx.theora.vorbis.c.c.ogx'
video.ogx.theora.vorbis.c.c.ogx: Invalid argument

with "-f ogv":

[NULL @ 02df8020] Requested output format 'ogv' is not a suitable output
format
video.ogx.theora.vorbis.c.c.ogx: Invalid argument

and then, "ogv" is not in the format list (as "oga" is now)

so i was thinking "ogv" is a sloppy clone, not in the list, not usable
with "-f" ... but as i see it now for "oga" (wich is a total clone) all
of that is false, it is in the list and i can use it with "-f" ...

so at the end i don't understand what is "ogv" for ffmpeg and shouldn't
it be usable just as "oga" now or does "oga" have to much privileges now?

(yes, confused)
Post by Carl Eugen Hoyos
Post by roger21
i'm surprised the .oga format is not supported while the .ogv is
Should be fixed, thank you for the report!
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reindl Harald
2014-03-29 23:42:44 UTC
Permalink
first, i tried to fake an "ogx" file into an "ogv" file using the "-f ogv" parameter and it didn't work because it
didn't know what that "ogv" format was (i eventually used -f ogg instead)
video.ogx.theora.vorbis.c.c.ogx: Invalid argument
video.ogx.theora.vorbis.c.c.ogx: Invalid argument
why don't you read your replies?
"ogv" is not a format "ogg" is one

ffmpeg -i test.mp3 -f ogg -acodec vorbis -strict experimental test.oga
Output #0, ogg, to 'test.oga':
Metadata:
title : Mamma Mia
artist : ABBA
album : ABBA
genre : Pop
track : 1
date : 1975
encoder : Lavf55.33.100
Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp
___________________________________

ogv is the same and works at least the last 4 or 5 years with libtheora / libvorbis

-f ogg -vcodec libtheora -acodec vorbis -strict experimental
-f ogg -vcodec libtheora -acodec libvorbis

"-acodec vorbis -strict experimental" in case you don't have linked "libvorbis"

-------- Original-Nachricht --------
Betreff: Re: [FFmpeg-user] support for .oga and .ogx formats? (sort of feature request)
Datum: Tue, 25 Mar 2014 14:57:23 +0100
Von: Reindl Harald <***@thelounge.net>
Antwort an: FFmpeg user questions <ffmpeg-***@ffmpeg.org>
Organisation: the lounge interactive design
i'm surprised the .oga format is not supported while the .ogv is, and they both seems to be aliases to .ogg anyway
since .oga is the official extension of the audio/ogg MIME type (just like .ogv is the official extension for the
video/ogg MIME type) it would be nice to have both https://wiki.xiph.org/MIMETypesCodecs
i understand .ogx could be a bit more complicated since the format seems more featured
so my question would be, is there an explanation, is it experimental, is it so lame that nobody care anyway?
why do you think so?
you tell ffmpeg with params what it should do

-f ogg -acodec vorbis -strict experimental"
-f ogg -acodec libvorbis
Carl Eugen Hoyos
2014-03-31 08:39:50 UTC
Permalink
There is no format named "ogv" in libavformat / FFmpeg.
And since the name of the format is - unlike the
file extension - defined and only used within
FFmpeg and its users, it is very unlikely that we
change it: It would "confuse" users (actually anger
them).

Please don't top-post here, it is considered rude.

Carl Eugen

Loading...