[FFmpeg-trac] #11010(avcodec:new): Android MediaCodec: encoding videos with resolution not divisible by 16 to codec other than H.264 and H.265

FFmpeg trac at avcodec.org
Mon Jul 22 06:53:09 EEST 2024


#11010: Android MediaCodec: encoding videos with resolution not divisible by 16 to
codec other than H.264 and H.265
-------------------------------------+-----------------------------------
             Reporter:  antonlyap    |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Comment (by quinkblack):

 Replying to [comment:1 antonlyap]:
 > Also, it appears that we can get accurate info on alignment requirements
 on API 21+:
 https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.html#getWidthAlignment()

 Firstly, it's only available with the terrible designed Java API. Seconly,
 the information provided by this API on a lot of devides are incorrect, so
 it's not helpful if it's not reliable.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11010#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list