Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-17 Thread Luca Barbato
The set looks good to me as well. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-17 Thread Martin Storsjö
This allows callers with avio write callbacks to get the bytestream positions that correspond to keyframes, suitable for live streaming. In the simplest form, a caller could expect that a header is written to the bytestream during the avformat_write_header, and the data output to the avio context

Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-15 Thread Martin Storsjö
On Sat, 14 May 2016, Luca Barbato wrote: On 14/05/16 20:32, Martin Storsjö wrote: . What I try to mean is "sync point" == keyframe, "parse point" == any packet boundary, opaque == anything/random/unknown (e.g. if a packet is cut into multiple write callbacks due to a too small IO buffer, or

Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-14 Thread Luca Barbato
On 14/05/16 20:32, Martin Storsjö wrote: >> . > > What I try to mean is "sync point" == keyframe, "parse point" == any > packet boundary, opaque == anything/random/unknown (e.g. if a packet is > cut into multiple write callbacks due to a too small IO buffer, or if > the muxer doesn't mark

Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-14 Thread Martin Storsjö
On Sat, 14 May 2016, Anton Khirnov wrote: Quoting Martin Storsjö (2016-05-09 13:34:26) This allows callers with avio write callbacks to get the bytestream positions that correspond to keyframes, suitable for live streaming. In the simplest form, a caller could expect that a header is written

Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-14 Thread Anton Khirnov
Quoting Martin Storsjö (2016-05-09 13:34:26) > This allows callers with avio write callbacks to get the bytestream > positions that correspond to keyframes, suitable for live streaming. > > In the simplest form, a caller could expect that a header is written > to the bytestream during the

Re: [libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-09 Thread Luca Barbato
On 09/05/16 13:34, Martin Storsjö wrote: > Better suggestions on the data type names are welcome. Sounds quite ok, sync_point vs parse_point might enjoy more information I guess. lu ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH 1/7] avio: Allow custom IO users to get labels for the output bytestream

2016-05-09 Thread Martin Storsjö
This allows callers with avio write callbacks to get the bytestream positions that correspond to keyframes, suitable for live streaming. In the simplest form, a caller could expect that a header is written to the bytestream during the avformat_write_header, and the data output to the avio context