Am Sa., 13. Feb. 2021 um 05:52 Uhr schrieb Gustav González <[email protected]>:

> I have been looking for an example or piece of code showing how to fill
> an audio stream with silence frames/packets using the ffmpeg API.

There is av_samples_set_silence() but afair, it uses memset(0) for floats,
so it may not be much better than using memset(0) yourself.

Carl Eugen
_______________________________________________
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".

Reply via email to