[Matroska-devel] How to build Codec Private Data for H.264 stream using x264 encoder?

Kho Yee Choy khoyee at gmail.com
Wed Mar 14 16:06:47 CET 2018


Hi,

I am using x264 encoder to encode raw images into H.264 video stream based
on the following sample code:
https://github.com/jesselegg/x264/blob/master/example.c

I would like to get Codec Private Data to be used with mkv container, what
is the correct way of extracting information from x264 encoder?

I found the following post about the data structure of Codec Private Data
but am lost relating this to what I can get from the x264 encoder.
https://lists.matroska.org/pipermail/matroska-devel/2012-April/004196.html

Please advise.

Thanks.

-- 
Choy Kho Yee

Are you debugging your life?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20180315/e43bfe76/attachment.html>


More information about the Matroska-devel mailing list