A Round Date

Today is the day when my first contribution to FFmpeg went to CVS.

You know that story – a curious programmer once decided to look how one of video codecs works, found out that was deflated MS RLE data expanded for bitdepths > 8bpp, wrote a decoder for it, adapted for ffmpeg, sent that decoder to one person and guess what that person did? Added necessary ties and committed it to FFmpeg CVS.

Well, since then I contribute to FFmpeg a bit of different stuff time from time. Plans for this year include AAC encoder, finishing RV3/4 decoder, pushing LucasArts SMUSH decoder to SVN, making Mike finish Xan4 decoder and some random stuff I’m not aware of now.

3 Responses to “A Round Date”

  1. Robert Swain says:

    I got interested in audio and video compression through wanting to find the formats that had the best compression efficiency. I tracked XviD development for a long time, then x264.

    Then, as I had started learning C for some University work, I started doing little bits and pieces to contribute to MPlayer and FFmpeg. Then came AMR-NB and now AAC.

  2. Happy fourth anniversary! Can’t believe it has been this long.

  3. Malik Cisse says:

    Hi Konstantin Shishkov,

    You may be able to give some valuable feedback on this:
    I am trying to decode a VC-1 elementary stream file with ffmpeg frame by frame.

    The following code will always fail in avcodec_open() with -1.
    It seems to me that some additional data (extradata) is missing but I am not sure.
    Do you have an idea on what is missing and how to do this?
    Sample code is highly welcome.

    /* find the VC-1 video decoder */
    codec = avcodec_find_decoder(CODEC_ID_VC1);
    if (!codec) {
    fprintf(stderr, “codec not found\n”);
    exit(1);
    }

    c= avcodec_alloc_context();

    /* open it */
    error_val = avcodec_open(c, codec);//this will fail with -1 error code
    if (error_val < 0) {
    fprintf(stderr, “could not open codec\n”);
    exit(1);
    }

    Thanks, Malik Cisse