[x264-devel] Passing custom data through the encoder.
Jason Garrett-Glaser
jason at x264.com
Fri Aug 12 22:53:28 CEST 2011
On Fri, Aug 12, 2011 at 1:37 PM, Dan Rosen <drosen at drdsystems.com> wrote:
> When using the API, is there any way to pass data arbitrary frame data
> through the encoder so that we can relate information from the source YUV
> frame to the encoded frame? We could create a custom unregistered user data
> SEI, but then we would need to manually remove this SEI from the list of
> encoded NALs. Was hoping there would be an easier and lower overhead
> technique.
>
> Thanks, Dan Rosen
You mean something like this existing feature:
/* private user data. libx264 doesn't touch this,
not even copy it from input to output frames. */
void *opaque;
Except that x264 copies the pointer through?
Jason
More information about the x264-devel
mailing list