Skip to main content

vtt to srt converter package

Project description

useful python script

convert all vtt files to srt subtitle format

Usage from terminal:

	python pathname [-r]

	pathname - a file or directory with files to be converted 

	-r       - walk path recursively                          

Usage as a lib:

	# convert vtt file

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

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

Built Distribution

vtt_to_srt-0.7-py2-none-any.whl (2.9 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page