av-helper-1.1.0
توضیحات
An Audio-Video Helper Utility Package in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | av-helper-1.1.0 |
| نام | av-helper |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vibhu Agarwal |
| ایمیل نویسنده | vibhu4agarwal@gmail.com |
| آدرس صفحه اصلی | https://github.com/Vibhu-Agarwal/av_helper |
| آدرس اینترنتی | https://pypi.org/project/av-helper/ |
| مجوز | GPLv3+ |
# av_helper

An Audio-Video Helper Utility Package in Python
## Installation
```
$ pip3 install av-helper
```
[Visit](https://pypi.org/project/av-helper/) the PyPI page of the package.
## Usage
```python
>>> from av_helper import convert_video_to_audio
>>> audio_file_name = convert_video_to_audio('audio_file_in_video_format.mp4')
>>> from av_helper import merge_audio_video as merge_av
>>> output_video = merge_av(audio_file_name, 'video_file_name.mp4')
>>> from av_helper import save_audio_video_file as save_av
>>> save_av(output_video)
```
## Instant Docs
```python
>>> pprint(convert_video_to_audio.__doc__)
('\n'
' Convert A Video File to mp3 format\n'
' :param video_file: File Name of Video\n'
' :param start_time: Starting Time (in s) at which clipping has to do\n'
' :param video_duration: Duration wanted for audio clip\n'
' :return: File-Name of Audio File created\n'
' ')
```
```python
>>> pprint(merge_av.__doc__)
('\n'
' Function to merge Audio File into Video File\n'
' :param audio_file: File-Name of Audio\n'
' :param video_file: File-Name of Video\n'
' :param frame_number: Frame Number at which audio file to add in Video File\n'
' :param volume_factor: Factor by which Volume of Audio has to be modified\n'
' :return: Video Clip (with Audio merged) of type moviepy.video.VideoClip\n'
' ')
```
نیازمندی
| مقدار | نام |
|---|---|
| ==2019.11.28 | certifi |
| ==3.0.4 | chardet |
| ==4.4.2 | decorator |
| ==2.9 | idna |
| ==2.8.0 | imageio |
| ==0.4.1 | imageio-ffmpeg |
| ==1.0.1 | moviepy |
| ==1.18.1 | numpy |
| ==4.2.0.32 | opencv-contrib-python |
| ==7.0.0 | Pillow |
| ==0.1.9 | proglog |
| ==2.23.0 | requests |
| ==4.43.0 | tqdm |
| ==1.25.8 | urllib3 |
نحوه نصب
نصب پکیج whl av-helper-1.1.0:
pip install av-helper-1.1.0.whl
نصب پکیج tar.gz av-helper-1.1.0:
pip install av-helper-1.1.0.tar.gz