acc6553f80d17469bedfdcdab2ea676478a49d9d,tools/effmpeg.py,Effmpeg,get_fps,#Any#Any#,357
Before Change
_inputs = {input_.path: _input_opts}
logger.debug(_inputs)
ffp = FFprobe(inputs=_inputs)
_fps = ffp.run(stdout=subprocess.PIPE)[0].decode("utf-8")
_fps = _fps.strip()
if "/" in _fps:
_fps = _fps.split("/")
After Change
reader = imageio.get_reader(input_)
_fps = reader.get_meta_data()["fps"]
logger.debug(_fps)
reader.close()
if print_:
logger.info("Video fps: %s", _fps)
return _fps
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: deepfakes/faceswap
Commit Name: acc6553f80d17469bedfdcdab2ea676478a49d9d
Time: 2019-07-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: get_fps
Project Name: deepfakes/faceswap
Commit Name: acc6553f80d17469bedfdcdab2ea676478a49d9d
Time: 2019-07-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: get_info
Project Name: astorfi/TensorFlow-World
Commit Name: 8d69aaf8fd5ccbed28e63c44565d19eee38092b2
Time: 2017-04-15
Author: amirsina.torfi@gmail.com
File Name: codes/0-welcome/code/1-welcome.py
Class Name:
Method Name: