[x264-devel] Passing custom data through the encoder. (Kieran Kunhya)

Dan Rosen drosen at drdsystems.com
Sat Aug 13 13:36:38 CEST 2011



-----Original Message-----
From: x264-devel-bounces at videolan.org
[mailto:x264-devel-bounces at videolan.org] On Behalf Of
x264-devel-request at videolan.org
Sent: Saturday, August 13, 2011 6:00 AM
To: x264-devel at videolan.org
Subject: x264-devel Digest, Vol 51, Issue 8

Send x264-devel mailing list submissions to
	x264-devel at videolan.org

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

Problem is, our developers say the pointer isn't copied. 


> I used this patch from Alex Giladi to do this:
>https://github.com/kierank/obe-vod/commit/1259826d5d7ad08e5ab5a556c2f5789b9
00018cd

This is exactly what we are looking for, thanks. Any chance of having this
implemented in the supported code base?

Thanks, Dan Rosen



More information about the x264-devel mailing list