[Intel-gfx] Question regarding libva encoding

Charlie Good charlie at wowza.com
Wed Sep 26 15:26:31 CEST 2012


Hello my name is Charlie Good and I am the CTO of Wowza Media System. We are the authors of Wowza Media Server. Our product includes a transcoder for transcoding incoming streams to adaptive bitrate stream sets. We are only using the AVC/H.264 encoder at this time. We are looking to use libva for accelerated encoding on Linux leveraging the Quick Sync technology. We are already doing this on Windows using the Intel Media SDK. I have an implementation that is currently working when using the baseline profile. I would also like to support main and high profile. It looks like these profiles are not yet implemented. I can see this in gen6_mfc.c in the pipeline code where it looks like only baseline encoding is supported:

VAStatus
gen6_mfc_pipeline(VADriverContextP ctx,
                  VAProfile profile,
                  struct encode_state *encode_state,
                  struct gen6_encoder_context *gen6_encoder_context)
{
    VAStatus vaStatus;

    switch (profile) {
    case VAProfileH264Baseline:
        vaStatus = gen6_mfc_avc_encode_picture(ctx, encode_state, gen6_encoder_context);
        break;

        /* FIXME: add for other profile */
    default:
        vaStatus = VA_STATUS_ERROR_UNSUPPORTED_PROFILE;
        break;
    }

    return vaStatus;
}

Is there a plan to add support for main and high encoding in a future release? Do you have any estimate of when this might be added?

BTW, I am a huge fan of Intel Quick Sync. Very cool technology. Amazing performance and quality.

Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120926/4a5f6cbf/attachment.html>


More information about the Intel-gfx mailing list