- 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:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
@font-face {
|
||||
font-family: Orbitron-Medium;
|
||||
font-display: fallback;
|
||||
src: url(http://cwsvjudo.bplaced.net/ressourcen/fonts/Orbitron-Medium.otf);
|
||||
}
|
||||
|
||||
|
||||
@@ -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)) )
|
||||
|
||||
Reference in New Issue
Block a user