use _frames for frame cache
This commit is contained in:
parent
4f9c3da160
commit
b2c553fd36
2 changed files with 6 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ if __name__ == '__main__':
|
|||
parser = OptionParser()
|
||||
parser.add_option('-x', '--width', dest='width', help='scale image to given width')
|
||||
parser.add_option('-y', '--height', dest='height', help='scale image to given height')
|
||||
parser.add_option('-p', '--pos', dest='pos', help='frame position in milliseconds')
|
||||
parser.add_option('-p', '--pos', dest='pos', help='frame position in seconds, float')
|
||||
parser.add_option('-i', '--input', dest='input', help='video input')
|
||||
parser.add_option('-o', '--output', dest='output', help='path to save frame to, jpg, png supported')
|
||||
(opts, args) = parser.parse_args()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue