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?