Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant