
VidGear
مكتبة بايثون مفتوحة المصدر لملفات الفيديو
واجهة برمجة تطبيقات بايثون مجانية لمعالجة الفيديو، تدعم تثبيت الفيديو في الوقت الحقيقي، ترميز الفيديو بدون فقدان، تعديل مرن للمعلمات، وتعدد الخيوط.
VidGear هي مكتبة بايثون متعددة الخيوط قوية تمكّن مطوري البرمجيات من إنشاء تطبيقات لمعالجة الفيديو بسهولة. تم بناء المكتبة وتضم دعمًا لعدة واجهات برمجة تطبيقات، كل واحدة بقدرة ووظيفة فريدة. الهدف الرئيسي هو التعامل مع ومعالجة البيانات الخاصة بالفيديو أو الشبكة أو الجهاز بسهولة. التركيز الأساسي للمكتبة هو السهولة في الاستخدام وتوفير تكامل سهل لتحقيق أداء عالي أثناء معالجة مهام معالجة الفيديو المعقدة ببضع أسطر من كود بايثون.
VideoGear مثالية عندما يحتاج المستخدمون إلى التنقل بين مصادر فيديو مختلفة دون تعديل الكود كثيرًا. تضم المكتبة دعمًا لعدة ميزات مهمة تتعلق بمعالجة الفيديو مثل الوصول إلى الفيديو وقراءته على أجهزة مختلفة، كتابة الفيديو بصيغ متعددة، بث الفيديو أو الصوت، إرسال & استقبال ملفات الفيديو أو الإطارات من/إلى مختلف المصادر، والعديد غير ذلك.
المكتبة مرنة للغاية وتمنح المستخدمين تحكمًا شاملاً في إطارات الفيديو والصوت. تدعم المكتبة بالكامل ميزات متقدمة مثل تثبيت الفيديو في الوقت الحقيقي، بث الفيديو باستخدام كاميرات IP/USB، ترميز الفيديو بدون فقدان، والبرمجة المتعددة الخيوط، إلخ. المكتبة مفتوحة المصدر ومتاحة تحت رخصة Apache-2.0 للاستخدام الشخصي أو التجاري.
البدء باستخدام 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.
