Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 648
    • Issues 648
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 82
    • Merge requests 82
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-goodgst-plugins-good
  • Issues
  • #949

Closed
Open
Created Jan 16, 2022 by Petr Bříza@petr.briza

mp4mux faststart bufsize too low

Hello, function gst_qt_mux_send_buffered_data is too slow. I would love to use the "faststart" feature but this makes it impossible. I think the reason is simply the bufsize. Some of my numbers: ~1min recording (32 MB) is finalized during ~40sec, which makes the processing rate ~5ms per buffer (which is 4kB). I don't think there is much room for optimization of processing of each buffer. I've already tried buffering downstream, that doesn't help much. But using larger buffer would help, for sure. Normally I work with 1MB buffers while file copying and I am quite happy with that. I can understand why 4096 has been chosen but overhead is just too high.

Also, having the buffer 1MB is not for everyone as well, so I think it's worth having the bufsize configurable. Thanks for considering.

Edited Jan 16, 2022 by Petr Bříza
Assignee
Assign to
Time tracking