evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 10 forks source link

fix conversion from annexb to elementary stream #509

Closed gBillal closed 5 days ago

gBillal commented 5 days ago

The conversion relies on the nalus type metadata on the buffer to delete parameter sets. Unfortunately some cameras doesn't respect the rtp spec and instead of marking each nalu with an rtp marker they put the maker only on the last rtp containing the last slice of the whole access unit.