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

Small error in documentation provided regarding to Ffmpeg path. #84

Open
kaushikjatin opened this issue Jul 10, 2021 · 0 comments
Open

Comments

@kaushikjatin
Copy link

There is a section for those users who don't have Ffmpeg installed,, It is specified that those users can use 'Ffmpeg-static',,
and a working example has been provided ,, which is here:

        const ffmpeg = require('ffmpeg-static')
        const genThumbnail = require('simple-thumbnail')
        async function download () {
          await genThumbnail('https://www.w3schools.com/Html/mov_bbb.webm', 'bunny.webm', '150x?', {
            path: ffmpeg.path
          })
          
          console.log('Done!')
        }
         
        download()

Problem -> path:ffmpeg.path
Change needed -> path:ffmpeg

May be the ffmped-static have release a newer version and they have started providing path directly instead of providing it in side a javascript object as a property.

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

1 participant