after making a set of audio encoders I’ve been trying to focus on video a little bit. Here’s the first tryout of a libx264 based encoder filter. Full source code can be found in the local SVN repository. The encoder filter is released just like the x264 library as GNU GPL.

Features:

accepts YV12 input frames

constant QP and average bitrate rate control modes (only 1-pass encoding so far)

built with support for multiple CPU cores

easy-to-use presets for encoder options

support for B-frames - PTS and DTS information can be read by the downstream filter using a custom IMediaSampleEx interface (see source code for more info)

From my initial tests the filter worked quite nicely although I suspect there might be some small memory leaks which showed up after running the debug version of the filter for a few hours. If you find something please do let me know.

Yes. I have an own MP4 muxer also MPEG PS/TS, 3GP.. etc.. They might possibly appear here soon but there are some internal MONOGRAM issues to be solved first since these filters are not based on opensource libraries and we’re using them in several commercial systems.

I’m looking for a free MP4 muxer too. Haali Matroska Muxer does MP4 but it’s files won’t play inside Adobe Flash Player 10 which is what I need to do.
Please email me and let me know what you are using or where I can get one from. I would really appreciate it.

I’ve sent you an email regarding the mux.
As for the x264 encoder… I’ve checked sourceforge and found nothing. Only VFW codecs which are hard to configure programatically. I’ve also found a thread about x264 filter on doom9 which was 4 years old. So I guess there are not many up-to-date x264 filters available.

Hi. I can send you the muxer via mail so you can play. I’m having some issues that keep me from hobby-coding for the next 2-3 days but the muxer will definitely appear here in the beginning of the next week.

Unluckily I’m not allowed to publish it with source code but at least it can be released free for non-commercial usage.