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

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Jun 26 02:22:04 EEST 2019


Am Mi., 26. Juni 2019 um 00:11 Uhr schrieb Peter B. <pb at das-werkstatt.com>:

> 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"?

Yes, there is a muxer that happily accepts audio and writes
it to a file (unchanged), it is the "rawvideo" muxer.
(Use -map)

Not all audio formats are playable in rawvideo format
(just as not all video formats are)

Carl Eugen


More information about the ffmpeg-user mailing list