Video processing routines for SciPy

Related tags

Video scikit-video
Overview

scikit-video

Video Processing SciKit BETA

Video processing algorithms, including I/O, quality metrics, temporal filtering, motion/object detection, motion estimation...

This is intended as a companion to scikit-image, containing all the algorithms which deal with video. There is a certain degree of overlap between image and video algorithms, for example a PSNR quality metric could be applied to pairs of images or pairs of video frames just as well. However, other algorithms are video-specific, for example a temporal denoise. This is the future home of the video-specific algorithms, as well as some of the algorithms which are not strictly video specific but are usually seen in a video context.

This also has some overlap with OpenCV. Roughly, the algorithms implemented here would be easier to hack on, and more research-oriented. Rather than building on top of a C/C++ framework, this will stay Python all the way, using whichever combinaiton of Numba/Theano/etc seems best for performance. This should add flexibility and better future ability to use GPU compute.

The project milestones are roughly:

  • Add skeleton project from scikit-example - DONE
  • Add video I/O by wrapping ffmpeg/avconv (similar to kanryu/pipeffmpeg) - DONE
  • Add video metrics (from aizvorski/video-quality) - DONE
  • More contributions roll in :)
You might also like...
Takes a video as an input and creates a video which is suitable to upload on Youtube Shorts and Tik Tok (1080x1920 resolution).

Shorts-Tik-Tok-Creator Takes a video as an input and creates a video which is suitable to upload on Youtube Shorts and Tik Tok (1080x1920 resolution).

Turn any live video stream or locally stored video into a dataset of interesting samples for ML training, or any other type of analysis.
Turn any live video stream or locally stored video into a dataset of interesting samples for ML training, or any other type of analysis.

Sieve Video Data Collection Example Find samples that are interesting within hours of raw video, for free and completely automatically using Sieve API

Video-to-GIF-Converter - A small code snippet that can be used to convert any video to a gif

Video to GIF Converter Project Description: This is a small code snippet that ca

Video-stream - A telegram video stream bot repo
Video-stream - A telegram video stream bot repo

This is a Telegram Video stream Bot. Binary Tech 💫 Features stream videos downl

Terminal-Video-Player - A program that can display video in the terminal using ascii characters

Terminal-Video-Player - A program that can display video in the terminal using ascii characters

Boltstream Live Video Streaming Website + Backend

Boltstream Self-hosted Live Video Streaming Website + Backend Reference

Real-time video and audio streams over the network, with Streamlit.

streamlit-webrtc Example You can try out the sample app using the following commands.

This program is to make a video based on Deep Dream
This program is to make a video based on Deep Dream

This program is to make a video based on Deep Dream. The program is modified from DeepDreamAnim and DeepDreamVideo with additional functions for bleding two frames based on the optical flows. It also supports the image division to apply the Deep Dream algorithm to a large image.

Repository to create Ascii art in CMD based on video file.
Repository to create Ascii art in CMD based on video file.

Made to take any file format, and transform it into ascii art, displayed as a video in the cmd. If the cmd formatting is wrong, try zooming a little and remember to make cmd fullscreen. I made my cmd fullscreen, and zoomed out one tic. Written in Python 3.9

