[FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

Nicolas George george at nsup.org
Fri Oct 27 21:33:24 EEST 2017


Le sextidi 6 brumaire, an CCXXVI, Jan Ekstrom a écrit :
> Otherwise OK, but since this is the first mention of "stream protocol"
> in the repo and el goog gives me just "Internet Stream Protocol" so I
> would like an explanation of what this means and how it connects to
> "custom AVIO implementations/wrappers"?

It is standard parlance in networking: stream protocols produce a stream
of octets, without any additional structure, while packet protocols
produce packets, which are delimited at protocol level and visible by
the application, and can be empty.

FFmpeg distinguishes packet protocols with the max_packet_size: if it is
0, it is a stream protocol, if not a packet protocol.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171027/69e98bc9/attachment.sig>


More information about the ffmpeg-devel mailing list