-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
When attempting to compress multiple videos (e.g., 5 videos) concurrently using the compressVideosThroughMultipleJob
function (code snippet below), the process frequently fails or is killed by the system on some devices, specifically the OnePlus 10 Pro and Oppo K10.
This behaviour appears to be related to high CPU and memory usage during concurrent transcoding operations. After processing for some time, the system either terminates the app or the compression tasks fail unexpectedly.
I have attached:
- Log files capturing the crash/failure details.
- Sample code used for concurrent compression (see below). link
- Sample videos and reproduction steps. link
- Sample app. link
This issue impacts video compression reliability on certain devices, making it difficult to perform parallel processing efficiently.
Environment:
- Device 1:
- Model: OnePlus 10 Pro
- OS Version: Android 12
- Device 2:
- Model: Oppo K10
- OS Version: Android 11
- Transcoder Library Version: 0.11.2
Steps to Reproduce:
- Download the app from the provided link and install it on the OnePlus 10 Pro or the Oppo K10.
- Download provided videos and select all videos by tapping the 'Select Videos' button. The app starts the compression.
After some processing app will be killed/crash.
Expected Behaviour:
The transcoder should convert the video successfully without errors.
Metadata
Metadata
Assignees
Labels
No labels