VidGear

 
 

ไลบรารี Python แบบโอเพนซอร์สสำหรับไฟล์วิดีโอ

API Python ฟรีสำหรับการประมวลผลวิดีโอ รองรับการทำให้วิดีโอคงที่แบบเรียลไทม์, การเข้ารหัสวิดีโอแบบไม่มีการสูญเสีย, การจัดการพารามิเตอร์ที่ยืดหยุ่น, และการทำงานหลายเธรด.

VidGear เป็นไลบรารี Python แบบหลายเธรดที่มีประสิทธิภาพซึ่งช่วยให้นักพัฒนาซอฟต์แวร์สร้างแอปพลิเคชันสำหรับประมวลผลวิดีโอได้อย่างง่ายดาย ไลบรารีนี้มีการสนับสนุนหลาย API แต่ละ API มีความสามารถและฟังก์ชันเฉพาะตัว เป้าหมายหลักคือการจัดการและประมวลผลข้อมูลที่เฉพาะเจาะจงรวมถึงวิดีโอหรือสตรีมเครือข่ายที่ระบุอุปกรณ์ได้อย่างง่ายดาย จุดโฟกัสของไลบรารีคือความง่ายในการใช้งานและการบูรณาการที่สะดวกเพื่อให้ได้ประสิทธิภาพสูงขณะประมวลผลงานประมวลผลวิดีโอที่ซับซ้อนด้วยเพียงไม่กี่บรรทัดของโค้ด Python

VideoGear เหมาะอย่างยิ่งเมื่อผู้ใช้ต้องการสลับแหล่งวิดีโอหลายแหล่งโดยไม่ต้องเปลี่ยนโค้ดมาก ไลบรารีนี้ได้รวมการสนับสนุนหลายคุณลักษณะที่สำคัญเกี่ยวกับการประมวลผลวิดีโอ เช่น การเข้าถึงและอ่านวิดีโอบนอุปกรณ์ต่างๆ การเขียนวิดีโอในหลายรูปแบบ การสตรีมวิดีโอหรือเสียง การส่ง & รับไฟล์วิดีโอหรือเฟรมจาก/ไปยังแหล่งต่างๆ และอื่น ๆ อีกมากมาย

ไลบรารีมีความยืดหยุ่นสูงและให้ผู้ใช้ควบคุมเฟรมของวิดีโอและเสียงได้อย่างครอบคลุม ไลบรารีรองรับคุณลักษณะขั้นสูงอย่างเต็มที่ เช่น การทำให้วิดีโอคงที่แบบเรียลไทม์, การสตรีมวิดีโอโดยใช้กล้อง IP/USB, การเข้ารหัสวิดีโอแบบไม่มีการสูญเสีย, และการทำงานหลายเธรด เป็นต้น ไลบรารีเป็นโอเพนซอร์สและมีให้ใช้งานภายใต้ใบอนุญาต Apache-2.0 สำหรับการใช้งานส่วนบุคคลหรือเชิงพาณิชย์

Previous Next

เริ่มต้นใช้งาน VidGear

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

ติดตั้ง VidGear ผ่าน pip.

pip install vidgear

ติดตั้ง VidGear ผ่าน GitHub.

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

 ไทย