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

Moritz Barsnick barsnick at gmx.net
Fri Jun 28 01:32:13 EEST 2019


On Thu, Jun 27, 2019 at 20:35:51 +0200, Carl Eugen Hoyos wrote:
> Am Do., 27. Juni 2019 um 18:57 Uhr schrieb Peter B. <pb at das-werkstatt.com>:
>
> > It's actually just for hashing the content (single hash, instead
> > of framemd5), so playability is not really a concern.
>
> libavutil also supports (several) single hash functions.

There's also the "hash" muxer with various hash functions (and its
alias muxer "md5").

$ ffmpeg -i input -map 0:a -c:a copy -f hash -
or
$ ffmpeg -i input -map 0:a -c:a copy -hash md5 -f hash -
if you prefer MD5.

Moritz


More information about the ffmpeg-user mailing list