Hello, I just noticed that ogginfo is not properly detecting Ogg FLAC files. To fix the issue I will need to know what is the correct magic for Ogg FLAC and how big are the packet bytes. Please advise. -Ivo
--- Ivo Emanuel Gon?alves <justivo@gmail.com> wrote:> Hello, > > I just noticed that ogginfo is not properly detecting Ogg FLAC files. > To fix the issue I will need to know what is the correct magic for > Ogg FLAC and how big are the packet bytes. > > Please advise.I think everything you need is here: http://flac.sourceforge.net/ogg_mapping.html let me know if that doesn't have enough info. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
On 2/11/08, Josh Coalson <xflac@yahoo.com> wrote:> let me know if that doesn't have enough info.I'd say it had enough info, but too much for what I needed. I ended up finding the answer in oggenc/flac.c: it's "\177FLAC" not "fLaC" as ogginfo claimed. Is this right, Josh? While my patched ogginfo now detects Ogg FLAC properly, I'm not sure if this is the correct method. ogginfo only checks for magic and packet size. -Ivo
Seemingly Similar Threads
- oggz-validate does not seem to check for correctly framed headers
- How Ogg mappings translate into the codecs parameter in Ogg media types
- How Ogg mappings translate into the codecs parameter in Ogg media types
- How Ogg mappings translate into the codecs parameter in Ogg media types
- [PATCH] skeleton.c