Skip to content

Use this script to launch transcoding jobs for a set of files

Notifications You must be signed in to change notification settings

Qencode-Corp/bulk-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bulk-encoding

Use this script to launch transcoding jobs for a set of files

pre-requisites

Install qencode python API client. See installation instructions

configuration

See descriptions in conf.py

You can change API request JSON to reflect your needs in query.json

usage

python encode.py

using different output file naming conventions

Modify code in encode.py - get_file_name() To use original file names you can use the following code:

def get_file_name(self, url):
    file_name = url[url.rfind("/") + 1:]
    self.original_filename = file_name
    eol = file_name.split('.')
    if len(eol) == 1:
        eol.append('')
    return '.'.join(eol[:-1])

About

Use this script to launch transcoding jobs for a set of files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages