mirror of
https://github.com/c0decracker/video-splitter.git
synced 2026-07-17 16:34:54 +00:00
Merge pull request #17 from PythonCoderAS/master
Update to Py3 and PEP8ify
This commit is contained in:
commit
80880cd65e
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ from optparse import OptionParser
|
|||
|
||||
|
||||
def split_by_manifest(filename, manifest, vcodec="copy", acodec="copy",
|
||||
extra="", **kwargs):
|
||||
extra=""):
|
||||
""" Split video into segments based on the given manifest file.
|
||||
|
||||
Arguments:
|
||||
|
|
@ -88,7 +88,7 @@ def ceildiv(a, b):
|
|||
|
||||
|
||||
def split_by_seconds(filename, split_length, vcodec="copy", acodec="copy",
|
||||
extra="", video_length=None, **kwargs):
|
||||
extra="", video_length=None):
|
||||
if split_length and split_length <= 0:
|
||||
print("Split length can't be 0")
|
||||
raise SystemExit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue