def libvlc_video_take_snapshot(p_mi, num, psz_filepath, i_width, i_height):
    f = _Cfunctions.get('libvlc_video_take_snapshot', None) or \
        _Cfunction('libvlc_video_take_snapshot', ((1,), (1,), (1,), (1,), (1,),), None,
                    ctypes.c_int, MediaPlayer, ctypes.c_uint, ctypes.c_char_p, ctypes.c_int, ctypes.c_int)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_video_take_snapshot
        libvlc_video_take_snapshot = f
    return f(p_mi, num, psz_filepath, i_width, i_height)
Take a snapshot of the current video window.
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_video_take_snapshot