I use HM 14.0 as reference software.
Using config file, a frame is decomposed in many packets of MTU 500 bytes.
I deleted packets from an H.265 bitstream (i kept vps, sps, pps packets) and when I try to decode the produced bitstream, i get segmantation fault.
I post an example of the produced bitstream file here. This bitstream file has 3% less packets than the original.
The annexBbytecountStatic is working properly and parses the new bitstream file.
Any ideas to solve the problem? Did I forget any important packet?
Due to the fact that the HM decoder can't handle a bitstream having lost packets, I use libde265 decoder, as mentioned here. Libde265 can decode bitstreams having lost packets.