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

A bug in the notebook #4

Closed
Sreerag-ibtl opened this issue May 1, 2022 · 2 comments
Closed

A bug in the notebook #4

Sreerag-ibtl opened this issue May 1, 2022 · 2 comments

Comments

@Sreerag-ibtl
Copy link

My workflow included:

  • Ran the installation
  • Uploaded an image
  • Left the text box empty
  • Unchecked audio
  • Checked video
  • Uploaded driving video

When I ran the generate block, the below error occured:

OSError                                   Traceback (most recent call last)
[<ipython-input-4-631bb51a4437>](https://localhost:8080/#) in <module>()
     33 
     34 # Traceability
---> 35 tracability(final_video_driver)
     36 final_video_driver = "marked.mp4"
     37 get_ipython().system('ffmpeg -i $final_video_driver -i $audio_driver final_generated.mp4 -y &> /dev/null')

3 frames
[/usr/local/lib/python3.7/dist-packages/moviepy/video/io/ffmpeg_reader.py](https://localhost:8080/#) in ffmpeg_parse_infos(filename, print_infos, check_duration, fps_source)
    270         raise IOError(("MoviePy error: the file %s could not be found!\n"
    271                       "Please check that you entered the correct "
--> 272                       "path.")%filename)
    273 
    274     result = dict()

OSError: MoviePy error: the file merged.mp4 could not be found!
Please check that you entered the correct path.

I observed that the If block starting from line 28 uses an audio driver. Which is not present.

Is this expected, or am I missing something here? @valleballe

@kenchikuliu
Copy link

I meet the error too, any solution?

@valleballe
Copy link
Collaborator

I am unable to replicate your error. Sometimes the algorithm is unable to find the face in uploaded images which makes it unable to proceed. Did you try with other images? Can you share the files that you were unable to generate your video with?

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