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

ffmpeg_parse_infos fails while parsing tbr #352

Closed
ilyamaslo opened this issue Nov 9, 2016 · 2 comments
Closed

ffmpeg_parse_infos fails while parsing tbr #352

ilyamaslo opened this issue Nov 9, 2016 · 2 comments

Comments

@ilyamaslo
Copy link

I tryin to create VideoFileClip from wemb file and get
ValueError: could not convert string to float: '1k'.
--> 302 tbr = float(line[match.start():match.end()].split(' ')[1])

In my case
line = " Stream #0:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 1k fps, 1k tbr, 1k tbn, 1k tbc (default)"

Looks like this code cannot handle this format of tbr.

python 3.5.1

@ghost
Copy link

ghost commented Mar 7, 2017

@ilyamaslo , could you try this again with the code in the repo. We just fixed a similar error, and I believe the repo may work for you now.

@ghost
Copy link

ghost commented Mar 13, 2017

Since I have not heard back, I'm closing this issue. Please reopen if the problem still exists.

@ghost ghost closed this as completed Mar 13, 2017
This issue was closed.
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

1 participant