tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Convert HEIC to JPG on Android #629

Closed pol2095 closed 3 years ago

pol2095 commented 3 years ago

Hello,

I try to convert a single image heic file to jpg :

FFmpeg.execute( "ffmpeg -i file.heic -frames: v 1 -pix_fmt rgb48 file.jpg");

but I have this error message :

mobile-ffmpeg: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xef788570] moov atom not found
mobile-ffmpeg: test.heic: Invalid data found when processing input

Thanks