Initial commit
This commit is contained in:
10
pyvidplayer2/examples/playback_speed_demo.py
Normal file
10
pyvidplayer2/examples/playback_speed_demo.py
Normal file
@@ -0,0 +1,10 @@
|
||||
'''
|
||||
This example shows how you can control the playback speed of videos
|
||||
'''
|
||||
|
||||
|
||||
from pyvidplayer2 import Video
|
||||
|
||||
v = Video(r"resources\trailer1.mp4")
|
||||
v.set_speed(2) # twice as fast
|
||||
v.preview()
|
||||
Reference in New Issue
Block a user