[FFmpeg-devel] Defect: MediaCodec Encoder - Pixel ColorSpace of many Adreno GPUs not supported

Tomas Härdin git at haerdin.se
Mon Dec 12 17:30:46 EET 2022


tor 2022-12-08 klockan 01:16 +0800 skrev Zhao Zhili:
> 
> We can add query the supported color format and add some hints when
> mediacodec configure failed.
> Or we can add a helper function for user to query the color format.
> It will be a bunch of JNI code, limited
> by the ugly MediaCodecInfo.CodecCapabilities API. It's easy to be
> done with Java. TBH, it's much easier with
> trial and error, try nv12 then yuv420.
> 
> We can do something with FFCodec.init_static_data, but we need a
> strategy first. I don't want to go with a long
> blacklist/whitelist.

I plan on hacking on something for this this week

/Tomas




More information about the ffmpeg-devel mailing list