エンコ時に以下のエラーが出ることがたまにある。
Multiple RDBs per frame with CRC is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
電波状況が悪い時とかによく出るみたい。でもTS見てみるとそれほどでもなかったりするのでソース見てみた。
libavcodec/aac_adtstoasc_bsf.c
if (!hdr.crc_absent && hdr.num_aac_frames > 1) { av_log_missing_feature(avctx, "Multiple RDBs per frame with CRC", 0); return AVERROR_PATCHWELCOME; }
なんかhdr.cc_absentの値がおかしいくさいけど、ほんとにおかしいわけじゃなくて、電波状況が悪かったせいじゃね?
というわけで、そのエラーを無視してフラグを上書きすることにした。
エラーになったソースをもう一度エンコしたところ無事にエンコできた。
とくにおかしいところもなさそうなのでしばらくこれで。
しかしアンテナ何とかしないとなー。