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
  • #1895

Closed
Open
Created Aug 27, 2012 by Thomas Pfaff@tpfaff

oggdec print progress information too fast. Slows process and system down.

I'm using oggdec on OpenBSD where I do not have accelerated graphics. The fast output of progress information from oggdec slows not only the decode process down but also the system. For example "oggdec -Q -o bar.wav foo.ogg" takes about 1.2 seconds while "oggdec -o bar.wav foo.ogg" takes about 3.1 seconds. About 2 seconds wasted just to print progress information.

I made a quick hack that generates a SIGALRM every 250 ms or so that sets a variable telling the decoder to print progress information, i.e. "if (!quiet && seekable && update) { update = 0; ... }"... I'm not sure if this is the way to go but at least it fixes the problem for me. I can always just use -Q or hide the xterm but I want to see the progress information.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None