neural-style-tf
neural-style-tf copied to clipboard
issue regarding stylizing video frames
I am trying to stylizing video frames which are in video_input folder and used advanced bash command on your github for the same but i don't know how to generate flow files using make-opt-flow.sh
can you tell me the steps?
i guess make-opt-flow.sh file is run using : ./make-opt-flow.sh "world_video_frames1/frame_{}.ppm" "video_output" my frames are in format frame_0001.ppm
just ran into the same issue, were you able to figure this out?
It is working for me, you have to add the %04d
so the parser recognize your frames:
bash make-opt-flow.sh my_folder/my_frames/frame_%04d.ppm my_folder/my_opticalflow_folder
If you want to manually extract the frames, you can run this:
ffmpeg -i video.mp4 my_folder/my_frames/frame_%04d.ppm