4K video 60 frame video compression exception
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 663
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for this great library!
Device: HUAWEI MAte 30 Pro 5G
4K video recorded with this phone
2160*3840,60 frames----> 720*1280,30 frames,720*1280*5 bit rate, 5 keyframes is fail
but 2160*3840,30 frames----> 720*1280,30 frames,720*1280*5 bit rate, 5 keyframes is success
VideoTrackTranscoder#resizeDecodedInputFrame() methos
In the decoding process, this method decoder.dequeueOutputFrame is greater than 0 for a total of 8 times
The device is OK. It supports 4K decoding and encoding because I can use other libraries
https://github.com/MasayukiSuda/Mp4Composer-android
But I still don't know what's wrong. I hope I can get your help. thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to VideoTrackTranscoder#resizeDecodedInputFrame() and decoder.dequeueOutputFrame; compare the failing 4K/60fps case with the successful 4K/30fps case on the HUAWEI Mate 30 Pro 5G. Reproduce the compression failure using the stated 720×1280 output settings, then verify behavior after identifying its cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100