Hi, Does anyone happen to know why inband FEC option is not supported by libopus wrapper in ffmpeg while the packet_loss option is supported?
Looking into the code of encoder wrapper ~/libavcodec/libopusenc.c the line ret = opus_multistream_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(opts->packet_loss)); sets up the packet loss percentage in libopus but there is no reference to OPUS_SET_INBAND_FEC(...) libopus control in the wrapper. Also looking into libopus the packet loss is used in conjunction with FEC settings i.e from opus-1.1.3/src/opus_encoder.c <snip> /* When FEC is enabled and there's enough packet loss, use SILK */ if (st->silk_mode.useInBandFEC && st->silk_mode.packetLossPercentage > (128-voice_est)>>4) st->mode = MODE_SILK_ONLY; <snip> Any help would be appreciated. Thanks, Amit _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel