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

Downgrading imageio-ffmpeg to 0.2.0 fixes the broken pipe command whe… #2

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

anonusername
Copy link

@anonusername anonusername commented Sep 29, 2021

"Broken Pipe" error with imageio-ffmpeg

Imageio-ffmpeg was crashing with a "Broken Pipe" error when app started to create the MP4 at the end of the processing.

Found the suggestion below to downgrade imageio-ffmpeg to 0.2.0 and now the movie creation works.

lengstrom/fast-style-transfer#253 (comment)

@tnwei
Copy link
Owner

tnwei commented Sep 30, 2021

Hmm interesting, I haven't faced any issues w/ imageio-ffmpeg thus far. Seems like the broken pipe error can arise a few ways, from using an outdated version of ffmpeg, having odd number in video width and height, or writing to tempfiles that don't have an extension (fixed). Can't tell what the underlying issue is here.

Either way, accepting this PR, thanks for your contribution!

@tnwei tnwei merged commit 9db8fe0 into tnwei:main Sep 30, 2021
@anonusername
Copy link
Author

Hmm interesting, I haven't faced any issues w/ imageio-ffmpeg thus far. Seems like the broken pipe error can arise a few ways, from using an outdated version of ffmpeg, having odd number in video width and height, or writing to tempfiles that don't have an extension (fixed). Can't tell what the underlying issue is here.

Either way, accepting this PR, thanks for your contribution!

Well, it cannot be the outdated verison of ffmpeg since the enviroment is downloading it
The odd video width and height I don't think is the reason since even with defaults, it would break with the pipe
The third is very similiar to the error (cannot write in the _io.py) but it suddenly worked AFTER installing imageio_ffmpeg 0.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants