audioscrape icon indicating copy to clipboard operation
audioscrape copied to clipboard

create file format tag --fileformat for converting audio downloads

Open caitriggs opened this issue 6 years ago • 1 comments

Addresses feature request #6

caitriggs avatar May 17 '18 06:05 caitriggs

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 👍

caitriggs avatar May 23 '18 19:05 caitriggs

Closing because stale.

carlthome avatar Jun 25 '23 11:06 carlthome