{"id":978,"date":"2025-01-23T21:17:22","date_gmt":"2025-01-23T12:17:22","guid":{"rendered":"https:\/\/aireviewirush.com\/?p=978"},"modified":"2025-01-23T21:17:22","modified_gmt":"2025-01-23T12:17:22","slug":"apps-undertake-transformer-to-assist-extra-dependable-and-performant-media-enhancing-use-instances","status":"publish","type":"post","link":"https:\/\/aireviewirush.com\/?p=978","title":{"rendered":"Apps undertake Transformer to assist extra dependable and performant media enhancing use instances"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<meta name=\"twitter:image\" content=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEikKVUjXvlmwmoDsLZI1NiHrkIdLze4R_WImhD2i2KiWC3GVm_0ndH5BANZEuBjzLoC4Im565P-4eXPYOBVpxXXlKc0PPCHgydiRelY-GlFxwximISnk5r8nnHo-CI85gjmRP9jQhQjlC_bMJMbG0v7gUCT_MceseBO8wxcmxVpphpntTQNM1os-gXGjSU\/s1600\/AndroidSpotlight_Adaptive_CameraX_Metadata_02.png\"\/><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEikKVUjXvlmwmoDsLZI1NiHrkIdLze4R_WImhD2i2KiWC3GVm_0ndH5BANZEuBjzLoC4Im565P-4eXPYOBVpxXXlKc0PPCHgydiRelY-GlFxwximISnk5r8nnHo-CI85gjmRP9jQhQjlC_bMJMbG0v7gUCT_MceseBO8wxcmxVpphpntTQNM1os-gXGjSU\/s1600\/AndroidSpotlight_Adaptive_CameraX_Metadata_02.png\" alt=\"\"><\/p>\n<p><em>Posted by Caren Chang \u2013 Developer Relations Engineer<\/em><\/p>\n<p><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgR4ycWfsT3aaDGXwOWQCKfDIUw1gbHu2GUB8vYS3Apv169XIrijmSJI6vljBZvluu5MjKh7jWKhWlRfg0KbWvLkfFed4EZ-QwZbOTKhVicAo28o2Jgl4nlkfS71eu9JfySzyLtGkJPoVq0CFM3Gfq7trj3i0jL6eBEbrXkd7F27f-HOa8MvUkExBw3YKg\/s1600\/AndroidSpotlight_Adaptive_CameraX_Banner_02.png\" imageanchor=\"1\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" border=\"0\" data-original-height=\"800\" data-original-width=\"100%\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgR4ycWfsT3aaDGXwOWQCKfDIUw1gbHu2GUB8vYS3Apv169XIrijmSJI6vljBZvluu5MjKh7jWKhWlRfg0KbWvLkfFed4EZ-QwZbOTKhVicAo28o2Jgl4nlkfS71eu9JfySzyLtGkJPoVq0CFM3Gfq7trj3i0jL6eBEbrXkd7F27f-HOa8MvUkExBw3YKg\/s1600\/AndroidSpotlight_Adaptive_CameraX_Banner_02.png\" style=\"100%\" alt=\"\"><\/a><\/p>\n<p>The <a href=\"https:\/\/developer.android.com\/media\/media3\" target=\"_blank\" rel=\"noopener\">Jetpack Media3<\/a> library permits Android apps to construct prime quality media apps. As a part of the Media3 library, the <a href=\"https:\/\/developer.android.com\/media\/media3\/transformer\" target=\"_blank\" rel=\"noopener\">Transformer<\/a> module goals to offer simple to make use of, dependable, and performant APIs for transcoding and enhancing media.<\/p>\n<p>For instance, apps can use Transformer to use enhancing operations equivalent to trimming an extended piece of media file, or making use of results to video tracks. Transformer will also be used to transform media recordsdata from one format to a different, equivalent to adjusting the decision or encoding of the media file.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_53 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\" role=\"button\"><label for=\"item-69e6ca6153371\" ><span class=\"\"><span style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input aria-label=\"Toggle\" aria-label=\"item-69e6ca6153371\"  type=\"checkbox\" id=\"item-69e6ca6153371\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/aireviewirush.com\/?p=978\/#Creating_Transformer_APIs\" title=\"Creating Transformer APIs\">Creating Transformer APIs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/aireviewirush.com\/?p=978\/#Transformer_Adoption_in_apps\" title=\"Transformer Adoption in apps\">Transformer Adoption in apps<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/aireviewirush.com\/?p=978\/#What%E2%80%99s_subsequent_for_Transformers\" title=\"What\u2019s subsequent for Transformers?\">What\u2019s subsequent for Transformers?<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Creating_Transformer_APIs\"><\/span>Creating Transformer APIs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As a part of the method to introduce new APIs, our engineering staff works carefully with Google apps equivalent to Google Pictures to check and experiment the brand new APIs. Experimental flags are first launched to allow efficiency enhancements. As soon as the outcomes are profitable and conclusive, these experimental options are then constructed into the default API implementations or promoted to public APIs for all apps to make use of. This strategy permits Transformer APIs to be examined on all kinds of units.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Transformer_Adoption_in_apps\"><\/span>Transformer Adoption in apps<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Apps which were utilizing Transformer in manufacturing noticed in-app efficiency enhancements, much less code to keep up, and higher developer expertise. Let\u2019s take a better take a look at how Transformer has helped apps for his or her media-editing use instances.<\/p>\n<p>One among customers\u2019 favourite options in <b>Google Pictures<\/b> is reminiscence sharing, the place snippets of your life story which are curated and introduced as Google Pictures recollections can now be shared as movies to social media and chat apps. Nevertheless, the method of mixing media objects to create a video on system is useful resource intensive and topic to vital latency, particularly on low-end units. To scale back this latency and allow the function on a wider vary of units, Pictures adopted Transformer of their media creation pipeline. Together with different enhancements made, the staff discovered that Transformer performed an element in lowering the median person latency for creating reminiscence movies by 41% on high-end units and 27% on mid-range units.<\/p>\n<p>The Pictures app additionally permits customers to carry out media edits equivalent to trimming or rotating a video. By adopting Transformer APIs for <a href=\"https:\/\/developer.android.com\/reference\/kotlin\/androidx\/media3\/effect\/ScaleAndRotateTransformation\" target=\"_blank\" rel=\"noopener\">rotating movies<\/a>, median save latency was diminished by 79% for relevant movies. The app additionally adopted Transformer\u2019s API for <a href=\"https:\/\/developer.android.com\/media\/media3\/transformer\/transformations#trim-optimization\" target=\"_blank\" rel=\"noopener\">optimizing video trimming<\/a>, and noticed video save latency lower by 64%.<\/p>\n<p><b>1 Second On a regular basis<\/b> is a private video journal that helps you create fascinating montages and timelapses. One of many app\u2019s principal person journeys is sequentially combining brief movies to create a significant film. After adopting Transformer for this use case, the app noticed that video encoding efficiency was as much as 5x sooner, permitting them to discover enabling 4k and HDR assist. The Transformer adoption additionally helped lower related code by 30%, making it simpler for the builders to keep up the code base.<\/p>\n<p><b>BandLab<\/b> is the next-generation music creation platform utilized by tens of millions all over the world to make and share their music. The app initially used MediaCodecs for his or her video creation use instances, however discovered that the low degree implementation resulted in native crashes that have been tough to debug. After researching extra on Transformer, the staff made the choice emigrate from MediaCodecs to Transformer. Total, it solely took the staff 12 working days for the migration, and this resulted in a less complicated codebase and extra maintainable pipeline for his or her media creation use instances. As well as, the app noticed that every one beforehand noticed native crashes have been not occurring anymore.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What%E2%80%99s_subsequent_for_Transformers\"><\/span>What\u2019s subsequent for Transformers?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>We\u2019re excited to see Transformer\u2019s adoption within the developer group, and can proceed including new options to assist extra media-editing use instances for the Android ecosystem together with:<\/p>\n<ul>\n<ul>\n<li>Higher assist for previewing media edits<\/li>\n<li>Enhancing the efficiency and developer expertise for video body extraction<\/li>\n<li>Simpler integration with AI results<\/li>\n<li>and far more<\/li>\n<\/ul>\n<\/ul>\n<p>Preserve an eye fixed out on what we\u2019re engaged on within the <a href=\"https:\/\/github.com\/androidx\/media\/tree\/release\/libraries\/transformer\" target=\"_blank\" rel=\"noopener\">Media3 Github<\/a>, and <a href=\"https:\/\/github.com\/androidx\/media\/issues\" target=\"_blank\" rel=\"noopener\">file function requests<\/a> to assist form the way forward for Transformer!<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Posted by Caren Chang \u2013 Developer Relations Engineer The Jetpack Media3 library permits Android apps to construct prime quality media apps. As a part of the Media3 library, the Transformer module goals to offer simple to make use of, dependable, and performant APIs for transcoding and enhancing media. For instance, apps can use Transformer to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":980,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":{"0":"post-978","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-mobile"},"_links":{"self":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=978"}],"version-history":[{"count":1,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/978\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/978\/revisions\/979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/media\/980"}],"wp:attachment":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}