Re: [FFmpeg-devel] [PATCH]Error out if mjpeg over rtp is not 4:2:0

2015-07-09 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > Looking at rtpenc_jpeg: 422 is mentioned there. Yes, it might work if you use the right encoder. Patch withdrawn, I sent a new patch that adds an additional necessary check when sending mjpeg. Carl Eugen ___ ffmpeg

Re: [FFmpeg-devel] [PATCH]Error out if mjpeg over rtp is not 4:2:0

2015-07-08 Thread Paul B Mahol
On 7/8/15, Carl Eugen Hoyos wrote: > Hi! > > Looking at tickets #3823 and #4317 it seems to me that > FFmpeg currently only supports 4:2:0 subsampling when > sending jpeg over rtp. I believe an error should be > shown if 4:2:2 or 4:4:4 are provided. > > Please comment, Carl Eugen > Looking at rtp

[FFmpeg-devel] [PATCH]Error out if mjpeg over rtp is not 4:2:0

2015-07-08 Thread Carl Eugen Hoyos
Hi! Looking at tickets #3823 and #4317 it seems to me that FFmpeg currently only supports 4:2:0 subsampling when sending jpeg over rtp. I believe an error should be shown if 4:2:2 or 4:4:4 are provided. Please comment, Carl Eugen diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 3