-
How can I get the sidedata of type SEI_UNREGISTERED and convert it to a byte array or string object? |
Beta Was this translation helpful? Give feedback.
Answered by
david6096
Dec 12, 2024
Replies: 1 comment
-
I'v gotten it! data = frame.side_data.get(av.sidedata.sidedata.Type.SEI_UNREGISTERED)
if data is not None:
buf = bytes(data)
s1 = buf[16:].decode("utf-8")
print(s1) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WyattBlue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'v gotten it!