Mercurial > hg > pub > prymula > scripts
comparison verysimpleslideshow/verysimpleslideshow.py @ 1:82b75cc1e524
postagelabels-0.220120-0.1
author | prymula <prymula76@outlook.com> |
---|---|
date | Wed, 31 Jan 2024 16:45:19 +0100 |
parents | dcd610585610 |
children |
comparison
equal
deleted
inserted
replaced
0:dcd610585610 | 1:82b75cc1e524 |
---|---|
26 #mp_path = dir_path = os.getcwd() | 26 #mp_path = dir_path = os.getcwd() |
27 #list_path = dir_path = os.getcwd() | 27 #list_path = dir_path = os.getcwd() |
28 tmp_list = tmp_path + SLA + "list.txt" | 28 tmp_list = tmp_path + SLA + "list.txt" |
29 # NIE USUWAC ! | 29 # NIE USUWAC ! |
30 #command = "ffmpeg -framerate 0.3 -pattern_type glob -i '"+tmp_path+"/*.jpg' -c:v libopenh264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4" | 30 #command = "ffmpeg -framerate 0.3 -pattern_type glob -i '"+tmp_path+"/*.jpg' -c:v libopenh264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4" |
31 command = "ffmpeg -f concat -y -r 0.2 -safe 0 -i '"+tmp_list+"' -framerate 1 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -filter:a 'atempo=0.5' output.mp4" | 31 command = "ffmpeg -f concat -r 0.2 -safe 0 -i '"+tmp_list+"' -framerate 1 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -filter:a 'atempo=0.5' output.mp4" |
32 #command = "ffmpeg -f concat -y -r 0.2 -safe 0 -i '"+tmp_list+"' -framerate 1 -c:v mpeg4 -crf 20 -pix_fmt yuv420p output.mp4" | 32 #command = "ffmpeg -f concat -y -r 0.2 -safe 0 -i '"+tmp_list+"' -framerate 1 -c:v mpeg4 -crf 20 -pix_fmt yuv420p output.mp4" |
33 | 33 |
34 #num = 0 | 34 #num = 0 |
35 sample = None | 35 sample = None |
36 try: | 36 try: |