Skip to main content

vtt to srt subtitles converter package

Project description

vtt_to_srt.py

useful python script for Python 2.7

convert all vtt files to srt subtitle format

Usage from terminal:

	vtt_to_srt.py pathname [-r]

	pathname - a file or directory with files to be converted 

	-r       - walk path recursively                          

As a lib:

Installation:

	pip install --user vtt_to_srt

Usage:

	# convert vtt file

	from vtt_to_srt import vtt_to_srt
	path = '/path/to/file.vtt'
	vtt_to_srt(path)


	# recursively convert all vtt files in directory

	from vtt_to_srt import vtts_to_srt
	path = '/path/to/directory'
	vtts_to_srt(path, rec = True)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vtt_to_srt-0.7.1-py2-none-any.whl (3.0 kB view details)

Uploaded Python 2

File details

Details for the file vtt_to_srt-0.7.1-py2-none-any.whl.

File metadata

  • Download URL: vtt_to_srt-0.7.1-py2-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12

File hashes

Hashes for vtt_to_srt-0.7.1-py2-none-any.whl
Algorithm Hash digest
SHA256 9f5f62ca3d0df6edbd5462de8def8898d6ae6f08c7a552e40a6e7db0fb24bb3e
MD5 2033afa48ce5d758641f6aed2ed1eff9
BLAKE2b-256 ad17bb4e7d791a11b8261b272ba18e82d24620fac4a7aca2b471ddc743c3ac31

See more details on using hashes here.

Supported by

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