diff --git a/README.en.md b/README.en.md index 541ef8de84897be095e4acb4784d1374b02edfb7..5a7d9907eea724015341a7c2db72bc43b05a0d87 100644 --- a/README.en.md +++ b/README.en.md @@ -28,7 +28,7 @@ after transcoding is completed, click the completion button to jump to the trans │ ├──pages │ │ ├──index .ets // Home page │ │ ├──TranscoderFinishPage.ets // Video transcoding completion page -│ │ ├──VideoTranscoderPage.ets // Video transcoding progress page +│ │ └──VideoTranscoderPage.ets // Video transcoding progress page │ └──utils │ └──AVTranscoderManager.ets // Video transcoding management └──resources diff --git a/README.md b/README.md index 3695bee54494b56bf497faba7bb8415d35b22d61..397c00576818db43f8f6efc523f243fa37da31ff 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ │ ├──pages │ │ ├──index .ets // 主页 │ │ ├──TranscoderFinishPage.ets // 视频转码完成页面 -│ │ ├──VideoTranscoderPage.ets // 视频转码进度页面 +│ │ └──VideoTranscoderPage.ets // 视频转码进度页面 │ └──utils │ └──AVTranscoderManager.ets // 视频转码管理类 └──resources diff --git a/build-profile.json5 b/build-profile.json5 index 3e9f2156122181c8269a1536cf2fdc01b4144532..9e87e7e6f19020fe21192844709f192cec80fd44 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -1,20 +1,6 @@ { "app": { - "signingConfigs": [ - { - "name": "default", - "type": "HarmonyOS", - "material": { - "certpath": "C:\\Users\\admin\\.ohos\\config\\default_video-use-avtranscoder_LyzetE0A9DpHsiCjdnsBFuTUAYf3O717YkYnt0zcJdQ=.cer", - "keyAlias": "debugKey", - "keyPassword": "0000001AC5D479BAECCDF4F409593EC7452F75E41B72E756E7ED63171B35B739C4E025D75A4EC91B4D5F", - "profile": "C:\\Users\\admin\\.ohos\\config\\default_video-use-avtranscoder_LyzetE0A9DpHsiCjdnsBFuTUAYf3O717YkYnt0zcJdQ=.p7b", - "signAlg": "SHA256withECDSA", - "storeFile": "C:\\Users\\admin\\.ohos\\config\\default_video-use-avtranscoder_LyzetE0A9DpHsiCjdnsBFuTUAYf3O717YkYnt0zcJdQ=.p12", - "storePassword": "0000001A59491211DC7EF2705001995E03F5A5B757ABFDF452C7F17A41BAB923F71B2EF7927D1ECDF781" - } - } - ], + "signingConfigs": [], "products": [ { "name": "default", diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index 200f1f31770430d82f88a6847b37a4d4538ab021..70339e350a9c66dba21cbccab2a9fe356bedc211 100644 --- a/entry/src/main/resources/base/element/string.json +++ b/entry/src/main/resources/base/element/string.json @@ -10,47 +10,47 @@ }, { "name": "EntryAbility_label", - "value": "视频转码" + "value": "videoTranscoder" }, { "name": "start_transfer", - "value": "开始转换" + "value": "Start the conversion" }, { "name": "button_pause", - "value": "暂停" + "value": "Suspend" }, { "name": "button_confirm", - "value": "确定" + "value": "Certain" }, { "name": "button_continue", - "value": "继续" + "value": "Continue" }, { "name": "button_cancel", - "value": "取消" + "value": "Cancel" }, { "name": "button_finish", - "value": "完成" + "value": "Accomplish" }, { "name": "button_back", - "value": "首页" + "value": "Home page" }, { "name": "param_config", - "value": "参数配置" + "value": "Parameter configuration" }, { "name": "file_name", - "value": "文件名" + "value": "File name" }, { "name": "resolution", - "value": "分辨率" + "value": "Resolution" }, { "name": "standard_clearance", @@ -66,67 +66,67 @@ }, { "name": "code_rate", - "value": "码率" + "value": "Bit rate" }, { "name": "frame_rate", - "value": "帧率" + "value": "Frame rate" }, { "name": "text_cancel", - "value": "确定取消转码吗?" + "value": "Are you sure you want to cancel the transcoding?" }, { "name": "high_speed_processing", - "value": "极速处理中..." + "value": "In the process of speed..." }, { "name": "original", - "value": "原始" + "value": "Original" }, { "name": "tip", - "value": "任务正在进行中,请勿熄屏或退出APP,否则可能会导致失效" + "value": "The task is in progress. Please do not turn off the screen or exit the APP, otherwise it may fail." }, { "name": "convert_success", - "value": "转换成功" + "value": "Convert to work" }, { "name": "storage_path", - "value": "存储路径" + "value": "Storage path" }, { "name": "video_transcoder", - "value": "视频转码" + "value": "Video Transcoder" }, { "name": "transcoder_progress", - "value": "转码进度" + "value": "Transcoder Progress" }, { "name": "transcoder_result", - "value": "转码结果" + "value": "Transcoder Result" }, { "name": "current_process", - "value": "当前转换进度" + "value": "Current Progress" }, { "name": "showToastWarn4k", - "value": "预置视频不支持转换为更高分辨率。请切换到4K以下的分辨率。" + "value": "The preset video does not support conversion to a higher resolution. Please switch to a resolution below 4K." }, { "name": "showToastWarn1080", - "value": "预置视频不支持转换为更高分辨率。请切换到1080P以下的分辨率。" + "value": "The preset video does not support conversion to a higher resolution. Please switch to a resolution below 1080." }, { "name": "showToastWarn720", - "value": "预置视频不支持转换为更高分辨率。请切换到720P以下的分辨率。" + "value": "The preset video does not support conversion to a higher resolution. Please switch to a resolution below 720." }, { "name": "showToastWarnPause", - "value": "转换已完成,请点击完成按钮。" + "value": "The conversion has been completed. Please click the completion button." } ] } \ No newline at end of file diff --git a/entry/src/test/List.test.ets b/entry/src/test/List.test.ets deleted file mode 100644 index bb5b5c3731e283dd507c847560ee59bde477bbc7..0000000000000000000000000000000000000000 --- a/entry/src/test/List.test.ets +++ /dev/null @@ -1,5 +0,0 @@ -import localUnitTest from './LocalUnit.test'; - -export default function testsuite() { - localUnitTest(); -} \ No newline at end of file diff --git a/entry/src/test/LocalUnit.test.ets b/entry/src/test/LocalUnit.test.ets deleted file mode 100644 index 165fc1615ee8618b4cb6a622f144a9a707eee99f..0000000000000000000000000000000000000000 --- a/entry/src/test/LocalUnit.test.ets +++ /dev/null @@ -1,33 +0,0 @@ -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; - -export default function localUnitTest() { - describe('localUnitTest', () => { - // Defines a test suite. Two parameters are supported: test suite name and test suite function. - beforeAll(() => { - // Presets an action, which is performed only once before all test cases of the test suite start. - // This API supports only one parameter: preset action function. - }); - beforeEach(() => { - // Presets an action, which is performed before each unit test case starts. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: preset action function. - }); - afterEach(() => { - // Presets a clear action, which is performed after each unit test case ends. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: clear action function. - }); - afterAll(() => { - // Presets a clear action, which is performed after all test cases of the test suite end. - // This API supports only one parameter: clear action function. - }); - it('assertContain', 0, () => { - // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. - let a = 'abc'; - let b = 'b'; - // Defines a variety of assertion methods, which are used to declare expected boolean conditions. - expect(a).assertContain(b); - expect(a).assertEqual(a); - }); - }); -} \ No newline at end of file diff --git a/oh-package-lock.json5 b/oh-package-lock.json5 deleted file mode 100644 index c2f6d1bc9cb330eeb990573aa7e74cbccfb64b61..0000000000000000000000000000000000000000 --- a/oh-package-lock.json5 +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "stableOrder": true, - "enableUnifiedLockfile": false - }, - "lockfileVersion": 3, - "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", - "specifiers": { - "@ohos/hamock@1.0.0": "@ohos/hamock@1.0.0", - "@ohos/hypium@1.0.21": "@ohos/hypium@1.0.21" - }, - "packages": { - "@ohos/hamock@1.0.0": { - "name": "@ohos/hamock", - "version": "1.0.0", - "integrity": "sha512-K6lDPYc6VkKe6ZBNQa9aoG+ZZMiwqfcR/7yAVFSUGIuOAhPvCJAo9+t1fZnpe0dBRBPxj2bxPPbKh69VuyAtDg==", - "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/hamock/-/hamock-1.0.0.har", - "registryType": "ohpm" - }, - "@ohos/hypium@1.0.21": { - "name": "@ohos/hypium", - "version": "1.0.21", - "integrity": "sha512-iyKGMXxE+9PpCkqEwu0VykN/7hNpb+QOeIuHwkmZnxOpI+dFZt6yhPB7k89EgV1MiSK/ieV/hMjr5Z2mWwRfMQ==", - "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/hypium/-/hypium-1.0.21.har", - "registryType": "ohpm" - } - } -} \ No newline at end of file diff --git a/oh-package.json5 b/oh-package.json5 index a8aff0c5aff22d78aa26fd19c3861f4320e951ff..f440d114b8a9d9aeadd0e891bba0d0d076e70936 100644 --- a/oh-package.json5 +++ b/oh-package.json5 @@ -3,8 +3,5 @@ "description": "Please describe the basic information.", "dependencies": { }, - "devDependencies": { - "@ohos/hypium": "1.0.21", - "@ohos/hamock": "1.0.0" - } + "devDependencies": {} } diff --git a/screenshots/devices/ScreenRecord_20250701152349933.mp4 b/screenshots/devices/ScreenRecord_20250701152349933.mp4 deleted file mode 100644 index de614ddff8481621324a0c3f1eb47ca395575a2d..0000000000000000000000000000000000000000 Binary files a/screenshots/devices/ScreenRecord_20250701152349933.mp4 and /dev/null differ diff --git a/screenshots/devices/dialog.png b/screenshots/devices/dialog.png deleted file mode 100644 index f392b0b89aa571baffd5f026c9ae92aa6bb10b53..0000000000000000000000000000000000000000 Binary files a/screenshots/devices/dialog.png and /dev/null differ