Skip to main content

Convert a video file into PDF image series

Project description

vid2pdf

PyPI - Python Version PyPI PyPI - License pre-commit.ci status

Convert a video file into PDF image series.

External Requirements

vid2pdf requires ffmpeg to be extracted to the /utils/ffmpeg folder. The latest version of ffmpeg can be downloaded from ffmpeg.org.

The path to an existing ffmpeg installation can also be specified using an FFMPEG_PATH environment variable, either directly or by utilizing a .env file in this project's root.

Installation

Python

Install from PyPi with your favorite pip invocation:

$ pip install vid2pdf

You can confirm proper installation via the vid2pdf CLI:

$ vid2pdf --help
Usage: vid2pdf [OPTIONS] [SOURCE]

  Convert a video file to PDF image series.

  If an input video is not specified, a file selection dialog will be opened
  to select the file to process.

  Start and end arguments may be left empty to use the start and end of the
  video, respectively.

Arguments:
  [SOURCE]  Source video

Options:
  --dest DIRECTORY  Destination directory
  -s, --start TEXT  Start time (hh:mm:ss.sss)
  -e, --end TEXT    End time (hh:mm:ss.sss)
  --help            Show this message and exit.

Standalone

Standalone distribution using Nuitka is tested by this package. Due to the likelihood of false positives by AV scanners, prebuilt releases are not currently provided.

Note that Nuitka is provided as an optional dependency and can be installed by specifying the build dependency group when installing this project.

Currently tested packaging paths are:

  • python -m nuitka ./vid2pdf/vid2pdf.py --mode=standalone --enable-plugin=tk-inter
  • python -m nuitka ./vid2pdf/vid2pdf.py --mode=onefile --enable-plugin=tk-inter

For an alternative standalone option, I also maintain a UI-based Flutter version of vid2pdf at sco1/vid2pdf-flutter

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

vid2pdf-1.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vid2pdf-1.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file vid2pdf-1.2.0.tar.gz.

File metadata

  • Download URL: vid2pdf-1.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vid2pdf-1.2.0.tar.gz
Algorithm Hash digest
SHA256 034e00ff2bd1ef2a258e18a725175e838749009429a72b2dac8f7c97c1be8f5d
MD5 5ac39e31e12cc5abf0ac914fba961fb2
BLAKE2b-256 85362d01fd0fb6728eab3804448f59f2c58369f0290bcbc03c0c8d2120d57448

See more details on using hashes here.

Provenance

The following attestation bundles were made for vid2pdf-1.2.0.tar.gz:

Publisher: pypi_release.yml on sco1/vid2pdf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vid2pdf-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: vid2pdf-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vid2pdf-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c06ad51f9b2059c11b1104e296d639fdab11fd84780a673164455bcc637295f
MD5 af7c7277bec634de18f7940ef5a9f4e4
BLAKE2b-256 dbfee75aac203294ea8d9bbf99154cf4e758add857263b50a9bc6e9bdadf6c1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vid2pdf-1.2.0-py3-none-any.whl:

Publisher: pypi_release.yml on sco1/vid2pdf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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