mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Copy bit rate of input video to match quality.
This commit is contained in:
parent
68deeccad2
commit
5e552598bf
1 changed files with 4 additions and 0 deletions
|
|
@ -524,6 +524,10 @@ def burnins_from_data(
|
|||
profile_name = profile_name.replace(" ", "_").lower()
|
||||
ffmpeg_args.append("-profile:v {}".format(profile_name))
|
||||
|
||||
bit_rate = burnin._streams[0].get("bit_rate")
|
||||
if bit_rate:
|
||||
ffmpeg_args.append("--b:v {}".format(bit_rate))
|
||||
|
||||
pix_fmt = burnin._streams[0].get("pix_fmt")
|
||||
if pix_fmt:
|
||||
ffmpeg_args.append("-pix_fmt {}".format(pix_fmt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue