slicexblock/slicexblock/slicexblock.py
def generate_slices(self, data, suffix=''):
        """
        It takes the id and then download the video file
        After that it slices the video to images.
        it is done using slicevideo thread.
        """
        self.video_id = data['video_id']

        # Create two threads as follows
        #thread.start_new_thread(download_video, ("Thread-1", 2, ))
        thread1 = SliceVideo(1, self.video_id, 1)
        thread1.start()
        self.video_slices_div = self.video_slices_div + "<div>" + self.video_id + "</div>"
        return {"video_id" : self.video_id}

        It takes the id and then download the video file
        After that it slices the video to images.
        it is done using slicevideo thread.
        
It takes the id and then download the video file
After that it slices the video to images.
it is done using slicevideo thread.
It takes the id and then download the video file After that it slices the video to images . it is done using slicevideo thread .
def generate_slices(self, data, suffix=''):
        self.video_id = data['video_id']
        thread1 = SliceVideo(1, self.video_id, 1)
        thread1.start()
        self.video_slices_div = self.video_slices_div + "<div>" + self.video_id + "</div>"
        return {"video_id" : self.video_id}
def generate_slices ( self , data , suffix = '' ) : self . video_id = data [ 'video_id' ] thread1 = SliceVideo ( 1 , self . video_id , 1 ) thread1 . start ( ) self . video_slices_div = self . video_slices_div + "<div>" + self . video_id + "</div>" return { "video_id" : self . video_id }
It takes the id and then download the video file
After that it slices the video to images.
It takes the id and then download the video file After that it slices the video to images .
"""
        It takes the id and then download the video file
        After that it slices the video to images.
        it is done using slicevideo thread.
        """ # Create two threads as follows #thread.start_new_thread(download_video, ("Thread-1", 2, ))
self
data
suffix