[Libav-user] Extracting raw data form ffmpeg
ignas.brasiskis at gmail.com
Wed Aug 19 18:47:01 CEST 2015
Tr, Rgp 19, 2015 at 7:16 , Self User <selfuser at gmail.com> rašė:
> past about extracting the TS packets (mpeg TS packets 188 bytes each)
> as I understood from the answers I got, there is no API for that in
> the ffmpeg package.
> So, trying to get them indirectly...
> Is there any way in the ffmpeg package to take the raw data that
> comes from the UDP source (or other source) - means the pure origin
> data as it comes - and I will parse it myself (find the 0x47 header
> and from there extract what I need)
> I am meaning something like:
> avformat_open_input(&m_AvFormatCtx, m_srcName.c_str(), NULL,
> and from here try to get the buffer endlessl
I think that raw UDP packets can be read with <libavformat/avio.h>
Alternatively you just can use classic system calls to listen data on
port. On Unix interface is not that difficult.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user