[FFmpeg-devel] [PATCH] avformat/movenc: Fix writing a sample size of 0 for PCM in MP4

Raphaël Zumer raphael.zumer at vimeo.com
Wed Jul 26 19:56:45 EEST 2023


On 7/26/23 11:37, Zhao Zhili wrote:
> I think you mixed up PCM in mp4 (-f mp4) and PCM in quicktime format (-f mov).
>
> There is no support of mux PCM in mp4 before the patch. And demux PCM in mp4 only works by chance.
> Let's focus on improve current situation, there isn't much to look back.

I double-checked my test sample that I thought was muxed with FFmpeg 6.0, and actually the lavf version matches the most recent one. FFmpeg 6.0 does reject it for muxing in MP4. Sorry for the mixup.

RZ




More information about the ffmpeg-devel mailing list