我在DM8168 DVRRDK4.03上面编码h264,编码h264的PPS和SPS分别是0x28,0x27
如果要让编码出来h264的PPS和SPS分别是0x68,0x67该在哪里改呢?????????
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,
pps/sps的信息应该是两个数组,大部分的信息都是固定的,很少能够修改。你最好说明一下你具体要修改是哪个参数。
nal_ref_idc 应当是不会应当到你正常的解码的。
如果要修改,修改每个nal 的第五个字节的 bit5-6位 信息就可以;
可以参考一下h264 白皮书;
http://blog.csdn.net/chenchong_219/article/details/37990541
http://wenku.baidu.com/link?url=DezeUSmFDkRojvHXNAxlbYYiUq7et6gdqZgx5RBcI8cTzqcvUUj2RipHNOCtlk3RfC93U7CHsPpLLvJM0-h1X61NeO50qclz2X6SsyO-EPK
IVAHD算法里面nal_ref_idc的值是写死的,请参考e2e讨论:https://e2e.ti.com/support/embedded/multimedia_software_codecs/f/356/t/374464。