{"id":13339725,"url":"https://github.com/think-biq/LLV","last_synced_at":"2025-03-11T14:32:22.593Z","repository":{"id":45666933,"uuid":"346361163","full_name":"think-biq/LLV","owner":"think-biq","description":"  CLI tool for recording or replaying Epic Games' live link face capture frames.","archived":false,"fork":false,"pushed_at":"2023-10-13T13:33:45.000Z","size":5670,"stargazers_count":79,"open_issues_count":1,"forks_count":21,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-24T02:32:47.427Z","etag":null,"topics":["blendshapes","cli","network","recording","unreal","unreal-engine"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/think-biq.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"BlurryRoots","patreon":null,"open_collective":"blurryroots","ko_fi":"blurryroots","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-03-10T13:12:51.000Z","updated_at":"2024-06-20T04:25:35.000Z","dependencies_parsed_at":"2024-10-23T23:03:25.858Z","dependency_job_id":"9e13795a-9428-466f-a7d7-27235d04a562","html_url":"https://github.com/think-biq/LLV","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think-biq%2FLLV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think-biq%2FLLV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think-biq%2FLLV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/think-biq%2FLLV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/think-biq","download_url":"https://codeload.github.com/think-biq/LLV/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243052063,"owners_count":20228329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blendshapes","cli","network","recording","unreal","unreal-engine"],"created_at":"2024-07-29T19:21:15.578Z","updated_at":"2025-03-11T14:32:22.561Z","avatar_url":"https://github.com/think-biq.png","language":"Python","funding_links":["https://github.com/sponsors/BlurryRoots","https://opencollective.com/blurryroots","https://ko-fi.com/blurryroots"],"categories":[],"sub_categories":[],"readme":"# LLV\n\nLLV enables you to record and play back [live link](https://docs.unrealengine.com/en-US/Engine/Animation/LiveLinkPlugin/index.html) frames, sent by [Epic Games](https://www.epicgames.com)' [ARKit](https://developer.apple.com/augmented-reality/arkit/) face capture [iOS app](https://apps.apple.com/us/app/live-link-face/id1495370836).\n\n## Feature requests\n\nIf you appreciate LLV and like me to adjust it for tooling within your project pipeline, please reach out via *llv(at)think-biq.com* to discuss options. I'd love to add you as official sponsor.\n\n## Issues and discussion\n\nCheckout [the wiki](https://github.com/think-biq/LLV/wiki) for more information on creating issues.\n\n## Quick start\n\nCheckout [this video](https://www.youtube.com/watch?v=RTwibwX4U_s), on how to setup LLV to be used with the MetaHuman example project.\n[![](https://img.youtube.com/vi/RTwibwX4U_s/0.jpg)](http://www.youtube.com/watch?v=RTwibwX4U_s \"Click to play on Youtube.com\")\n\n## Usage\n\n### Create or use recordings\n\n#### Record\n\nListens for 256 incoming frames on all interfaces and standard port *11111* and writes the recording to a file named *dao.gesichter*.\n\n```bash\npython llv.py record --frames 256 --output dao.gesichter\n```\n\n#### Replay\n\nPlay one of the example recordings and send it to a host machine at *10.0.0.69* with implicit standard port of *11111* and 60 frames per seconds.\n\n```bash\npython llv.py play --host 10.0.0.69 examples/dao.gesichter\n```\n\n### Inspecting or changing recordings\n\nRecordings are stored as lines of base64 encoded frames. You can unpack recording files, to create a cleartext version, letting you inspect the frames as a json array.\nIf you'd like to create your own frames by hand or script, you can pack it for the use with LLV.\n\n#### Unpacking\n\n```bash\npython llv.py unpack examples/dao.gesichter dao.klare-gesichter\n```\n\n#### Packing\n\n```bash\npython llv.py pack dao.klare-gesichter dao.gesichter\n```\n\n## Anatomy\n\n### Frame layout\n\nThe packet sizes of a frame are defined in the [engine code](https://github.com/EpicGames/UnrealEngine/blob/2bf1a5b83a7076a0fd275887b373f8ec9e99d431/Engine/Plugins/Runtime/AR/AppleAR/AppleARKitFaceSupport/Source/AppleARKitFaceSupport/Private/AppleARKitLiveLinkSource.cpp#L256) as:\n\n```c++\n//                                         PacketVersion                    FrameTime                     BlendShapeCount Blendshapes                                        SubjectName             DeviceID\nconst uint32 MAX_BLEND_SHAPE_PACKET_SIZE = sizeof(BLEND_SHAPE_PACKET_VER) + sizeof(FQualifiedFrameTime) + sizeof(uint8) + (sizeof(float) * (uint64)EARFaceBlendShape::MAX) + (sizeof(TCHAR) * 256) + (sizeof(TCHAR) * 256);\nconst uint32 MIN_BLEND_SHAPE_PACKET_SIZE = sizeof(BLEND_SHAPE_PACKET_VER) + sizeof(FQualifiedFrameTime) + sizeof(uint8) + (sizeof(float) * (uint64)EARFaceBlendShape::MAX) +  sizeof(TCHAR)        +  sizeof(TCHAR);\n\n```\n\nThis results in the minimum frame size being 264 bytes and the maximum being 774 bytes.\n\nThe layout is defined as:\n\n* PacketVersion -\u003e  1 byte  (uint8_t)\n* FrameTime -\u003e 16 bytes (int32 + float + int32 + int32)\n* BlendShapeCount -\u003e 1 byte (uint8_t)\n* List of blenshape values -\u003e Blendshape Count * 4 bytes (float)\n* Subject Name -\u003e Name Length * 1 byte (char)\n* Device ID -\u003e ID Length * 1 byte (char)\n\nThere are a maximum of 61 blendshapes supported. See the apple [ARKit docs](https://developer.apple.com/documentation/arkit/arfaceanchor/blendshapelocation) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthink-biq%2FLLV","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthink-biq%2FLLV","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthink-biq%2FLLV/lists"}