Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis tools Vorbis tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Vorbis toolsVorbis tools
  • Issues
  • #678

Closed
Open
Created Jun 12, 2005 by millette@millette

oggenc doesn't read flac-in-ogg (created with flac --ogg)

$ flac --ogg audio_05.wav $ oggenc --output audio_05-128.ogg audio_05.ogg Erreur : le fichier d'entrée « audio_05.ogg » n'est pas dans un format reconnu (error: the input file is in an unknown format)

I'm using Debian/Sarge and grabbed theses sources: http://ftp.debian.org/debian/pool/main/v/vorbis-tools/vorbis-tools_1.0.1.orig.tar.gz

I also compared with the latest trunk from svn, same result.

I tried to fix it, but maybe the problem lies in flac. Here's what I did :

flac.c, line 43 : int oggflac_id(unsigned char *buf, int len) { if (len < 41) return 0;

return memcmp(buf, "OggS", 4) == 0 && flac_id(buf + 37, len - 37);

}

audio.c, line 47 /* Define the supported formats here */ {oggflac_id, 41, flac_open, flac_close, "ogg", N_("Ogg FLAC file reader")},

Really not sure why, but this now lets me encode oggflac files to oggvorbis with oggenc file.ogg, meaning when I create file.ogg with "flac --ogg ..."

Assignee
Assign to
Time tracking