Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis tools Vorbis tools
  • Project information
    • Project information
    • Activity
    • Labels
    • 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
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • Vorbis toolsVorbis tools
  • Issues
  • #1895
Closed
Open
Issue 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
Time tracking