mirror of https://github.com/AlfredoSequeida/fvid
minor patch, _temp.mp4 video quality (#28)
This commit is contained in:
parent
6eeff2c8a3
commit
1a9f48e8c5
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue