Opened 18 months ago

Last modified 18 months ago

#11489 new defect

MediaCodec code not working, likely outdated

Reported by: RandomPerson Owned by:
Priority: normal Component: avcodec
Version: 7.1 Keywords: mediacodec
Cc: RandomPerson, MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i input -c:v [any mediacodec encoder] output
ffmpeg version 7.1
built on clang 18.0.9

I have a Samsung XCover Pro on Android 13 with the Google play store Termux.

I tried a 2 month old version (now 3 months old) where it worked and it's broken there too so I assume the code is likely too outdated.

Attachments (1)

ffmpeg-20250301-192106.log (19.6 KB ) - added by RandomPerson 18 months ago.
In case it's necessary

Download all attachments as: .zip

Change History (5)

by RandomPerson, 18 months ago

Attachment: ffmpeg-20250301-192106.log added

In case it's necessary

comment:1 by RandomPerson, 18 months ago

Bump

comment:2 by MasterQuestionable, 18 months ago

Cc: MasterQuestionable added
Component: ffmpegavcodec
Keywords: mediacodec added

͏    "Video size 1920x1080 isn't align to 16, it may have device compatibility issue"
͏    https://trac.ffmpeg.org/attachment/ticket/11489/ffmpeg-20250301-192106.log#L176

͏    Maybe MediaCodec itself is broken from the very beginning..?
͏    (the long-standing "1920x1088" issue)

comment:3 by RandomPerson, 18 months ago

In encoding it seems broken, however decoding somehow works.

comment:4 by RandomPerson, 18 months ago

Yeah I guess I was a bit unclear at first but basically encoding is broken from what it seems like which I do sometimes need if I need to speed up encoding.

Note: See TracTickets for help on using tickets.