Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When writing directly, there can be a ECONNRESET error thrown #1

Open
tungs opened this issue Feb 21, 2018 · 0 comments
Open

When writing directly, there can be a ECONNRESET error thrown #1

tungs opened this issue Feb 21, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tungs
Copy link
Owner

tungs commented Feb 21, 2018

When writing to the ffmpeg's stdin (i.e. when not in frame mode), there can be a ECONNRESET error thrown from the ffmpeg process. It looks like this is caused by ffmpeg resetting the input stream for some option configurations. In these observed cases, it seems to not be thrown when ffmpeg is passed the -pix_fmt yuv420p option for its output.

In any case, this should error should be detected and recommend the user to switch to frame mode or -pix_fmt.

@tungs tungs self-assigned this Feb 21, 2018
@tungs tungs added the enhancement New feature or request label Feb 21, 2018
@tungs tungs changed the title When piping, there can be a ECONNRESET error thrown When writing directly, there can be a ECONNRESET error thrown Feb 21, 2018
@huocaiit huocaiit mentioned this issue Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant