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

fix video writing issue #326 #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wzds2015
Copy link

Some issue in imageio api to write video. Switch to opencv and write one frame each time.

@murphybread
Copy link

Thanks to this, the mp4 comes out fine and is about 300 KB!

I'm getting that warning after the change, but what does it say? How does it affect the output of this project?

OpenCV: FFMPEG: tag 0x5634504d/'MP4V' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'

@KenanHuang
Copy link

The writting plugin requires imageio_ffmpeg or av plugin if you want to output a video.

The problem might be solved after trying the following command:
apt-get update # step 1
apt-get install ffmpeg # step 2
pip install av imageio_ffmpeg # step 3

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.

3 participants