This is the py I just tried but same error
TinyPy: Exception
Exception : (tp_load) cant get filesize
BackTrack: File:py2bc.py,line50
#PY <- Needed to identify #
#--automatically built--
#
# Load all the files in "c:\\tmp\\" with .mkv extension.
# That's it.
#
ext="mkv"
inputFolder="c:\\tmp\\"
#
def convert(filein):
if(0 == adm.loadVideo("C:\Users\jonwr\Desktop\New folder.mkv"):
ui.displayError("oops","cannot load "+filein)
raise
print("Done")
# ---------- Inserting project start------------
adm.videoCodec("Copy")
adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True", "forceAspectRatio=False", "aspectRatio=1")
# ---------- Inserting project end------------
adm.save(filein+".converted.mp4") # save the file
print("Done")
#
# Main
#
ui=Gui()
adm=Avidemux()
#
list=get_folder_content(inputFolder,ext)
if(list is None):
raise
for i in list:
convert(i)
print("Done")