Hi Gonzalo,
Thank you for the info
On Saturday, November 6, 2021, 11:39:02 PM EDT, Gonzalo Garramuño
<[email protected]> wrote:
El 6/11/21 a las 23:35, Robert Smith via Libav-user escribió:
If I skip setting setting sample format option the swr_init display warning
[SWR @ 0x2c7b950] Requested sample format (null) is not supported internally,
only float & S16 is supported
and eventually swr_convert fails on assertion:
Assertion a->planar failed at libswresample/swresample.c:284
Could you advise how to resolve this issue? Thanks
See if there's a swr_alloc_set_opts function in your libav. If there is, you
can pass all the flags like:
swr_ctx = swr_alloc_set_opts(NULL, out_ch_layout,
out_sample_fmt,
out_sample_rate,
in_ch_layout, in_sample_fmt,
in_sample_rate,
0, NULL);
Hope that helps!
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".