Skip to content

Commit

Permalink
increased the nitrate and decreased the tolerance for av writer.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkassner committed Jan 4, 2016
1 parent e15f10d commit 0e81e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pupil_src/shared_modules/av_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(self, file_loc,fps=30, video_stream={'codec':'mpeg4','bit_rate': 15

self.video_stream = self.container.add_stream(video_stream['codec'],1/self.time_base)
self.video_stream.bit_rate = video_stream['bit_rate']
self.video_stream.bit_rate_tolerance = video_stream['bit_rate']/10
self.video_stream.bit_rate_tolerance = video_stream['bit_rate']/20
self.video_stream.thread_count = 1
# self.video_stream.pix_fmt = "yuv420p"
self.configured = False
Expand Down

0 comments on commit 0e81e3d

Please sign in to comment.