Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-05 Thread Ruta Gadkari
On Jan 3, 2017 03:38 AM, "Pavel Koshevoy" wrote: >> I don't recall seeing it mentioned that they do not support 422 and >> 444 in nvidia docs > It decodes "fine", except for one green line along the bottom edge of the > frame. > The other file I have that decodes with severe artifacts with mpeg

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Pavel Koshevoy
On Mon, Jan 2, 2017 at 3:08 PM, Pavel Koshevoy wrote: > On Mon, Jan 2, 2017 at 2:00 PM, Hendrik Leppkes wrote: >> On Jan 3, 2017 07:52, "Pavel Koshevoy" wrote: >> >> On Mon, Jan 2, 2017 at 9:37 AM, Philip Langdale wrote: > >>> It is documented as only supporting 420, even though it doesn't retu

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Pavel Koshevoy
On Mon, Jan 2, 2017 at 2:00 PM, Hendrik Leppkes wrote: > On Jan 3, 2017 07:52, "Pavel Koshevoy" wrote: > > On Mon, Jan 2, 2017 at 9:37 AM, Philip Langdale wrote: >> It is documented as only supporting 420, even though it doesn't return >> an error, so it's not a bug per-se - it's just that they

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Hendrik Leppkes
On Jan 3, 2017 07:52, "Pavel Koshevoy" wrote: On Mon, Jan 2, 2017 at 9:37 AM, Philip Langdale wrote: > On Mon, 2 Jan 2017 00:56:18 -0700 > Pavel Koshevoy wrote: >> Perhaps a more comprehensive solution is needed. I've run into the >> same problem again (avcodec_open2 succeeds, decoding spits

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Pavel Koshevoy
On Mon, Jan 2, 2017 at 9:37 AM, Philip Langdale wrote: > On Mon, 2 Jan 2017 00:56:18 -0700 > Pavel Koshevoy wrote: >> Perhaps a more comprehensive solution is needed. I've run into the >> same problem again (avcodec_open2 succeeds, decoding spits errors) >> when I tried to play back an mpeg2 st

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Philip Langdale
On Mon, 2 Jan 2017 00:56:18 -0700 Pavel Koshevoy wrote: > On Sun, Jan 1, 2017 at 6:00 PM, wrote: > > From: Pavel Koshevoy > > > > NVDEC (CUVID) does not support unlimited video resolutions, so if > > the resolution of the source is known it can be used during > > avcodec_open2 call to fail ear

Re: [FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-02 Thread Pavel Koshevoy
On Sun, Jan 1, 2017 at 6:00 PM, wrote: > From: Pavel Koshevoy > > NVDEC (CUVID) does not support unlimited video resolutions, so if the > resolution of the source is known it can be used during avcodec_open2 > call to fail early, rather than failing later during > avcodec_send_packet call. > > T

[FFmpeg-devel] [PATCH] lavc/cuvid: fail early if GPU can't handle given video resolution

2017-01-01 Thread pkoshevoy
From: Pavel Koshevoy NVDEC (CUVID) does not support unlimited video resolutions, so if the resolution of the source is known it can be used during avcodec_open2 call to fail early, rather than failing later during avcodec_send_packet call. This problem surfaced when trying to decode 5120x2700 h2