Re: [FFmpeg-devel] [PATCH v4 1/2] codec: bitpacked: add decoder

2017-04-04 Thread Damien Riegel
Hi, On Fri, Mar 31, 2017 at 07:23:28PM +0100, Rostislav Pehlivanov wrote: > On 31 March 2017 at 18:11, Kieran Kunhya wrote: > > > On Fri, 31 Mar 2017 at 17:57 Rostislav Pehlivanov > > wrote: > > > > > On 31 March 2017 at 16:36, Damien Riegel < >

[FFmpeg-devel] [PATCH v4 2/2] rtp: rfc4175: add handler for YCbCr-4:2:2

2017-03-31 Thread Damien Riegel
ff-by: Damien Riegel --- Changes in v4: - use strncmp for string comparisons - use AVERROR_INVALIDDATA instead of custom error codes Changes in v3: - rename rawvideo to rfc4175 - set pixel format in codec parameters - add additional check to prevent buffer overflow libavformat/Mak

[FFmpeg-devel] [PATCH v4 1/2] codec: bitpacked: add decoder

2017-03-31 Thread Damien Riegel
Add a codec capable of decoding some formats of the RFC4175. For now it's only capable of handling YCbCr-4:2:2 with 8-bit or 10-bit depth. For 8-bit it's a simple pass-through, for 10-bit it depacks the stream in the AV_PIX_FMT_YUV422P10 pixel format. Signed-off-by: Damien Riegel ---

Re: [FFmpeg-devel] [PATCH v3 1/2] codec: bitpacked: add decoder

2017-03-16 Thread Damien Riegel
On Tue, Feb 28, 2017 at 11:10:23PM +0100, Michael Niedermayer wrote: > On Tue, Feb 28, 2017 at 01:39:07PM -0500, Damien Riegel wrote: > > Add a codec capable of decoding some formats of the RFC4175. For now > > it's only capable of handling YCbCr-4:2:2 with 8-bit or 10-bit d

Re: [FFmpeg-devel] [PATCH v3 2/2] rtp: rfc4175: add handler for YCbCr-4:2:2

2017-03-01 Thread Damien Riegel
On Wed, Mar 01, 2017 at 12:12:42AM +0100, Thomas Volkert wrote: > > On 28.02.2017 19:39, Damien Riegel wrote: > > This adds partial support for the RFC 4175 (raw video over RTP). The > > only supported formats are the YCbCr-4:2:2 8 bit because it's natively > > s

[FFmpeg-devel] [PATCH v3 1/2] codec: bitpacked: add decoder

2017-02-28 Thread Damien Riegel
Add a codec capable of decoding some formats of the RFC4175. For now it's only capable of handling YCbCr-4:2:2 with 8-bit or 10-bit depth. For 8-bit it's a simple pass-through, for 10-bit it depacks the stream in the AV_PIX_FMT_YUV422P10 pixel format. Signed-off-by: Damien Riegel ---

[FFmpeg-devel] [PATCH v3 2/2] rtp: rfc4175: add handler for YCbCr-4:2:2

2017-02-28 Thread Damien Riegel
ff-by: Damien Riegel --- Changes in v3: - rename rawvideo to rfc4175 - set pixel format in codec parameters - add additional check to prevent buffer overflow libavformat/Makefile | 1 + libavformat/rtpdec.c | 1 + libavformat/rtpdec_formats.h | 1 + libavformat/rtpdec_rf

Re: [FFmpeg-devel] [PATCH v1 1/2] codec: vrawdepay: add decoder for RFC4175

2017-02-23 Thread Damien Riegel
On Wed, Feb 22, 2017 at 09:33:03PM +, Rostislav Pehlivanov wrote: > On 22 February 2017 at 20:18, Damien Riegel < > damien.rie...@savoirfairelinux.com> wrote: > > > On Fri, Feb 17, 2017 at 03:01:05PM -0500, Damien Riegel wrote: > > > Hi, > > > > &g

Re: [FFmpeg-devel] [PATCH v1 1/2] codec: vrawdepay: add decoder for RFC4175

2017-02-22 Thread Damien Riegel
On Fri, Feb 17, 2017 at 03:01:05PM -0500, Damien Riegel wrote: > Hi, > > On Thu, Feb 16, 2017 at 06:19:00PM +, Rostislav Pehlivanov wrote: > > > > > > No, do this in libavfilter and do not introduce another useless pseudo > > > codec > > > >

Re: [FFmpeg-devel] [PATCH v1 1/2] codec: vrawdepay: add decoder for RFC4175

2017-02-17 Thread Damien Riegel
Hi, On Thu, Feb 16, 2017 at 06:19:00PM +, Rostislav Pehlivanov wrote: > > > > No, do this in libavfilter and do not introduce another useless pseudo > > codec > > > > *libavformat, sorry The advantage of using a pseudo codec just to depack the stream is that the input and the codec are in se

[FFmpeg-devel] [PATCH v1 1/2] codec: vrawdepay: add decoder for RFC4175

2017-02-16 Thread Damien Riegel
Change-Id: Id2184a6cee7031edbcb65a39a369623114c1783c Signed-off-by: Damien Riegel --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/vrawdepay.c | 113 5 files changed, 123 insertions(

[FFmpeg-devel] [PATCH v1 0/2] Add support for raw video over RTP

2017-02-16 Thread Damien Riegel
This patchset adds support for the RFC 4175: RTP Payload Format for Uncompressed Video. [1] It only supports progressive YCbCr 4:2:2 video format, with 8-bit and 10-bit samples. [1] https://tools.ietf.org/html/rfc4175 Damien Riegel (2): codec: vrawdepay: add decoder for RFC4175 rtp

[FFmpeg-devel] [PATCH v1 2/2] rtp: rawvideo: add handler for YCbCr-4:2:2

2017-02-16 Thread Damien Riegel
ff-by: Damien Riegel --- libavformat/Makefile | 1 + libavformat/rtpdec.c | 1 + libavformat/rtpdec_formats.h | 1 + libavformat/rtpdec_rawvideo.c | 226 ++ 4 files changed, 229 insertions(+) create mode 100644 libavf