Comments
  • VideoWriter cannot write file

    VideoWriter cannot write file

    (env)jae@tesla ~/D/s/s/examples> python test_writer.py test_video 1280 720
    Traceback (most recent call last):
      File "test_writer.py", line 21, in <module>
        wr.open()
      File "/home/jae/Development/pigeon/env/local/lib/python2.7/site-packages/skvideo/io/__init__.py", line 150, in open
        self.proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
      File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
        errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
    
    opened by agiantwhale 2
  • Pypi access

    Pypi access

    Is it possible for me to share pypi access for updating scikit-video? I would also like to add you to the scikit-video group. Then we can get this thing launched.

    Email me at [email protected]

    opened by beyondmetis 0
  • AttributeError: VideoCapture instance has no attribute 'width'

    AttributeError: VideoCapture instance has no attribute 'width'

    The trace.

    
    In [1]: import sys
       ...: import skvideo.io
       ...: cap = skvideo.io.VideoCapture(0)
       ...: ret, frame = cap.read()
       ...: ret, frame
       ...: 
    ---------------------------------------------------------------------------
    AttributeError                            Traceback (most recent call last)
    <ipython-input-1-1bc15cb7822b> in <module>()
          2 import skvideo.io
          3 cap = skvideo.io.VideoCapture(0)
    ----> 4 ret, frame = cap.read()
          5 ret, frame
    
    /home/artur/.virtualenvs/demq27/local/lib/python2.7/site-packages/skvideo/io/__init__.pyc in read(self)
         56         retval = True
         57 
    ---> 58         nbytes = self.width * self.height * self.depth
         59 
         60         while len(self.buf) < nbytes:
    
    AttributeError: VideoCapture instance has no attribute 'width'
    

    Could you help?

    opened by barseghyanartur 1
  • Temporal Filtering

    Temporal Filtering

    As a video quality engineer, I'd like to see (and I have code for) temporal filters like gabor, 1st and 2nd derivatives of gaussian, and gamma. Is there a list of temporal filters that you are interested in producing?

    I also have a ton of other video code that I could contribute. Very cool project!

    opened by beyondmetis 3
Owner
Alex Izvorski
Alex Izvorski
video streaming userbot (vsu) based on pytgcalls for streaming video trought the telegram video chat group.

VIDEO STREAM USERBOT ✨ an another telegram userbot for streaming video trought the telegram video chat. Environmental Variables ?? API_ID : Get this v

levina 6 Oct 17, 2021
High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:

Releases | Gears | Documentation | Installation | License VidGear is a High-Performance Video Processing Python Library that provides an easy-to-use,

Abhishek Thakur 2.6k Dec 28, 2022
Streamlink is a CLI utility which pipes video streams from various services into a video player

Streamlink is a CLI utility which pipes video streams from various services into a video player

null 8.2k Dec 26, 2022
MoviePy is a Python library for video editing, can read and write all the most common audio and video formats

MoviePy is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom effects. See the gallery for some examples of use.

null 10k Jan 8, 2023
A youtube video link or id to video thumbnail python package.

Youtube-Video-Thumbnail A youtube video link or id to video thumbnail python package. Made with Python3

Fayas Noushad 10 Oct 21, 2022
Text2Video's purpose is to help people create videos quickly and easily by simply typing out the video’s script and a description of images to include in the video.

Text2Video Text2Video's purpose is to help people create videos quickly and easily by simply typing out the video’s script and a description of images

Josh Chen 19 Nov 22, 2022
Filtering user-generated video content(SberZvukTechDays)Filtering user-generated video content(SberZvukTechDays)

Filtering user-generated video content(SberZvukTechDays) Table of contents General info Team members Technologies Setup Result General info This is a

Roman 6 Apr 6, 2022
Extracting frames from video and create video using frames

Extracting frames from video and create video using frames This program uses opencv library to extract the frames from video and create video from ext

null 1 Nov 19, 2021
Telegram Video Chat Video Streaming bot 🇱🇰

?? Get SESSION_NAME from below: Pyrogram ?? Preview ✨ Features Music & Video stream support MultiChat support Playlist & Queue support Skip, Pause, Re

DOOZY YEZ 5 Jun 26, 2022
Play Video & Music on Telegram Group Video Chat

?? DEMONGIRL ?? ʜᴇʟʟᴏ ❤️ ???? Join us ᴠɪᴅᴇᴏ sᴛʀᴇᴀᴍ ɪs ᴀɴ ᴀᴅᴠᴀɴᴄᴇᴅ ᴛᴇʟᴇʀᴀᴍ ʙᴏᴛ ᴛʜᴀᴛ's ᴀʟʟᴏᴡ ʏᴏᴜ ᴛᴏ ᴘʟᴀʏ ᴠɪᴅᴇᴏ & ᴍᴜsɪᴄ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ ɢʀᴏᴜᴘ ᴠɪᴅᴇᴏ ᴄʜᴀᴛ ?? ɢ

Jonathan 5 Dec 31, 2021