audioscrape
audioscrape copied to clipboard
create file format tag --fileformat for converting audio downloads
Addresses feature request #6
I want to keep this package as lightweight as possible so depending on ffmpeg is a little scary but I also see the benefit of getting mp3:s, Ogg:s or whatever out instead of a mix of formats.
Yea, I totally understand keeping the dependency footprint small, but for me it's really convenient to build file conversion into the scraping process. Many of us in the data science community scrape data for a specific purpose (e.g. all input files have to be 16kHz mono wave files).
ffmpeg is a pretty well established standard for audio/video encoding/decoding so thought it was safe library choice. Especially since if you're working with audio files in the first place, you're already likely to have ffmpeg installed.
Could you add a brief test of the audio conversion module (e.g https://github.com/caitriggs/audio-scraper/blob/fileformat/tests/test_audioconvert.py) so we can make sure it works?
Yup, shouldn't be an issue 👍
Closing because stale.