sergeytulyakov / mocogan

MoCoGAN: Decomposing Motion and Content for Video Generation
578 stars 114 forks source link

Problem in running generate_videos.py #12

Open vipulbjj opened 6 years ago

vipulbjj commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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