Skip to content

ffmpeg memory leak while using -thread_queue_size xxx #7

@gaamaaresosa

Description

@gaamaaresosa

I see most of the ffmpeg video streaming comand with
-thread_queue_size xxx
But no one write about heavy memory leak and the stream freeze after 1 or 2 hrs.
Initially I suspected the ffmpeg build version. Then I almost tried 4 to 5 different builds and versions having same issue.

You can observer the memory keep on increasing with few seconds at htop.

Can some one assure the issue if with ffmpeg+thread_queue_size combo or just on few builds ?

Also ALSA buffer xrun issue:

[alsa @ 0x2d91360] ALSA buffer xrun.9371kB time=00:06:53.53 bitrate=3751.4kbits/s speed=0.968x
[alsa @ 0x2d91360] ALSA buffer xrun.5676kB time=00:07:07.74 bitrate=3747.5kbits/s speed=0.969x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions