linkedin / linkedin/LiTr

4K video 60 frame video compression exception

Open
#158 6 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.