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

Open
ishandutta2007 opened this issue Nov 9, 2018 · 0 comments · May be fixed by #2114
Open

KeyError: 'video_fps' #869

ishandutta2007 opened this issue Nov 9, 2018 · 0 comments · 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
@bzczb bzczb linked a pull request Feb 14, 2024 that will close this issue
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.

2 participants