Skip to content

GitLab

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

Closed
Open
Opened Oct 02, 2002 by tgirmann@tgirmann

OggEnc 1.0 crashes on trivial resampling after encoding (and leaves an unfinished ogg file behind)

Example: oggenc --resample 44100 SomeSong.wav

In my tests SomeSong.wav had 44100 Hz, 16 bits per sample, Stereo.

The crash occurs after encoding is finished and file statistics are printed to
console (but before the buffers are flushed and header is updated). I've
compared 2 files (one encoded with --resample 44100 and one without); the last
0xA92 bytes were missing from the first ogg file and some values in the header
were different (but all other bytes were identical).

The bug is independent from the number of channels (i.e. using --resample or
mono input will cause the bug, too); file size doesn't seem to matter either
(tested files with length of 4 seconds as well as ones with length of 4 minutes)

When setting an invalid bit rate (e.g. -b 32 for CD quality input) the crash
occurs too (immediately now as there's nothing to encode).


IMO this bug is not trivial as it can easily occur when doing batch processing.


Version info (as the appropriate field is missing above):

OggEnc v1.0 (libvorbis 1.0)
(c) 2000-2002 Michael Smith <msmith@l (...) >
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/vorbis-tools#253