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

Before Change


    @staticmethod
    def get_info(input_=None, print_=False, **kwargs):
         Get video Info 
        _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)
        logger.debug(out)
        return out

After Change


        reader.close()
        if print_:
            logger.info("======== Video Info ========",)
            logger.info("path: %s", input_)
            for key, val in out.items():
                logger.info("%s: %s", key, val)
        return out
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: ray-project/ray
Commit Name: 82f9c7014e2d0acd3e3869066f5dc3142ec9e7a7
Time: 2020-12-17
Author: 62982571+Gekho457@users.noreply.github.com
File Name: python/ray/autoscaler/_private/command_runner.py
Class Name: KubernetesCommandRunner
Method Name: _home


Project Name: mindsdb/mindsdb
Commit Name: f2295566b0876a380f4de7b350809a8f2636b52c
Time: 2020-06-26
Author: stpmax@yandex.ru
File Name: mindsdb/api/mysql/mysql_proxy/mysql_proxy.py
Class Name: MysqlProxy
Method Name: handshake