[Intel-gfx] Question regarding libva encoding

Xiang, Haihao haihao.xiang at intel.com
Thu Sep 27 03:17:00 CEST 2012


The support for Main/High profile has been done in the staging branch.
We will merge the interfaces for Main/High profile back into the master
branch.

Thanks
Haihao


> 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
> 
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx





More information about the Intel-gfx mailing list