Skip to content

Error: 'Failed to capture next audio frame' leads to audio stop #27

@antbricks

Description

@antbricks

Running ctune 1.2.0 on Arch + Konsole (latest)

While playing a stream, occasionally (every 5-10 minutes, depending on station) will get the error in the title.
Can resume playing by hitting the 'r' key.

Attached log while running --debug.

I experience the issue more frequently on this station: "Technolovers DRUM N BASS"
but it happens on other stations as well.

Rather than stopping completely, I would expect the playback to resume as soon as possible. Maybe there would be an audio drop for a second while the buffers catch up, but not a complete stop just for missing a frame. I have to switch back to the terminal and hit 'r' whenever this happens.

I realize this is ffmpeg throwing the error, but maybe it could be restarted, just logging the error?

ctune_audio_stop.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions