Working on verbosity
This commit is contained in:
parent
5fafe35262
commit
f72a6a0a2e
@ -127,7 +127,7 @@ def get_codec(filename):
|
|||||||
|
|
||||||
def convert(oldfilename, newfilename):
|
def convert(oldfilename, newfilename):
|
||||||
oldsize = size(Path(oldfilename).stat().st_size)
|
oldsize = size(Path(oldfilename).stat().st_size)
|
||||||
print(f"Starting conversion of {oldfilename}({oldsize}) ...")
|
print(f"Starting conversion of {oldfilename}({oldsize}) from {get_codec(oldfilename)} ...")
|
||||||
|
|
||||||
# Preparing ffmpeg command and input file
|
# Preparing ffmpeg command and input file
|
||||||
args = ['/usr/bin/ffmpeg', '-i', oldfilename]
|
args = ['/usr/bin/ffmpeg', '-i', oldfilename]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user