Tetsuo Milk on Nostr: Zhuowei Zhang well that's farther than I got. decoding seems somewhat involved, since ...
Zhuowei Zhang (npub1cpp…e7uy) well that's farther than I got. decoding seems somewhat involved, since you have to do some amount of parsing the NAL units ALVR gives you in order to setup the decoder, but after that the actual decoding seems like it can be handled by VideoToolbox. and rendering doesn't seem too bad, since CompositorServices basically gives you a MTLTexture to draw into. I have not looked at head tracking, though
Published at
2024-01-29 17:02:36Event JSON
{
"id": "b6ef9e9437df2ab30ba001ac7dc5ad21cb66305de488e3d16dbb777ee54c1100",
"pubkey": "468cd334b9541b551189215c4c31b0af3e2e45a24eae6d6977e0726dbb3cd455",
"created_at": 1706547756,
"kind": 1,
"tags": [
[
"p",
"c043dd0dc7eb1f350a58d13a3e6fd67cf6bb5bb56f81d8466d23e000c9222f1f",
"wss://relay.mostr.pub"
],
[
"e",
"1e97c9110d4f135845357a9f3b03800381c83e66995eaaa1155153e383b8e707",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://social.shadowfacts.net/objects/5005fd56-1bc8-4eff-83bc-7331dfdc83ed",
"activitypub"
]
],
"content": "nostr:npub1cppa6rw8av0n2zjc6yarum7k0nmtkka4d7qas3ndy0sqpjfz9u0sx9e7uy well that's farther than I got. decoding seems somewhat involved, since you have to do some amount of parsing the NAL units ALVR gives you in order to setup the decoder, but after that the actual decoding seems like it can be handled by VideoToolbox. and rendering doesn't seem too bad, since CompositorServices basically gives you a MTLTexture to draw into. I have not looked at head tracking, though",
"sig": "84f059afd62f57746e5d71e978e7a0eb3f710ead59225662c526b5e5a3b45e9a3bc013e596a23a9419073a7c3387ed01a3078e116391ef392eb3982d0d53101a"
}