MOGG file support

Audio software developers forum.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

MOGG file support

Permanent link to this post Posted by Joe Cool » Tue Mar 06, 2018 10:40 pm

As Audition is the only open source software (I know) that can read a MOGG file, I was browsing though the code to understand its file format. However I could not find any handling for this file type in the sources. Can anybody give me a hint which source file does the MOGG file header handling and stream extraction?
Thanks in advance,

Chris
Joe Cool
 
Posts: 3
Joined: Tue Mar 06, 2018 9:41 pm
Operating System: Windows 7

Re: MOGG file support

Permanent link to this post Posted by steve » Tue Mar 06, 2018 11:01 pm

Mogg files are a variation of the OGG format.
Audacity can open "some" Mogg files using the OGG decoder. The OGG format is specified by xiph.org (https://xiph.org/ogg/)
I'm not aware of any official specification for Mogg files, sometimes they are standard OGG files with just the file extension changed - sometimes not. There's no guarantee that Audacity will open a Mogg file, it all depends what the file really is.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 47006
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: MOGG file support

Permanent link to this post Posted by Joe Cool » Wed Mar 07, 2018 6:07 pm

I have analysed the MOGGs I have, these are not just renamed OGGs, but have special MOGG file headers before 1 - n regular OGG streams follow. No other (OGG aware) player can read these files - but Audacity can! So there must be some "magic" in the Audition source code, that I didn't find so far. Or does it use any "special" OGG Lib?

Thanx,
Chris
Joe Cool
 
Posts: 3
Joined: Tue Mar 06, 2018 9:41 pm
Operating System: Windows 7

Re: MOGG file support

Permanent link to this post Posted by steve » Wed Mar 07, 2018 6:23 pm

Audacity will use libogg (from http://www.xiph.org/) if it identifies the file as an OGG file, otherwise it will try to import with FFmpeg if FFmpeg is installed.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 47006
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: MOGG file support

Permanent link to this post Posted by Joe Cool » Mon Mar 12, 2018 12:26 pm

Yes, you're right. After a lot of experimenting and code analysis I agree that libogg / libvorbis do a perfect job. I wonder that so few other software, that include libvorbis, can deal with MOGG...
Joe Cool
 
Posts: 3
Joined: Tue Mar 06, 2018 9:41 pm
Operating System: Windows 7


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 2 guests