185beee9e0b9843aefce872fdd73a10055716bad,skvideo/io/ffmpeg.py,FFmpegReader,__init__,#FFmpegReader#,41

Before Change


            // open process with supplied arguments,
            // grabbing number of frames using ffprobe
            probecmd = [_FFMPEG_PATH + "/ffprobe"] + ["-v", "error", "-count_frames", "-select_streams", "v:0", "-show_entries", "stream=nb_read_frames", "-of", "default=nokey=1:noprint_wrappers=1", self._filename]
            self.inputframenum = np.int(check_output(probecmd).split("\n")[0])

        // Create process

After Change


            // open process with supplied arguments,
            // grabbing number of frames using ffprobe
            probecmd = [_FFMPEG_PATH + "/ffprobe"] + ["-v", "error", "-count_frames", "-select_streams", "v:0", "-show_entries", "stream=nb_read_frames", "-of", "default=nokey=1:noprint_wrappers=1", self._filename]
            self.inputframenum = np.int(check_output(probecmd).decode().split("\n")[0])

        // Create process
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-video/scikit-video
Commit Name: 185beee9e0b9843aefce872fdd73a10055716bad
Time: 2017-04-14
Author: beyondmetis@gmail.com
File Name: skvideo/io/ffmpeg.py
Class Name: FFmpegReader
Method Name: __init__


Project Name: oddt/oddt
Commit Name: 16e5987303c8a94fd62b64023c1f0852cadc75a6
Time: 2016-11-16
Author: maciek@wojcikowski.pl
File Name: oddt/docking/AutodockVina.py
Class Name: autodock_vina
Method Name: __init__


Project Name: Picovoice/porcupine
Commit Name: df0318eaa27dbb433647f28d8ef827b8a2d11556
Time: 2019-10-09
Author: alireza@picovoice.ai
File Name: resources/util/python/util.py
Class Name:
Method Name: _pv_linux_machine