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

Problem in running generate_videos.py #12

Open
vipulbjj opened this issue Jun 20, 2018 · 2 comments
Open

Problem in running generate_videos.py #12

vipulbjj opened this issue Jun 20, 2018 · 2 comments

Comments

@vipulbjj
Copy link

#3

After doing the ffmpeg thing as told by you in the issue referred above, I'm getting this error

Attached screenshot of the error
https://drive.google.com/file/d/13AuoobWDDfAEC4yNQQpiRVllvu-NRjwt/view?usp=sharing
@sergeytulyakov Please help.

@Jehereg
Copy link

Jehereg commented Jul 24, 2018

Hey again :)
Ran into a similar issue. In my case the solution was actually simple.
The default output format is gif, but the ffmpeg command in save_video specifies '-c:v', 'mjpeg'.
Either specify --output_format=mp4 or change the code to '-c:v', 'gif'.
Both worked for me. Hope it helps :)

@sergeytulyakov
Copy link
Owner

try removing stdin=sp.PIPE, stderr=sp.PIPE from

pipe = sp.Popen(command, stdin=sp.PIPE, stderr=sp.PIPE)

to get the details of the error

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

No branches or pull requests

3 participants