[FFmpeg-devel] [PATCH 1/4] avformat/oggenc: make flac the default for oga muxer

James Almer jamrial at gmail.com
Mon Jul 11 17:41:20 EEST 2016


On 7/11/2016 11:11 AM, Michael Niedermayer wrote:
> On Wed, Jul 06, 2016 at 08:25:24PM -0300, James Almer wrote:
>> While not enforced, RFC 5334[1] recommends to use the .oga extension
>> for all audio codecs except Vorbis (.ogg) and Speex (.spx)
> 
> a recommandition to use .oga when Y does not imply a recommandition
> of the reverse (.oga -> Y)
> unless  miss or missunderstan something

Well, we clearly can't choose an extension based on the codec used
during muxing, but we can make libavformat default to flac when no
codec is specified and oga output is requested, much like we do
with Speex when using .spx and Opus when using .opus, both also
non enforced recommendations.
It's not like it forbids the use of other codecs, like it evidently
happens with video codecs in patch 3.


More information about the ffmpeg-devel mailing list