Skip to main content

A Python Parser for DGMPGDec's D2V Project Files

Project description


A Python Parser for DGMPGDec's D2V Project Files

pip install pyd2v

GitHub license CodeFactor GitHub issues


Quick Example

# pip install pyd2v
from pyd2v import D2V

# ...

# Choose Input File
input_file = "/home/user/Desktop/video.d2v"
# Parse Input File
d2v = D2V()
d2v = d2v.parse(file_path=input_file)
# Print D2V Options, which will be shown with the accessible variable names.
# Data will not be printed as it will be too large
# Print Media Files
# Print Frame Rate
# Print first frame data


Send a D2V to a D2V object to be parsed. Nothing will be returned, if failure it will raise a ValueError Exception. If successful, three options will be available, header, settings and data which can be accessed via d2v_obj.header.

D2V.parse(str file_path)

  • file_path: File path to DGIndex Project File (.d2v extension)

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

pyd2v-1.0.0.post1.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

pyd2v-1.0.0.post1-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

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