1
This commit is contained in:
@@ -68,7 +68,7 @@ def cut_video ( input_file, from_time=None, to_time=None, audio_track_id=None, b
|
||||
if bitrate is None:
|
||||
bitrate = max (1, io.input_int ("Bitrate of output file in MB/s", 25) )
|
||||
|
||||
kwargs = {"c:v": "libx264",
|
||||
kwargs = {"c:v": "libx265",
|
||||
"b:v": "%dM" %(bitrate),
|
||||
"pix_fmt": "yuv420p",
|
||||
}
|
||||
@@ -188,7 +188,7 @@ def video_from_sequence( input_dir, output_file, reference_file=None, ext=None,
|
||||
output_kwargs.update ({"c:v": "png"
|
||||
})
|
||||
else:
|
||||
output_kwargs.update ({"c:v": "libx264",
|
||||
output_kwargs.update ({"c:v": "libx265",
|
||||
"b:v": "%dM" %(bitrate),
|
||||
"pix_fmt": "yuv420p",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user