Open ealloradai opened 7 years ago
You have to modify AVDemuxer or decoder
Thank you for the reply. Basically, I need to read the embedded data in the custom NAL packets (using NALU 30 and 31) and report it at GUI level by passing some reference to AVDemuxer or decoder as you suggested. I tried to do this with libvlc using the openh264 (BSD license) codec, but libvlc seems too complex for my task. I could reuse the openh264 codec anyway. Could you suggest me the best approach?
Hi wang-bin, could you suggest me where to modify AVDemux or decoder? I found that ffmpeg in /libavformat/rtpdec_h264.c seems to completely discard NAL with type >= 1 && type <= 23. So where ca i recover them? Thanks
Hi all, Is there a way to get the H264 NAL packet before it is decoded or i need to use a custom h264 decoder? Thanks