Skip to content

Commit

Permalink
the openh264 home page states that 4k is the encoder limit
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 26, 2024
1 parent e1e4663 commit fc79af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/openh264/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def get_output_colorspaces(encoding, input_colorspace) -> Sequence[str]:

#actual limits (which we cannot reach because we hit OOM):
#MAX_WIDTH, MAX_HEIGHT = (16384, 16384)
MAX_WIDTH, MAX_HEIGHT = (8192, 4096)
MAX_WIDTH, MAX_HEIGHT = (3840, 2160)

def get_specs(encoding, colorspace) -> Sequence[VideoSpec]:
assert encoding in get_encodings(), "invalid encoding: %s (must be one of %s" % (encoding, get_encodings())
Expand Down

0 comments on commit fc79af3

Please sign in to comment.