<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    i'm new to libav and video compression at all. What i tried so far
    is reusing output-example.c or decoding-encoding.c slightly modyfied
    for compiling on VS++2010 (win7) and to use it for x264 encoding.
    One of my main problems are that i didnt find up-to-date x264
    configurations (c: hardcoded) working with current ffmpeg build.
    Most examples i found (around 2010) using deprecated flags and
    functions for configuration and cause i dont know what most of that
    flag does - so i can't replace them with up-to-date right ones.<br>
    <br>
    Would be nice to get a example configuration which is working
    (c-code and may without using ffmpeg-presets) so i can make sure
    that my problems (crashes on avcodec_encode_video or
    av_interleaved_write_frame()) not caused by bad codec
    configurations!<br>
    <br>
    By the way: my avcodec_encode_video returns 32 times "0" before
    really writing a frame and returning a valid byte size - can this be
    a right behaviour?<br>
    <br>
    Thanks for reading!<br>
    Regards,<br>
    Christian<br>
    <a class="el"
href="http://www.libav.org/doxygen/master/group__lavc__encoding.html#ga22847c21918ee93a4d05f7ffb419f9a9"></a><a
      class="el"
      href="http://ffmpeg.org/doxygen/0.6/output-example_8c.html"></a>
  </body>
</html>