{"id":6046,"date":"2025-06-02T16:43:13","date_gmt":"2025-06-02T07:43:13","guid":{"rendered":"https:\/\/blog.criware.com\/?p=6046"},"modified":"2025-08-06T17:29:17","modified_gmt":"2025-08-06T08:29:17","slug":"sofdec-cue-points-part-2","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/","title":{"rendered":"Sofdec Cue Points [Part 2]"},"content":{"rendered":"<p>In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from the .usm file we created are reached during video playback.<\/p>\n<p>To showcase this, we will be using the same scene, representing a virtual fashion show.<\/p>\n<div style=\"max-width: 700px; margin: 0 auto; margin-bottom: 30px;\">\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-6046-1\" width=\"800\" height=\"450\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/05\/Video.mp4?_=1\" \/><a href=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/05\/Video.mp4\">https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/05\/Video.mp4<\/a><\/video><\/div>\n<\/div>\n<h4><strong>Playback<\/strong><\/h4>\n<p>The full Unity script that starts the video and reacts to the cue points is described below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Cue-Point-Callback.png\" alt=\"\" width=\"733\" height=\"1296\" class=\"alignnone size-full wp-image-6049\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Cue-Point-Callback.png 733w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Cue-Point-Callback-170x300.png 170w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Cue-Point-Callback-579x1024.png 579w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>When playing back a video using CRI Sofdec, there is a time lag between the command to start the playback (Start function) and when the first rendering can actually be performed.<br \/>\nTherefore, it is recommended to first call the playback preparation command (PrepareForRendering), which also includes drawing preparation, and then call the Start function, and enable drawing at the same time.<\/p>\n<h4><strong>Callback<\/strong><\/h4>\n<p>By registering a CuePointCallback() function with CriMana (Sofdec\u2019s runtime library), the script will be notified when a specific cue point has been reached during the video playback.  You can find more information about this callback in the official documentation:<br \/>\n<a href=\"https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/classCriWare_1_1CriMana_1_1Player.html#a52f34523349d55e89bccb13db73f8c98\">https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/classCriWare_1_1CriMana_1_1Player.html#a52f34523349d55e89bccb13db73f8c98<\/a><\/p>\n<p>In our callback function, the script switches between two light objects and updates the pose of a Humanoid character.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Marker-Playback-Script.png\" alt=\"\" width=\"445\" height=\"132\" class=\"alignnone size-full wp-image-6050\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Marker-Playback-Script.png 445w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Marker-Playback-Script-300x89.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/p>\n<p>For our example, we kept the character animation relatively basic. It simply cycles through various poses, one each time \u201cAction\u201d is triggered, as shown in the diagram below. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Animator.png\" alt=\"\" width=\"1434\" height=\"433\" class=\"alignnone size-full wp-image-6051\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Animator.png 1434w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Animator-300x91.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Animator-1024x309.png 1024w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/Animator-768x232.png 768w\" sizes=\"auto, (max-width: 1434px) 100vw, 1434px\" \/><\/p>\n<h4><strong>Conclusion<\/strong><\/h4>\n<p>Using cue points to synchronize 3D content or visual effects with a movie can add a whole new dimension to the playback of song videos in Unity, for example.<br \/>\nIf a song and VFX are prepared in the video file, and cue points are set to match the song&#8217;s timing, it becomes possible to synchronize them with the movement of a Humanoid character (including mouth movements, choreography\u2026), and various objects or lights present in the Unity scene.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then,<\/p>\n","protected":false},"author":2,"featured_media":6048,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[6,7,23],"tags":[],"class_list":["post-6046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sofdec","category-tutorials","category-unity"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"criware\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\n\t\t<!-- Google tag (gtag.js) --> <script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"><\/script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); <\/script>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CRI Middleware Blog - Unleash creativity, boost productivity.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Sofdec Cue Points [Part 2] - CRI Middleware Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-06-02T07:43:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-06T08:29:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Sofdec Cue Points [Part 2] - CRI Middleware Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#blogposting\",\"name\":\"Sofdec Cue Points [Part 2] - CRI Middleware Blog\",\"headline\":\"Sofdec Cue Points [Part 2]\",\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/202506_SofdecCuePoint_Top-Banner.png\",\"width\":800,\"height\":445},\"datePublished\":\"2025-06-02T16:43:13+09:00\",\"dateModified\":\"2025-08-06T17:29:17+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#webpage\"},\"articleSection\":\"Sofdec, Tutorials, Unity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.criware.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"name\":\"Sofdec\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"position\":2,\"name\":\"Sofdec\",\"item\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#listItem\",\"name\":\"Sofdec Cue Points [Part 2]\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#listItem\",\"position\":3,\"name\":\"Sofdec Cue Points [Part 2]\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"name\":\"Sofdec\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/CRI-Blog_Title-banner_03.png\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#organizationLogo\",\"width\":262,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/\",\"name\":\"criware\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/\",\"name\":\"Sofdec Cue Points [Part 2] - CRI Middleware Blog\",\"description\":\"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/202506_SofdecCuePoint_Top-Banner.png\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#mainImage\",\"width\":800,\"height\":445},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/06\\\/02\\\/sofdec-cue-points-part-2\\\/#mainImage\"},\"datePublished\":\"2025-06-02T16:43:13+09:00\",\"dateModified\":\"2025-08-06T17:29:17+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Sofdec Cue Points [Part 2] - CRI Middleware Blog","description":"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from","canonical_url":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":"&lt;!-- Google tag (gtag.js) --&gt; &lt;script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"&gt;&lt;\/script&gt; &lt;script&gt; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); &lt;\/script&gt;"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#blogposting","name":"Sofdec Cue Points [Part 2] - CRI Middleware Blog","headline":"Sofdec Cue Points [Part 2]","author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"publisher":{"@id":"https:\/\/blog.criware.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/202506_SofdecCuePoint_Top-Banner.png","width":800,"height":445},"datePublished":"2025-06-02T16:43:13+09:00","dateModified":"2025-08-06T17:29:17+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#webpage"},"articleSection":"Sofdec, Tutorials, Unity"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","position":1,"name":"Home","item":"https:\/\/blog.criware.com","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","name":"Sofdec"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","position":2,"name":"Sofdec","item":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#listItem","name":"Sofdec Cue Points [Part 2]"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#listItem","position":3,"name":"Sofdec Cue Points [Part 2]","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","name":"Sofdec"}}]},{"@type":"Organization","@id":"https:\/\/blog.criware.com\/#organization","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","url":"https:\/\/blog.criware.com\/","logo":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#organizationLogo","width":262,"height":81},"image":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author","url":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/","name":"criware"},{"@type":"WebPage","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#webpage","url":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/","name":"Sofdec Cue Points [Part 2] - CRI Middleware Blog","description":"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/blog.criware.com\/#website"},"breadcrumb":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"creator":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/06\/202506_SofdecCuePoint_Top-Banner.png","@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#mainImage","width":800,"height":445},"primaryImageOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/#mainImage"},"datePublished":"2025-06-02T16:43:13+09:00","dateModified":"2025-08-06T17:29:17+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.criware.com\/#website","url":"https:\/\/blog.criware.com\/","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","inLanguage":"en-GB","publisher":{"@id":"https:\/\/blog.criware.com\/#organization"}}]},"og:locale":"en_GB","og:site_name":"CRI Middleware Blog - Unleash creativity, boost productivity.","og:type":"article","og:title":"Sofdec Cue Points [Part 2] - CRI Middleware Blog","og:description":"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from","og:url":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/","og:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","og:image:secure_url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","article:published_time":"2025-06-02T07:43:13+00:00","article:modified_time":"2025-08-06T08:29:17+00:00","twitter:card":"summary_large_image","twitter:title":"Sofdec Cue Points [Part 2] - CRI Middleware Blog","twitter:description":"In the first part of this tutorial, we exported markers from our After Effects project into a text file. Then, we used this data in the Sofdec Encoding Wizard to embed cue points in our video. In this part, we will explain how to create a Unity script that reacts when the cue points from","twitter:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png"},"aioseo_meta_data":{"post_id":"6046","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-06-02 07:32:44","updated":"2025-08-06 08:38:01","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/\" title=\"Sofdec\">Sofdec<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSofdec Cue Points [Part 2]\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.criware.com"},{"label":"Sofdec","link":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/"},{"label":"Sofdec Cue Points [Part 2]","link":"https:\/\/blog.criware.com\/index.php\/2025\/06\/02\/sofdec-cue-points-part-2\/"}],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/6046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=6046"}],"version-history":[{"count":4,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/6046\/revisions"}],"predecessor-version":[{"id":6055,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/6046\/revisions\/6055"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/6048"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=6046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=6046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=6046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}