利用ffmpeg的libavcodec和libavutil静态库编bpg的问题
dwing吧
全部回复
仅看楼主
level 1
files_get4 楼主
我直接利用ffmpeg的libavcodec和libavutil静态库编出了bpg decoder,不过解码时有点问题
应该是bpg作者设计时删去了sps等信息,求教如何把这些东西重建起来?
2015年05月13日 08点05分 1
level 1
files_get4 楼主
HEVC bit stream: the standard HEVC headers (the VPS and SPS NALs)
give an overhead of about 60 bytes for no added value in the case of
picture compression. Since the alpha plane uses a different HEVC bit
stream, it also adds the same overhead again. So we removed the VPS
and SPS NALs and added a very small header with the equivalent
information (typically 4 bytes). We also removed the first NAL start
code which is not useful. It is still possible to reconstruct a
standard HEVC stream to feed an unmodified hardware decoder if needed.
作者是这样说的,但也没搞个reconstruct的程序,略坑啊。
2015年05月13日 08点05分 2
level 1
files_get4 楼主
2015年05月13日 09点05分 3
level 13
想方法对比一下自己编译的编码器生成的bpg和官方程序生成的bpg.
要么就是对比下解析first NAL的代码.
2015年05月13日 12点05分 4
[黑线]写错了,是解bpg问题。nal代码咋解析?VPS SPS NALs到底是啥玩意?对于hevc流这些都需要才是正常的hevc流么?
2015年05月13日 13点05分
1