Skip to content

FFmpeg stream unpipes around 20 seconds before end of audio file #10

@mbilker

Description

@mbilker

YouTube does not always have an Opus audio file available and any other format I pass to Discordie's FFmpegEncoder. This has been happening recently after some of the SIGTERM and SIGKILL changes were implemented, but I am uncertain if this issue is caused by those changes.

I noticed that the stream never fires an unpipe or end event. The timestamp shows the audio file stopped around 8 seconds from the end of the audio file for a full-length song (approx. 3 minutes).

I am still investigating the cause of this. Turning on FFmpegEncoder's debug does not show an error, but I may need to increase the log verbosity.

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