mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2025-07-06 08:23:59 +00:00
Print input frame rate, and default to every_n_video_frames=2 which
gives better quality without compromising frame rate too much.
This commit is contained in:
@ -19,7 +19,7 @@ parser.add_argument(
|
||||
help='Override auto-detected multiplier for audio normalization.'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--every_n_video_frames', type=int, default=1,
|
||||
'--every_n_video_frames', type=int, default=2,
|
||||
help='Allows skipping frames of input video to lower effective output '
|
||||
'frame rate, which may give better quality for some videos.'
|
||||
)
|
||||
@ -31,6 +31,8 @@ def main(args):
|
||||
every_n_video_frames=args.every_n_video_frames,
|
||||
audio_normalization=args.audio_normalization)
|
||||
|
||||
print("Input frame rate = %f" % m.video.input_frame_rate)
|
||||
|
||||
max_bytes_out = 1024. * 1024 * args.max_output_mb
|
||||
|
||||
if args.output:
|
||||
|
Reference in New Issue
Block a user