Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble formatting to h264 #15

Open
mcpeakdb opened this issue Sep 7, 2021 · 2 comments
Open

Trouble formatting to h264 #15

mcpeakdb opened this issue Sep 7, 2021 · 2 comments

Comments

@mcpeakdb
Copy link

mcpeakdb commented Sep 7, 2021

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!

@MaximBelov
Copy link

Hi
you can use

https://www.npmjs.com/package/cordova-plugin-ffmpeg
https://github.com/MaximBelov/cordova-plugin-ffmpeg

@kenfouo
Copy link

kenfouo commented Mar 4, 2024

Hi you can use

https://www.npmjs.com/package/cordova-plugin-ffmpeg https://github.com/MaximBelov/cordova-plugin-ffmpeg

It's working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants