Skip to main content

Quality assurance for audiovisual collections

Project description

vidqa

https://img.shields.io/pypi/v/vidqa.svg Documentation Status

Quality assurance for audiovisual collections

Features

Ensures:

  • Videos are in mp4 format and h264/aac codecs with audio channel up to 2

  • File path length be less than 240 chars

  • File names length be less than 150 chars

Quality assurance made effortless! [Click here]((https://www.youtube.com/watch?v=9cMFngtzpkY)) to watch a tutorial video and see how VIDQA can enhance the quality of your audiovisual content.

Usage

To use vidqa in CLI mode

Unique mode to apply to a folder, generating one log file

$ vidqa -i "paste_a_folder_path" -m unique

batch mode to apply to a parent folder generating a different log file for each subfolder

$ vidqa -i "paste_a_folder_path" -m batch

Use by defining folder destination of the Metadata Report and Temporary Folder of Converted Videos

$ vidqa -i "paste_a_folder_path" -m unique -fd "c://my_temp_folder"

To show or change encode video flags in CLI mode

Show actual flags

$ vidqa flags

CRF - Constante Rate Frame. Stable quality. Default 20 for minimal loss.

$ vidqa flags --crf 23

maxrate - maximum bitrate peak in a second. Default 2 (MiB) to flow in slow connection stream.

$ vidqa flags --maxrate 3

folder_log - Parent log folder where stores individual log folders for each project. Default = None.

$ vidqa flags -fl "c://my_temp_folder"

default_log - Activates the default parent log folder. Default = 0.

$ vidqa flags -dl 1 # 0 to deactivate

corrupt_del - Flag to allow delete corrupted videos from the project folder. Default = 1.

$ vidqa flags -cd 1

corrupt_bkp - Flag to allow do backup corrupted videos to the project log folder. Default = 1.

$ vidqa flags -cb 1

max_path = Maximum length that each file path is allowed to be. Default = 240.

$ vidqa flags -mp 230

max_name = Maximum length that each file name is allowed to be. Default = 150.

$ vidqa flags -mn 100

move_done = Flag to allow project to be moved after optimization (1 for allowed, 0 for disallowed). Default = 0.

$ vidqa flags -md 1

folder_destination = Folder where projects should be moved after optimization. Default = None.

$ vidqa flags -fd "c://optimized_projects"

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2022-08-04)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

vidqa-0.1.19.tar.gz (36.4 kB view hashes)

Uploaded Source

Built Distribution

vidqa-0.1.19-py2.py3-none-any.whl (24.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page