Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1902 from pypeclub/bugfix/burnins_bitrate_fix
Browse files Browse the repository at this point in the history
Burnins: Use input's bitrate in h624
  • Loading branch information
iLLiCiTiT authored Aug 5, 2021
2 parents df8d0d7 + 13197d0 commit 39aa169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openpype/scripts/otio_burnin.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def _h264_codec_args(ffprobe_data):

output.extend(["-codec:v", "h264"])

bit_rate = ffprobe_data.get("bit_rate")
if bit_rate:
output.extend(["-b:v", bit_rate])

pix_fmt = ffprobe_data.get("pix_fmt")
if pix_fmt:
output.extend(["-pix_fmt", pix_fmt])
Expand Down

0 comments on commit 39aa169

Please sign in to comment.