[FFmpeg-user] Equivalent of "-f rawvideo" but for audio?

H. Vidal, Jr. hvidal at tesseract-tech.com
Wed Jun 26 01:19:28 EEST 2019


On 6/25/19 6:11 PM, Peter B. wrote:
> Hi everyone :)
>
> Is it possible somehow to transcode any source audio format type to its
> raw, uncompressed format that matches the source?
>
> I'm dealing with collections of mixed input format combinations, and am
> trying to find a way to bash-automate something.
>
>
> For video "-f rawvideo" seems to do the trick.
> But according to the "audio types" documentation [1] it seems I have to
> know define the (and therefore already know) the format.
>
> So, instead of specifying "-f s16le" or "-f s24le", is there something
> like "-f rawaudio"?
>
>
>
> I'm grateful for any hints or input!
>
>
> Thanks in advance,
> Peter B.
>
>
>
> ## Links:
> [1] https://trac.ffmpeg.org/wiki/audio%20types

Maybe 'sox' can help if this is purely an audio-to-audio
application. I have used it to useful effect reliably in signal
processing applications; your mileage may vary.

http://sox.sourceforge.net/

hv



More information about the ffmpeg-user mailing list