acc6553f80d17469bedfdcdab2ea676478a49d9d,tools/effmpeg.py,Effmpeg,get_info,#Any#Any#,379

Before Change


        _input_opts = Effmpeg._common_ffmpeg_args[:]
        _inputs = {input_.path: _input_opts}
        ffp = FFprobe(inputs=_inputs)
        out = ffp.run(stdout=subprocess.PIPE,
                      stderr=subprocess.STDOUT)[0].decode("utf-8")
        if print_:
            logger.info(out)

After Change


    @staticmethod
    def get_info(input_=None, print_=False, **kwargs):
         Get video Info 
        logger.debug("input_: %s, print_: %s, kwargs: %s", input_, print_, kwargs)
        input_ = input_ if isinstance(input_, str) else input_.path
        logger.debug("input: %s", input_)
        reader = imageio.get_reader(input_)
        out = reader.get_meta_data()
Italian Trulli
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_info


Project Name: michaelhush/M-LOOP
Commit Name: 6e5cf676b113af8d70e34224f23bc8eace618856
Time: 2017-05-02
Author: harry.slatyer@gmail.com
File Name: mloop/nnlearner.py
Class Name: SingleNeuralNet
Method Name: fit


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