1. 製品
  2.   ビデオ
  3.   Python
  4.   VidGear

VidGear

 
 

ビデオファイル用オープンソース Python ライブラリ

ビデオ処理用の無料 Python API。リアルタイムのビデオ安定化、ロスレスビデオエンコーディング、柔軟なパラメータ操作、マルチスレッドをサポートします。

VidGear は、ソフトウェア開発者が簡単にビデオ処理アプリケーションを作成できるようにする、強力なマルチスレッド Python ライブラリです。このライブラリは、ユニークな機能と機能を持つ複数の API のサポートが組み込まれています。主な目的は、特定のデータやデバイス固有のビデオやネットワークストリームを簡単に扱い、処理することです。ライブラリの主な焦点は、使いやすさと簡単な統合を提供し、数行の Python コードだけで複雑なビデオ処理ジョブを高性能に処理できることです。

VideoGear は、ユーザーがコードをほとんど変更せずにさまざまなビデオソース間を切り替える必要がある場合に最適です。このライブラリは、さまざまなデバイスでのビデオのアクセスと読み取り、複数のフォーマットでのビデオ書き込み、ビデオまたはオーディオのストリーミング、さまざまな場所へのビデオファイルやフレームの送受信など、ビデオ処理に関連する重要な機能を多数サポートしています。

このライブラリは非常に柔軟で、ユーザーにビデオとオーディオのフレームに対する包括的な制御を提供します。リアルタイムのビデオ安定化、IP/USB カメラを使用したビデオストリーミング、ロスレスビデオエンコーディング、マルチスレッドなどの高度な機能を完全にサポートしています。ライブラリはオープンソースで、個人利用または商用利用のために Apache-2.0 ライセンスの下で提供されています。

Previous Next

VidGear 入門

Please use the following command to install VidGear library on your systems

pip で VidGear をインストールする。

pip install vidgear

GitHub から VidGear をインストールする。

$ git https://github.com/abhiTronix/vidgear.git 

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.

MP4 形式でビデオを書き込む

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..

全ビデオ & オーディオファイルのトランスコーディング

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.

 日本