- Beim upload square7 entfernt

modified:   homepage/redesign2018/markdownExperiment/Makefile
- font-display eingefügt
	modified:   homepage/redesign2018/markdownExperiment/src/css/cwsvJudo-2018.css
- 1000 statt 1024
	modified:   homepage/redesign2018/markdownExperiment/src/galleryHelper/getVideoDurationJson.py
This commit is contained in:
marko
2018-11-16 08:25:48 +01:00
parent e808faf8eb
commit b6e95671d5
3 changed files with 23 additions and 21 deletions

View File

@@ -63,6 +63,7 @@ if __name__ == "__main__":
video_file_path = sys.argv[1]
durationInSec = duration(video_file_path)
rateInKbPerSec = (10 * 1024 * 1024 * 8)/( durationInSec * 1000 )
# rateInKbPerSec = (10 * 1024 * 1024 * 8)/( durationInSec * 1000 )
rateInKbPerSec = (10 * 1000 * 1000 * 8)/( durationInSec * 1000 )
#print( duration(video_file_path) ) # 10.008
print( int(min(500, rateInKbPerSec)) )