Multimedia dedicated weblog.


May 11th, 2009 Posted in DirectShow, Free Software


with the help of one of our coders - Siri, we’ve been able to make a new update of the FLV muxer filter. The new build supports H.264, VP6 and AAC streams and also contains some code cleanups. The muxer also supports B-frames (when connected to MONOGRAM x264 Encoder).

The source code is located in the WebSVN repository or can be downloaded with the following command:

svn co svn://

Download binary : (350 KB)



  1. 18 Responses to “MONOGRAM FLV Mux”

  2. By winnydows on May 12, 2009

    Thanks. Nice work. But found a bugs:
    Try connect MONOGRAM x264 > SampleGrabber > MONOGRAM FLV - connection will fail. If mux to MONOGRAM MP4 grabber connected ok.
    x264vfw > MONOGRAM FLV don`t connected too.

  3. By Igor Janos on May 12, 2009

    Will take a look… working on a new build of x264 encoder. Btw. what is the point of connection x264 -> sample grabber -> flv mux ?

  4. By winnydows on May 12, 2009

    Progress, trim functions (if (SampleTime >= EndTime) Stop();) - event inside sample grabber. Monitoring get_CurrentPosition in many cases return 0, so i choose grabber as always correct progress monitor.
    One more bug. VP6 don`t connected to FLV muxer too (vp6_vfw_codec).

  5. By winnydows on May 13, 2009

    About grabber connection. You will fix it or I need find alternative ways for FLV muxing ?

  6. By Igor Janos on May 13, 2009

    I will take a look soon. But if the sample grabber won’t expose IMediaSampleEx interface on output media samples the B-frames functionality might be broken.

  7. By winnydows on May 13, 2009

    Or may be you know other way for getting SampleTime for encoding progress?

    get_CurrentPosition always return 0 for encoding if SetSyncSource(null).
    If use default clock, will return wrong sample time always less than real time.

    It work correct for me only for play files. I get IMediaPosition interface from IFilterGraph2.
    IMediaSeeking same result.

    Sample Grabber return real sample time.

  8. By Igor Janos on May 13, 2009

    IMHO The best way would be to use a simple CTransInPlace derived filter.

  9. By winnydows on May 13, 2009

    Don`t understand what you mean. I`m C# programmer and use DirectShowLib way. You mean need create own SampleGrabber ?
    Do you think SamleGrabber can produce problems with b-frames ?

  10. By Igor Janos on May 13, 2009

    I need to verify the behavior first. But you’re right - I’m afraid that sample grabber might produce problems with b-frames. If it turns out to be the case I can write a simple filter that would report timestamps from passing samples and/or block them to allow cutting. It should not take much time.

  11. By winnydows on May 13, 2009

    Will be great. Thanks.

  12. By winnydows on May 20, 2009

    Hi. Any news about VP6 or TimeGrabber ?

  13. By Igor Janos on May 20, 2009

    Unluckily not :-\.
    But check out the new x264 encoder.

  14. By PB on May 27, 2009

    About grabber connection. You will fix it or I need find alternative ways for FLV muxing ?

  15. By RhiSH on May 30, 2009


  16. By Warrick on Jun 5, 2009

    Hi Guys,

    I’m getting some pretty strange results using x264 + the FLV mux.

    Can someone take a look at this thread and tell me what I’m doing wrong.

    There’s a bunch a silly questions at the top, but I’m talking about my post at the bottom.


  17. By Igor Janos on Jun 7, 2009

    The problem is with your video resolution. Currently it only works fine for sizes with multiple of 16. Should be fixed soon.

  18. By Robert on Jun 17, 2009

    i used this flv mux filter to create a flv movie, but the sound was breaked, why?

    the follow link is the video:

  19. By Flash Video Player on Aug 4, 2009

    very informative post. Thanks for given this great post…

Post a Comment