[Libav-user] AVPacket serialization

Nicolas George george at nsup.org
Fri Jun 26 18:06:48 EEST 2020


Hamilton Tobon Mosquera (12020-06-26):
> I'm working on an IoT project that uses libav to capture streams of
> audio/video and sends (using other library) them to the network, over UDP.
> The AVPackets are received (by the other library) as a bunch of bytes and
> interpreted by libav again in the other end. I was looking up for a libav
> built-in way to serialize an AVPacket and send it to the network, but
> couldn't find it.
> 
> Is there such a thing?.

Yes, of course: all the multimedia formats, so all the muxers and
demuxers in libavformat. Some are even optimized to work with lossy
network protocols like UDP.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200626/6caba0cc/attachment.sig>


More information about the Libav-user mailing list