Where to intercept NAL packets?
Posted: 11 Nov 2016 16:20
Hi all,
I developed an H264 - RTSP video server which sends encryped NAL packets and send other custom payload using Unspecfied NAL unit type.
Client side i was trying to use libVLC in order to connect to to the server, decrypt NALs, get custom NAL packet and play the Video.
Where is the best place to process incoming ordered NAL packets?
Indio
I developed an H264 - RTSP video server which sends encryped NAL packets and send other custom payload using Unspecfied NAL unit type.
Client side i was trying to use libVLC in order to connect to to the server, decrypt NALs, get custom NAL packet and play the Video.
Where is the best place to process incoming ordered NAL packets?
- Writing a plugin? I found this with seems good https://github.com/ealloradai/OpenH264-VLC-Plugin
Writing a complete decoder? I could patch the openh264 decoder (https://github.com/cisco/openh264) but i don't have to deal with h264 format... i only have to read it and let it pass.
Can i use some sort of callback? like here http://stackoverflow.com/questions/2309 ... encv-mat-c
Indio