You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: