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

Update image2video.js #1039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MartinBarker
Copy link

@MartinBarker MartinBarker commented Jul 27, 2020

this code is outdated and will result in the error:

index.js:132 an error happened: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

without including:

//audio bitrate
.audioBitrate('128k')
//video bitrate
.videoBitrate('8000k', true)
//resolution
.size('1920x1080')

this code is outdated and will result in the error:
```index.js:132 an error happened: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!```
without including:

//audio bitrate 
    .audioBitrate('128k')
    //video bitrate 
    .videoBitrate('8000k', true)
    //resolution
    .size('1920x1080')
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

Successfully merging this pull request may close these issues.

1 participant