Skip to main content

An Audio-Video Helper Utility Package in Python

Project description

av_helper

Publish Python Package

An Audio-Video Helper Utility Package in Python

Installation

$ pip3 install av-helper

Visit the PyPI page of the package.

Usage

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

>>> 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'
 '    ')
>>> 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'
 '    ')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for av-helper, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size av_helper-1.1.0-py3-none-any.whl (16.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size av_helper-1.1.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page