Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-24 Thread Andy Furniss
Mark Thompson wrote: On 20/09/17 17:10, Andy Furniss wrote: Mark Thompson wrote: On 19/09/17 22:21, Andy Furniss wrote: That point being around 7k frames it will run out of something. [AVHWFramesContext @ 0x31ed880] Failed to create surface from DRM object: 2 (resource allocation failed).

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-20 Thread Mark Thompson
On 20/09/17 17:10, Andy Furniss wrote: > Mark Thompson wrote: >> On 19/09/17 22:21, Andy Furniss wrote: > >>> That point being around 7k frames it will run out of something. >>> >>> [AVHWFramesContext @ 0x31ed880] Failed to create surface from DRM object: 2 >>> (resource allocation failed). >>>

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-20 Thread Andy Furniss
Mark Thompson wrote: On 19/09/17 22:21, Andy Furniss wrote: That point being around 7k frames it will run out of something. [AVHWFramesContext @ 0x31ed880] Failed to create surface from DRM object: 2 (resource allocation failed). [Parsed_hwmap_0 @ 0x3114c40] Failed to map frame: -5. I see

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-19 Thread Mark Thompson
On 19/09/17 22:21, Andy Furniss wrote: > Mark Thompson wrote: >> On 15/09/17 00:15, Andy Furniss wrote: >>> Andy Furniss wrote: Mark Thompson wrote: > --- > Now sets the trusted packet flag; otherwise unchanged. > > >    configure    |   1 + >   

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-19 Thread Andy Furniss
Mark Thompson wrote: On 15/09/17 00:15, Andy Furniss wrote: Andy Furniss wrote: Mark Thompson wrote: --- Now sets the trusted packet flag; otherwise unchanged. configure| 1 + libavdevice/Makefile | 1 + libavdevice/alldevices.c | 1 +

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Mark Thompson
On 15/09/17 17:19, Mark Thompson wrote: > On 15/09/17 16:11, Carl Eugen Hoyos wrote: >> 2017-09-15 16:37 GMT+02:00 Mark Thompson : >>> On 15/09/17 13:09, Carl Eugen Hoyos wrote: 2017-09-15 0:37 GMT+02:00 Mark Thompson : > On 14/09/17 22:30, Carl Eugen Hoyos

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Carl Eugen Hoyos
2017-09-15 18:19 GMT+02:00 Mark Thompson : > On 15/09/17 16:11, Carl Eugen Hoyos wrote: >> May I commit? > > Are you able to test at all? No, I am sorry if I gave a wrong impression! Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Mark Thompson
On 15/09/17 16:11, Carl Eugen Hoyos wrote: > 2017-09-15 16:37 GMT+02:00 Mark Thompson : >> On 15/09/17 13:09, Carl Eugen Hoyos wrote: >>> 2017-09-15 0:37 GMT+02:00 Mark Thompson : On 14/09/17 22:30, Carl Eugen Hoyos wrote: > 2017-09-07 23:56 GMT+02:00 Mark

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Carl Eugen Hoyos
2017-09-15 16:37 GMT+02:00 Mark Thompson : > On 15/09/17 13:09, Carl Eugen Hoyos wrote: >> 2017-09-15 0:37 GMT+02:00 Mark Thompson : >>> On 14/09/17 22:30, Carl Eugen Hoyos wrote: 2017-09-07 23:56 GMT+02:00 Mark Thompson : > +static

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Mark Thompson
On 15/09/17 13:09, Carl Eugen Hoyos wrote: > 2017-09-15 0:37 GMT+02:00 Mark Thompson : >> On 14/09/17 22:30, Carl Eugen Hoyos wrote: >>> 2017-09-07 23:56 GMT+02:00 Mark Thompson : >>> +static const struct { +enum AVPixelFormat pixfmt; +

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Carl Eugen Hoyos
2017-09-15 0:37 GMT+02:00 Mark Thompson : > On 14/09/17 22:30, Carl Eugen Hoyos wrote: >> 2017-09-07 23:56 GMT+02:00 Mark Thompson : >> >>> +static const struct { >>> +enum AVPixelFormat pixfmt; >>> +uint32_t drm_format; >>> +} kmsgrab_formats[] = { >>> +

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-15 Thread Andy Furniss
Mark Thompson wrote: On 15/09/17 00:15, Andy Furniss wrote: Andy Furniss wrote: Mark Thompson wrote: --- Now sets the trusted packet flag; otherwise unchanged. configure| 1 + libavdevice/Makefile | 1 + libavdevice/alldevices.c | 1 +

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-14 Thread Mark Thompson
On 15/09/17 00:15, Andy Furniss wrote: > Andy Furniss wrote: >> Mark Thompson wrote: >>> --- >>> Now sets the trusted packet flag; otherwise unchanged. >>> >>> >>>   configure    |   1 + >>>   libavdevice/Makefile |   1 + >>>   libavdevice/alldevices.c |   1 + >>>  

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-14 Thread Andy Furniss
Andy Furniss wrote: Mark Thompson wrote: --- Now sets the trusted packet flag; otherwise unchanged. configure| 1 + libavdevice/Makefile | 1 + libavdevice/alldevices.c | 1 + libavdevice/kmsgrab.c| 455 +++ 4

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-14 Thread Andy Furniss
Mark Thompson wrote: --- Now sets the trusted packet flag; otherwise unchanged. configure| 1 + libavdevice/Makefile | 1 + libavdevice/alldevices.c | 1 + libavdevice/kmsgrab.c| 455 +++ 4 files changed, 458

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-14 Thread Mark Thompson
On 14/09/17 22:30, Carl Eugen Hoyos wrote: > 2017-09-07 23:56 GMT+02:00 Mark Thompson : > >> +static const struct { >> +enum AVPixelFormat pixfmt; >> +uint32_t drm_format; >> +} kmsgrab_formats[] = { >> +{ AV_PIX_FMT_GRAY8,DRM_FORMAT_R8 }, >> +{

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-14 Thread Carl Eugen Hoyos
2017-09-07 23:56 GMT+02:00 Mark Thompson : > +static const struct { > +enum AVPixelFormat pixfmt; > +uint32_t drm_format; > +} kmsgrab_formats[] = { > +{ AV_PIX_FMT_GRAY8,DRM_FORMAT_R8 }, > +{ AV_PIX_FMT_GRAY16LE, DRM_FORMAT_R16 }, > +{

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-13 Thread James Almer
On 9/7/2017 6:56 PM, Mark Thompson wrote: > +pkt->data = (uint8_t*)frame; > +pkt->size = sizeof(*frame); > +pkt->pts = now; > +pkt->flags = AV_PKT_FLAG_TRUSTED; pkt->flags |= AV_PKT_FLAG_TRUSTED; I know pkt->flags is zeroed by default, but that may change in the future. And

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-11 Thread Paul B Mahol
On 9/12/17, Mark Thompson wrote: > On 07/09/17 22:56, Mark Thompson wrote: >> --- >> Now sets the trusted packet flag; otherwise unchanged. >> >> >> configure| 1 + >> libavdevice/Makefile | 1 + >> libavdevice/alldevices.c | 1 + >>

Re: [FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber

2017-09-11 Thread Mark Thompson
On 07/09/17 22:56, Mark Thompson wrote: > --- > Now sets the trusted packet flag; otherwise unchanged. > > > configure| 1 + > libavdevice/Makefile | 1 + > libavdevice/alldevices.c | 1 + > libavdevice/kmsgrab.c| 455 >