tencent cloud

User Generated Short Video SDK

뉴스 및 공지사항
Release Notes
The “startPlay” API of the UGSV SDK Renamed
제품소개
Overview
Features
Use Cases
Concepts
구매 가이드
Pricing Overview
Refund Policy
라이선스 가이드
Adding and Renewing a License
Configuring and Viewing a License
SDK 다운로드
SDK Download
Release Notes (App)
UI 통합 솔루션 포함
UGSV Demo App
Source Code Description (iOS)
Source Code Description (Android)
UI 통합 솔루션 없음
SDK Integration
Capturing and Shoot
Preview, Clipping, and Splicing
Upload and Playback
Tencent Effect SDK
Advanced Features and Special Effects
API 문서
Editing
Shooting
기술적 지원
Error Codes
Feature FAQs
일반적인 문제
Upload
Android Compilation
Android
iOS
License
UGSV 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약

Upload

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2022-08-16 17:09:23

What is video uploading from the client?

Video uploading from the client refers to uploading local videos to VOD by an application user.

Why can’t I find the video upload module TXUGCPublish?

The video upload feature has been separated from the SDK and made open source in the demo. You need to integrate the UGSV upload feature by following the steps below:
1. Download the demo.
2. Copy the upload .jar package in the app\\libs\\upload directory to the ..\\app\\libs\\upload directory of your project.
3. Copy the source code directory Demo\\app\\src\\main\\java\\com\\tencent\\liteav\\demo\\videoupload of the UGSV upload feature to your project directory and rename the package in the source code.
4. Open build.gradle in the App directory of your project and add code that references the .jar package:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs/upload')
}
5. Configure application permissions in AndroidManifest.xml.
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

What should I do if upload fails with the internal error 1000?

Please check whether the VOD service is activated.

What should I do if an "incorrect upload parameter" error occurs?

Please check whether the addresses of the video file and image are correct and whether the corresponding files can be found in the specified paths.

What should I do if an "incorrect upload signature" error occurs?

Before a client initiates an upload, it needs to apply for an upload signature from your application server. If the application server approves the upload request, it will generate an upload signature as described in Signature for Upload from Client. The client must carry this signature so that VOD can verify whether the upload is authorized.
A signature for uploading from the client is generated as follows:
1. Get the API key.
2. Concatenate the plaintext string.
3. Convert the string to a signature.
4. You can verify the signatures generated by your service using the tools provided by VOD:
Signature generation: Enter the key and other required parameters to quickly generate a signature.
Signature verification: Enter a signature to parse and get the parameters used to generate the signature.
For more information, see Signature for Upload from Client.

Is there a limit on the length or size of a file uploaded?

No, there isn’t a limit on the length or size of a file uploaded.

Can I upload an image?

Currently, you cannot upload images alone, but you can upload a thumbnail image along with a video. For details, see Video Upload.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백