No, there’s no bug in “openRTSP”. It is simply copying the H.264 (or H.265)
NAL units that it receives over the network, prepending each NAL unit with a
0x00 0x00 0x00 0x01 ’start code’, and (here’s the important part) prepending
the file with SPS, PPS, and (for H.265 only) VPS NAL units, that
I mentioned this problem on the ffmpeg developpers mailing-list.
I sent a sample video.
This is what I was told:
The first 37 bytes look similar to a video stream but are invalid for a hevc
video, making auto-detection more difficult. Not sure if this should be fixed,
could you tell us the name