Jul-24-2020, 08:42 PM
Thanks for breaking it down. So helpful!
This works now!
Currently the selection is based on the Index (0-3 in this situation). How can I align the enumerated list with the index?
The script prints "1", "2", etc in front of the printed filenames based on the count but the input is based on the index location.
How can I make the input options (1-4) match the index options (0-3) so an input of 1 points to index 0? I initially thought the enumeration starting at 1 would do this but apparently that's not the case.
This works now!
subprocess.run(['ffmpeg', '-i', f2, '-ss', '00:00:02', '-vframes', '1', f'{f2.split(".")[0]}.png'])There's 1 part left that I'm unsure how to approach.
Currently the selection is based on the Index (0-3 in this situation). How can I align the enumerated list with the index?
The script prints "1", "2", etc in front of the printed filenames based on the count but the input is based on the index location.
How can I make the input options (1-4) match the index options (0-3) so an input of 1 points to index 0? I initially thought the enumeration starting at 1 would do this but apparently that's not the case.