I am trying to read a mpegts buffer with live data packets using avio_alloc_context(). The packets are video packets but i am getting segmentation fault error. i am using pure ffmpeg but i do not know how to read a buffer data of size 188 continuously.
I am trying to read a mpegts buffer with live data packets using avio_alloc_context(). The packets are video packets but i am getting segmentation fault error. i am using pure ffmpeg but i do not know how to read a buffer data of size 188 continuously.