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

Generated mp4 files getting failed on Vimeo #173

Open
kashifsulaiman opened this issue Mar 10, 2022 · 1 comment
Open

Generated mp4 files getting failed on Vimeo #173

kashifsulaiman opened this issue Mar 10, 2022 · 1 comment

Comments

@kashifsulaiman
Copy link

kashifsulaiman commented Mar 10, 2022

I'm trying to merge Audio + Image, resulting Video.
I've been successful doing that. That video is successfully Uploading on Firebase Storage, but not on Vimeo.
Upon directly uploading on Vimeo, it stops at Optimizing with the error.
image

What I've tried so far:

    1. arguments: ['-i', imageName, '-i', audioName, 'output.mp4'],
    2. arguments: ['-i', imageName, '-i', audioName, '-vcodec', 'libx264', '-acodec', 'aac', '-strict', 'experimental', '-preset', 'slow', '-s', 'hd720', '-b', '5000k', '-ab', '320k', '-threads', '0', '-r', '25', '-g', '25', 'output.mp4'],
    3. arguments: ['-i', imageName, '-i', audioName, '-c:v', 'libx264', '-preset', 'slow', '-crf', '20', '-vf', 'format=yuv420p', '-c:a', 'aac', '-ac', '2', '-movflags', '+faststart', 'output.mp4'],
    4. arguments: ['-i', imageName, '-i', audioName, '-vcodec', 'libx264', '-acodec', 'aac', '-strict', 'experimental', '-s', '1280:720', '-b', '4500k', '-ab', '320k', '-r', '25', '-g', '25', '-pix_fmt', 'yuv420p', 'output.mp4'],
    5. arguments: ['-i', imageName, '-i', audioName, '-vcodec', 'libx264', '-acodec', 'aac', '-strict', 'experimental', '-s', '640:480', '-b:v', '2000k', '-ab', '320k', '-r', '25', '-g', '25', '-pix_fmt', 'yuv420p', 'output.mp4'],
    6. arguments: ['-i', imageName, '-i', audioName, '-vcodec', 'libx264', '-b:v', '10000k', '-r', '25', '-flags', 'cgop', '-coder', 'ac', '-g', '25', '-strict', 'experimental', '-acodec', 'aac', '-s', 'hd720', '-b:a', '320k', 'output.mp4']

Second one from the above is from johnjohndoe/vimeo.com.ffpreset
What could be the issue?

@martin16877
Copy link

@ kashifsulaiman did you find out the correct settings? I have the same use case (converting mp3 audio file to video with still image) and the same issue ("can't optimize video") and I can't figure out the correct ffmpeg settings.

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

2 participants