Skip to content

Commit

Permalink
Update Video.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JinbaoPeng committed Jan 13, 2024
1 parent 311986b commit 91424e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Python_Code/36.2.1_Video/Video.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def loop():
picam2.configure(video_config)
encoder = H264Encoder()
picam2.start_recording(encoder, 'video.h264', quality=Quality.HIGH)
print(encoder._bitrate)
time.sleep(2)
#print(encoder._bitrate)
time.sleep(5)
picam2.stop_recording()
picam2.close()
print ('Hello,a video has been taken successfully') # print information on terminal
Expand Down

0 comments on commit 91424e4

Please sign in to comment.