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

KeyError: 'video_fps' #869

Closed
ishandutta2007 opened this issue Nov 9, 2018 · 1 comment · May be fixed by #2114
Closed

KeyError: 'video_fps' #869

ishandutta2007 opened this issue Nov 9, 2018 · 1 comment · May be fixed by #2114
Labels
bug Issues that report (apparent) bugs. lib-FFmpeg Issues pertaining to dependency FFmpeg. video Related to VideoClip and related classes, or handling of video in general.

Comments

@ishandutta2007
Copy link
Contributor

Expected Behavior

No error should occur as per docs

Actual Behavior

Traceback (most recent call last):
File "intro_prepare.py", line 10, in

File "/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/site-packages/moviepy/video/io/VideoFileClip.py", line 91, in init
fps_source=fps_source)
File "/Users/ishandutta2007/.pyenv/versions/3.5.0/lib/python3.5/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 *
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

from PIL import Image

ffmpeg_extract_subclip("./library/mySound_Effect.mp4", 6, 8.7, targetname="test.mp4")
intro_sound_vidio_clip = VideoFileClip('test.mp4')

Specifications

  • Python Version: 3.5.0
  • Moviepy Version: 0.2.3.5
  • Platform Name: OSX 10.13
  • Platform Version: 10.13(High Sierra)
@keikoro keikoro added the video Related to VideoClip and related classes, or handling of video in general. label Dec 16, 2018
@keikoro keikoro added lib-FFmpeg Issues pertaining to dependency FFmpeg. bug Issues that report (apparent) bugs. labels Jan 13, 2022
bzczb added a commit to bzczb/moviepy that referenced this issue Jan 27, 2023
@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
bug Issues that report (apparent) bugs. lib-FFmpeg Issues pertaining to dependency FFmpeg. video Related to VideoClip and related classes, or handling of video in general.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants