Re: [libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-12 Thread Mark Thompson
On 12/10/16 10:38, Anton Khirnov wrote: > Quoting Mark Thompson (2016-10-10 21:54:35) >> Only works if packed headers are supported, where we can know the >> output before generating the first frame. >> --- >> Added padding; fail harder; informative comment in header. >> >> Not sure how to do this

Re: [libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-12 Thread Anton Khirnov
Quoting Mark Thompson (2016-10-10 21:54:35) > Only works if packed headers are supported, where we can know the > output before generating the first frame. > --- > Added padding; fail harder; informative comment in header. > > Not sure how to do this in the non-packed-header case - we could just

[libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-10 Thread Mark Thompson
Only works if packed headers are supported, where we can know the output before generating the first frame. --- Added padding; fail harder; informative comment in header. Not sure how to do this in the non-packed-header case - we could just invoke this anyway, but the result is unlikely to

Re: [libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-02 Thread Mark Thompson
On 02/10/16 17:05, Vittorio Giovara wrote: > On Sun, Oct 2, 2016 at 4:19 AM, Mark Thompson wrote: >> Only works if packed headers are supported, where we can know the >> output before generating the first frame. >> --- >> If this is wanted when packed headers aren't supported, we

Re: [libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-02 Thread Vittorio Giovara
On Sun, Oct 2, 2016 at 4:19 AM, Mark Thompson wrote: > Only works if packed headers are supported, where we can know the > output before generating the first frame. > --- > If this is wanted when packed headers aren't supported, we will need a > different approach because we

[libav-devel] [PATCH] vaapi_encode: Write sequence header as extradata

2016-10-02 Thread Mark Thompson
Only works if packed headers are supported, where we can know the output before generating the first frame. --- If this is wanted when packed headers aren't supported, we will need a different approach because we can't know what the output will be until the first frame is written.