minor patch, _temp.mp4 video quality (#28)

This commit is contained in:
Wisketchy Dobrov 2020-10-29 04:00:57 +03:00 committed by GitHub
parent 6eeff2c8a3
commit 1a9f48e8c5
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def get_bits_from_video(video_filepath):
# get image sequence from video
print('Reading video...')
image_sequence = []
os.system('ffmpeg -i ' + video_filepath + ' -filter:v fps=fps=' + FRAMERATE + ' ' + TEMPVIDEO)
os.system('ffmpeg -i ' + video_filepath + ' -c:v libx264rgb -filter:v fps=fps=' + FRAMERATE + ' ' + TEMPVIDEO)
os.system('ffmpeg -i ' + TEMPVIDEO + ' ./fvid_frames/decoded_frames_%d.png');
os.remove(TEMPVIDEO)
# for filename in glob.glob(f"{FRAMES_DIR}decoded_frames*.png"):