-
Notifications
You must be signed in to change notification settings - Fork 4
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
ffmpeg had status 69 when creating any spectrogram video #22
Comments
Also, I installed dynaSpec using the CRAN installation install.packages("dynaSpec") |
Here are example files output from the Canyon Wren data following the code on the example page. default.movdefault.mp4 |
For what it's worth, I just tried this on another Windows machine with a fresh R version (4.4.1) where I only installed tidyverse, seewave, tuneR, warbleR, viridis, and dynaSpec (all from CRAN using install.packages() ) and have the same result. |
I was able to get the Google Collab notebook version to work (although had to add a line to load warbleR to use the read_sound_file() function and uncomment loading viridis vs. the stock version of the notebook). So I'm wondering if my issues on Windows are related to some of the other system dependencies outside of R, like fftw3, libsndfile1, etc. For now I'm trying to get a version working in WSL within windows but currently running into some annoying dependency issues related to my sf installation (which I'm using elsewhere for other things and am trying to avoid messing with). |
HI Conor, it has always been difficult to make it run on windows. That's why I decided to share the google colab. It used to work on previous windows versions but there seems to be a new issue every new version. I fixed the issue with the google colab. |
Awesome package, I've been looking for something like this for a while! I'd love to have a working installation for several different bioacoustic projects. But I'm having issues getting spectrograms to output with any video content.
Currently, when I create a spectrogram using the example scripts here, the code runs for about a minute and then outputs a .mp4 file, but it only includes the audio, no video content.
When it finishes executing, it outputs this warning, which I find a little opaque:
I'm working on a Windows 10 machine and running R in Rstudio. I've installed ffmpeg and added it to the system path and tested that it's accessible to a command prompt. I thought the issue might be with my ffmpeg version, so I've tried two with the same result:
' ffmpeg-git-full.7z ' from here
' ffmpeg-master-latest-win64-gpl.zip ' from https://github.com/BtbN/FFmpeg-Builds/releases
But in either case get the same warning and the same behavior writing a .mp4 file with only audio. I also tried outputting to .mov with the same result.
I've tried updating tuneR, seewave, and tidyverse in case there was some weird dependence issue. Is there anything else I can try?
Thanks again for writing a really useful package!
The text was updated successfully, but these errors were encountered: