[FFmpeg-devel] [PATCH 3/3] lavc/encode: pick a sane default for bits_per_raw_sample if it's not set

Martijn van Beurden mvanb1 at gmail.com
Thu Jan 20 23:18:22 EET 2022


Op do 20 jan. 2022 om 19:58 schreef Martijn van Beurden <mvanb1 at gmail.com>:

> This creates a new regression: now 24-bit WAV files are converted to
> 32-bit WavPack files. I think I found the cause of the problem though: the
> issue is that wavpack uses sample format s32p and 24-bit wav files use s32.
> Therefore, a aresample filter is auto-inserted to convert s32p to s32,
> which causes ost->filter->graph->is_meta to be false.
>

Also, I see an abuffer is also added to the filtergraph which too causes
ost->filter->graph->is_meta to be false.


More information about the ffmpeg-devel mailing list