cordova-plugin-ffmpeg icon indicating copy to clipboard operation
cordova-plugin-ffmpeg copied to clipboard

Trouble formatting to h264

Open mcpeakdb opened this issue 3 years ago • 2 comments

Hello, I'm making good progress with using this plugin but I appear to have run into an issue. I am trying to export video files with libx264 encoding.

I can run this command to encode to mpeg4: -i input.mp4 -i slide.png -filter_complex "[1]scale=480:640[1v];[0][1v] overlay=0:0:enable='between(t,1,2)'" -c:v mpeg4 output.mp4

However this similar command with libx264 returns Error Code 1: -i input.mp4 -i slide.png -filter_complex "[1]scale=480:640[1v];[0][1v] overlay=0:0:enable='between(t,1,2)'" -c:v libx264 output.mp4

Does anyone know if this plugin has libx264 installed in ffmpeg? If not, is that something that could be added in a future version. If so, any ideas what I am doing wrong?

Thanks for any help!

mcpeakdb avatar Sep 07 '21 21:09 mcpeakdb