
VidGear
Öppen källkod Python-bibliotek för videofiler
Gratis Python API för videobearbetning, det stödjer realtidsvideostabilisering, förlustfri videokodning, flexibel parameterhantering och flertrådad bearbetning.
VidGear är ett kraftfullt flertrådat Python‑bibliotek som gör det möjligt för mjukvaruutvecklare att skapa applikationer för videobearbetning med lätthet. Biblioteket har inbyggt stöd för flera API:er, var och en med unik kapacitet och funktionalitet. Huvudmålet är att enkelt hantera och bearbeta både data‑specifik och enhetsspecifik video eller nätverksströmmar. Bibliotekets huvudfokus är att vara enkelt att använda och erbjuda enkel integration för att uppnå hög prestanda när man bearbetar komplexa videobearbetningsuppgifter med bara ett par rader Python‑kod.
VideoGear är perfekt när användare behöver växla mellan olika videokällor utan att behöva ändra koden mycket. Biblioteket har inbyggt stöd för flera viktiga funktioner relaterade till videobearbetning, såsom åtkomst och läsning av videor på olika enheter, skrivning av videor i flera format, video‑ eller ljudströmning, samt sändning & mottagning av videofiler eller bildrutor till/från olika, och mycket mer.
Biblioteket är mycket flexibelt och ger användare omfattande kontroll över videons och ljudets bildrutor. Biblioteket stöder fullt ut avancerade funktioner som realtidsvideostabilisering, videoströmning med IP/USB-kameror, förlustfri videokodning och flertrådad bearbetning osv. Biblioteket är öppen källkod och finns tillgängligt under Apache-2.0-licensen för personligt eller kommersiellt bruk.
Komma igång med VidGear
Please use the following command to install VidGear library on your systems
Installera VidGear via pip.
pip install vidgearInstallera VidGear via GitHub.
$ git https://github.com/abhiTronix/vidgear.git Pipa videoströmmar via CamGear
The open source VidGear library provides the capability for piping video streams inside their own Python applications. The library provides connectivity with various big streaming services like Twitch, Livestream, Dailymotion, and several others with ease. The software developers can easily set the desired resolution and need to provide desired video’s URL to the source parameter and enable the stream mode parameter to achieve the goal in a better way. Same like above you can also stream or watch live videos from YouTube.
Skriva video i MP4-format
The free VidGear library enables software developers to write their video files in MP4 format using Python code. The VidGear Video Processing Python library's WriteGear API gives flexible access to OpenCV's VideoWriter API tools as well as a robust wrapper around FFmpeg a very popular multimedia framework. You can easily write your videos to MP4 format with just a couple of lines of code. It can easily process real-time frames into a lossless compressed video-file..
Transkoda hela video & ljudfilen
The open source VidGear library provides enables software developers to transcode their video or audio file inside their own Python applications. Using the single-Source mode you can easily transcode n entire video or audio file into a sequence of multiple smaller chunks or segments for streaming. The is very useful when you are transcoding lossless long duration videos for live streaming. Please use the function transcode_source() for processing audio-video files into stream-able chunks.
