diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/.gitignore b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..d2ff20141ceed86d87c0ea5d99481973005bab2b
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/.gitignore
@@ -0,0 +1,12 @@
+/node_modules
+/oh_modules
+/local.properties
+/.idea
+**/build
+/.hvigor
+.cxx
+/.clangd
+/.clang-format
+/.clang-tidy
+**/.test
+/.appanalyzer
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/app.json5 b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/app.json5
new file mode 100644
index 0000000000000000000000000000000000000000..be1a0f439ff9844418447f6fc90be35d9611628b
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/app.json5
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ {
+ "app": {
+ "bundleName": "com.samples.avtranscoderndk",
+ "vendor": "example",
+ "versionCode": 1000000,
+ "versionName": "1.0.0",
+ "icon": "$media:app_icon",
+ "label": "$string:app_name"
+ }
+}
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/element/string.json b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/element/string.json
new file mode 100644
index 0000000000000000000000000000000000000000..3887d20d5a745fdc056cb1d7bb93431c3752d481
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/element/string.json
@@ -0,0 +1,8 @@
+{
+ "string": [
+ {
+ "name": "app_name",
+ "value": "AVTranscoderNDK"
+ }
+ ]
+}
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/media/app_icon.png b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/media/app_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..a39445dc87828b76fed6d2ec470dd455c45319e3
Binary files /dev/null and b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/AppScope/resources/base/media/app_icon.png differ
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/README.md b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..a2b88f48607a714bd4007c636abb629c57173744
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/README.md
@@ -0,0 +1,69 @@
+# AVTranscoderNDK
+
+## 介绍
+
+本示例为媒体->Media Kit(媒体服务)->使用AVTranscoder实现视频转码(C/C++)的配套示例工程。
+
+本示例以“开始转码-暂停转码-恢复转码-转码完成”的一次流程为示例,展示AVTranscoder视频转码相关功能。
+
+## 效果预览
+
+| 预览 |
+| ------------------------------------------------------------ |
+|
|
+
+## 使用说明
+1. 安装编译生成的hap包,并打开应用;
+2. 点击启动转码按钮,之后可从设置的沙箱路径导出生成的转码视频;
+
+## 工程目录
+
+```
+AVTranscoderNDK
+entry/src/main/ets/
+└── pages
+ └── Index.ets (转码界面)
+entry/src/main/
+├── cpp
+│ ├── types
+│ │ └── libentry
+│ │ └── Index.d.ts (NDK函数对应的js映射)
+│ ├── CMakeLists.txt (CMake脚本)
+│ └── napi_init.cpp (NDK函数)
+└── resources
+ ├── base
+ │ ├── element
+ │ │ ├── color.json
+ │ │ ├── float.json
+ │ │ └── string.json
+ └── rawfile
+ └── src.mp4 (视频资源)
+```
+
+## 相关权限
+
+不涉及
+
+## 依赖
+
+不涉及
+
+## 约束和限制
+
+1. 本示例支持标准系统上运行,支持设备:RK3568;
+
+2. 本示例支持API20版本SDK,版本号:6.0.0.34;
+
+3. 本示例已支持使DevEco Studio 5.0.3 Release (构建版本:5.0.3.900,构建 2024年10月8日)编译运行
+
+## 下载
+
+如需单独下载本工程,执行如下命令:
+
+```
+git init
+git config core.sparsecheckout true
+echo code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/ > .git/info/sparse-checkout
+git remote add origin https://gitee.com/openharmony/applications_app_samples.git
+git pull origin master
+```
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/build-profile.json5 b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/build-profile.json5
new file mode 100644
index 0000000000000000000000000000000000000000..5791c644097643ca98cf578197a7b9b33c043e27
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/build-profile.json5
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+{
+ "app": {
+ "signingConfigs": [
+ ],
+ "products": [
+ {
+ "name": "default",
+ "signingConfig": "default",
+ "compileSdkVersion": 20,
+ "compatibleSdkVersion": 14,
+ "runtimeOS": "OpenHarmony",
+ "buildOption": {
+ "strictMode": {
+ "caseSensitiveCheck": true,
+ "useNormalizedOHMUrl": true
+ }
+ }
+ }
+ ],
+ "buildModeSet": [
+ {
+ "name": "debug",
+ },
+ {
+ "name": "release"
+ }
+ ]
+ },
+ "modules": [
+ {
+ "name": "entry",
+ "srcPath": "./entry",
+ "targets": [
+ {
+ "name": "default",
+ "applyToProducts": [
+ "default"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/.gitignore b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..e2713a2779c5a3e0eb879efe6115455592caeea5
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/.gitignore
@@ -0,0 +1,6 @@
+/node_modules
+/oh_modules
+/.preview
+/build
+/.cxx
+/.test
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/build-profile.json5 b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/build-profile.json5
new file mode 100644
index 0000000000000000000000000000000000000000..cfc804ca1fe8c314b8cb45e6990c4b8032944af1
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/build-profile.json5
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+{
+ "apiType": "stageMode",
+ "buildOption": {
+ "externalNativeOptions": {
+ "path": "./src/main/cpp/CMakeLists.txt",
+ "arguments": "",
+ "cppFlags": "",
+ "abiFilters": ["arm64-v8a", "x86_64", "armeabi-v7a"]
+ }
+ },
+ "buildOptionSet": [
+ {
+ "name": "release",
+ "arkOptions": {
+ "obfuscation": {
+ "ruleOptions": {
+ "enable": false,
+ "files": [
+ "./obfuscation-rules.txt"
+ ]
+ }
+ }
+ },
+ "nativeLib": {
+ "debugSymbol": {
+ "strip": true,
+ "exclude": []
+ }
+ }
+ },
+ ],
+ "targets": [
+ {
+ "name": "default"
+ },
+ {
+ "name": "ohosTest",
+ }
+ ]
+}
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/hvigorfile.ts b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/hvigorfile.ts
new file mode 100644
index 0000000000000000000000000000000000000000..8774588471ede4c1563f09d9a1d22f764bb1fd9e
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/hvigorfile.ts
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { hapTasks } from '@ohos/hvigor-ohos-plugin';
+
+export default {
+ system: hapTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
+ plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
+}
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/obfuscation-rules.txt b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/obfuscation-rules.txt
new file mode 100644
index 0000000000000000000000000000000000000000..272efb6ca3f240859091bbbfc7c5802d52793b0b
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/obfuscation-rules.txt
@@ -0,0 +1,23 @@
+# Define project specific obfuscation rules here.
+# You can include the obfuscation configuration files in the current module's build-profile.json5.
+#
+# For more details, see
+# https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5
+
+# Obfuscation options:
+# -disable-obfuscation: disable all obfuscations
+# -enable-property-obfuscation: obfuscate the property names
+# -enable-toplevel-obfuscation: obfuscate the names in the global scope
+# -compact: remove unnecessary blank spaces and all line feeds
+# -remove-log: remove all console.* statements
+# -print-namecache: print the name cache that contains the mapping from the old names to new names
+# -apply-namecache: reuse the given cache file
+
+# Keep options:
+# -keep-property-name: specifies property names that you want to keep
+# -keep-global-name: specifies names that you want to keep in the global scope
+
+-enable-property-obfuscation
+-enable-toplevel-obfuscation
+-enable-filename-obfuscation
+-enable-export-obfuscation
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/oh-package.json5 b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/oh-package.json5
new file mode 100644
index 0000000000000000000000000000000000000000..75d2e499a804dc9c4875b133326ee877cc980c65
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/oh-package.json5
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+{
+ "name": "entry",
+ "version": "1.0.0",
+ "description": "Please describe the basic information.",
+ "main": "",
+ "author": "",
+ "license": "",
+ "dependencies": {
+ "libentry.so": "file:./src/main/cpp/types/libentry"
+ }
+}
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/CMakeLists.txt b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0819d23bd94b2332532735469c1e40d4aea424e9
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/CMakeLists.txt
@@ -0,0 +1,15 @@
+# the minimum version of CMake.
+cmake_minimum_required(VERSION 3.5.0)
+project(AVTranscoderNDK)
+
+set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
+
+if(DEFINED PACKAGE_FIND_FILE)
+ include(${PACKAGE_FIND_FILE})
+endif()
+
+include_directories(${NATIVERENDER_ROOT_PATH}
+ ${NATIVERENDER_ROOT_PATH}/include)
+
+add_library(entry SHARED napi_init.cpp)
+target_link_libraries(entry PUBLIC libace_napi.z.so libhilog_ndk.z.so libavtranscoder.so)
\ No newline at end of file
diff --git a/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/napi_init.cpp b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/napi_init.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..18c6e45d0257bd3a79ef72163d23d8f8bc4f0dff
--- /dev/null
+++ b/code/DocsSample/Media/AVTranscoder/AVTranscoderNDK/entry/src/main/cpp/napi_init.cpp
@@ -0,0 +1,305 @@
+/*
+ * Copyright (c) 2025 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include "napi/native_api.h"
+#include
+#include