HW Decoder Init Fails

HW Decoder Init Fails

Hi All,
I am trying to stream some video files using the Darwin Streaming Server and Live555 Library.

I tried streaming 6 video files(MPEG2 Decoder) of resoultion 1280*720. The streaming works fine without any packet loss. I render the recieved data concurrently. After few successfull loop-playbacks, one of the video window stops rendering.
This happensonlywhenI try to run it onH/W.
On debuggingI found that the Decoder Init fails, returning MFX_ERR_UNSUPPORTED.
This occurence is very random.

Further I added the following lines of codeimmediately after Init is called.
if( sts == MFX_ERR_UNSUPPORTED)
{
//call Init Again
}
And Voila! It succeeds.

My setup configuration is :
OS - Windows 7(64 bit)
Target Architecture - x64
Discrete Graphic Card - None
Hardware - Sandy Bridge (i7)

Any idea why does it fail?
And why it succeeds on passing the same parameters with which it failed?

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Hi,

You indicate that you receiveMFX_ERR_UNSUPPORTEDwhen calling Decode Init. So this issue is only seen when initializing the decoding session? I would guess that the reason is that DecodeHeader did not parse the stream header correctly, possibly due to corrupted data from the streaming component.

Could you please provide a log using Media SDK tracer tool (with frame based logging enabled). It may help understand what the reason for failed Decode Init.

Can you please also provide the gfx driver verison you are using.

Regards,Petter

Connectez-vous pour laisser un commentaire.