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:
Warning message:
In system(cll1, intern = TRUE, ignore.stdout = TRUE, ignore.stderr = TRUE) :
running command 'ffmpeg -framerate 50 -i C:\Users\grad\AppData\Local\Temp\RtmpQdtuNO/%05d.temp.img.tiff -c:v libx264 -profile:v high -crf 2 -pix_fmt yuv420p -y C:\Users\grad\AppData\Local\Temp\RtmpQdtuNO/scroll.spectro.temp.mp4' had status 69
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!
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!