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

Mixing Clips Example note working. #976

Closed
DumbMachine opened this issue Jun 22, 2019 · 3 comments
Closed

Mixing Clips Example note working. #976

DumbMachine opened this issue Jun 22, 2019 · 3 comments
Labels
examples Related to the code examples included in the documentation (examples dir).

Comments

@DumbMachine
Copy link

Expected Behavior

No errors.
Mixing Clips

Actual Behavior

Traceback (most recent call last):
  File "base.py", line 86, in <module>
    clip1 = VideoFileClip("x.mp4-0.mp4")
  File "/home/dumbmachine/anaconda3/lib/python3.7/site-packages/moviepy/video/io/VideoFileClip.py", line 91, in __init__
    fps_source=fps_source)
  File "/home/dumbmachine/anaconda3/lib/python3.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 34, in __init__
    self.fps = infos['video_fps']
KeyError: 'video_fps

Steps to Reproduce the Problem

from moviepy.editor import VideoFileClip, concatenate_videoclips
clip1 = VideoFileClip("x.mp4-0.mp4")
clip2 = VideoFileClip("x.mp4-1.mp4")
clip3 = VideoFileClip("x.mp4-2.mp4")
final_clip = concatenate_videoclips([clip1,clip2,clip3])
final_clip.write_videofile("my_concatenation.mp4")

Specifications

  • Python Version: 3.7
  • Moviepy Version: 1.0.0
  • Platform Name: Ubuntu
  • Platform Version: Bionic
@CommanderAsdasd
Copy link

On MacOS high sierra not reproducing. Did you tried another videofile? Or just to convert this one through ffmpeg

@tburrows13
Copy link
Collaborator

Linking #899

@tburrows13 tburrows13 added the examples Related to the code examples included in the documentation (examples dir). label May 29, 2020
@OsaAjani
Copy link
Collaborator

Thank you for your contributions and for reporting issues in this repository. With the release of v2, which introduces significant changes to the codebase and API, we’ve reviewed the backlog of open PRs and issues. Due to the length of the backlog and the likelihood that many of these are either fixed or no longer applicable, we’ve made the decision to close all previous PRs and issues.

If you believe that any of these are still relevant to the current version or if you'd like to reopen a related discussion, please feel free to create a new issue or pull request, referencing the old one.

Thank you for your understanding and continued support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Related to the code examples included in the documentation (examples dir).
Projects
None yet
Development

No branches or pull requests

4 participants