ropensci / av

Working with Video in R
https://docs.ropensci.org/av
Other
92 stars 10 forks source link

Unable to convert spx file to wav #48

Open carlganz opened 1 year ago

carlganz commented 1 year ago

In av_muxers() I see Ogg Speex listed but with audio as NA. When I run av_audio_convert with spx file as input it gives me Error: FFMPEG error in 'avcodec_find_decoder': Operation not permitted

Converting to Wav to MP3 worked, and I am on Windows FWIW. Any help would be appreciated

carlganz commented 1 year ago

Just reran on Linux and it worked so appears this is a Windows issue

jeroen commented 1 year ago

The Windows build probably does not have the required speex coded enabled. You can send a PR to https://github.com/r-windows/rtools-packages/blob/master/mingw-w64-ffmpeg/PKGBUILD if you like