mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
1
This commit is contained in:
parent
60804ca3ba
commit
3924ef2bf5
2 changed files with 4 additions and 4 deletions
|
@ -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",
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue