add force_framerate flag
This commit is contained in:
parent
70565970b3
commit
414cb00115
1 changed files with 1 additions and 0 deletions
|
@ -260,6 +260,7 @@ def ffprobe(filename):
|
|||
}.get(key, key)] = fix_value(key, s[key])
|
||||
if 'avg_frame_rate' in s and stream.get('framerate') == "90000:1":
|
||||
stream['framerate'] = fix_value('r_frame_rate', s['avg_frame_rate'])
|
||||
stream['force_framerate'] = True
|
||||
info[s['codec_type']].append(stream)
|
||||
elif s.get('codec_type') == 'subtitle':
|
||||
info['subtitles'] = info.get('subtitles', [])
|
||||
|
|
Loading…
Reference in a new issue