8000 dr_flac: Slow Seeking With Ogg Container · Issue #231 · mackron/dr_libs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
dr_flac: Slow Seeking With Ogg Container #231
Open
@MikuAuahDark

Description

@MikuAuahDark

Seeking with native container is fast, but with Ogg container it's slow. The slowdown seems to be linear, the further I seek, the slower it becomes.

To test, first encode a file using FFmpeg to native FLAC.

ffmpeg -i input -c:a flac -compression_level:a 11 output.flac

Then perform remux to Ogg. This is important to preserve the totalPCMFrameCount in the STREAMINFO block, otherwise totalPCMFrameCount is 0 and seeking is not possible. (probably FFmpeg defect)

ffmpeg -i output.flac -c:a copy output.ogg

Then load output.ogg and perform seek. If you test output.flac, seeking is fast.

dr_flac 0.12.38.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0