Open maxcct opened 2 years ago
hello I also encounter this problem, I believe this is because there is -an
option being used by default which you can see when turn on debug mode DEBUF_FFMPEG=true
hello @maxcct so I read the code, in order to have audio u would have to specify audioCodec
or the library will append -an
to ffmpeg
, I guess this should have been written in the documentation?
That makes sense – I did try using that flag, but couldn't find a param for it that worked
On Sun, 30 Jan 2022 at 13:19, xshadowlegendx @.***> wrote:
hello @maxcct https://github.com/maxcct so I read the code, in order to have audio u would have to specify audioCodec or the library will append -an to ffmpeg, I guess this should have been written in the documentation?
— Reply to this email directly, view it on GitHub https://github.com/Mike-Dax/gatsby-transformer-ffmpeg/issues/15#issuecomment-1025141917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEH54SIVHSXOUYXGOJ2KA3UYU3FVANCNFSM5MZBBPQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
I was able to get it working using audioCodec: libmp3lame
— the full list of supported/encodable codecs on your system are at ffmpeg -codecs
. You might also have to clear /.ffmpeg-cache
to force it to re-transcode.
Hello, I've used the plugin per the examples provided, but the video is ending up with no audio. The sound icon is displayed but grayed out.
My query is as follows:
and I'm using the component like this:
Any help greatly appreciated.