On 2019-05-23 10:58:54 (+0200), Louigi Verona wrote:
> There are several questions here.
>
> 1. Which tool to use for transcoding. Should it be SoX, or FFmpeg, or
> something else? A lot of the info out there seems to favor SoX, but a lot
> of that info is pretty old.
I'm currently maintaining sox for Arch Linux and I would suggest to use
ffmpeg instead. It's by far the more active and maintained upstream.
Sox is pretty much dead by now (hasn't seen a release since 2015). The
latest (two year old) fixes for pretty extreme CVEs [1] haven't even
found their way into a latest stable release [2] anymore and getting no
answer on such a request doesn't exactly nurture my belief in the
project. However, the patches have been applied on master.
Looking at the current list of CVEs, I see, that it has gained yet
another four CVEs this year alone, that I have to add to the list of
patches!
This is literally nothing you would want to put into an automated
pipeline (but it's also your developer's/ your call ;-) ).
> 2. Does it make sense to resample to 44100 or to 48000? If it were opus,
> the answer if simple: 48000, because that's what the opus spec actually
> recommends. There is no such recommendation for mp3 files. Also, upsampling
> is not an innocent procedure and the converter has to be of high quality as
> well.
Not an expert, but I wouldn't recommend upsampling.
Best,
David
[1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=sox
[2] https://sourceforge.net/p/sox/mailman/message/36432794/
-- https://sleepmap.de
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev
This archive was generated by hypermail 2.1.8 : Thu May 23 2019 - 16:15:01 EEST