home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
0.2.2.0 generates 13,000 thumbnails!!!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jdivic" data-source="post: 103320" data-attributes="member: 15781"><p>hi rtv,</p><p></p><p>I don’t know should I start new thread… however, I took a sneak peek on code for generating thumbs from recorded shows... and I found that in a file </p><p>GrabBitmaps.cpp; method GrabBitmaps:</p><p></p><p> Log("grab:run.");</p><p> // activate the threads</p><p> CComQIPtr< IMediaControl, &IID_IMediaControl ></p><p>pControl(pGraph);</p><p> hr = pControl->Run( );</p><p>// hr is EC_FAIL</p><p> Log("grab:wait.");</p><p> // wait for the graph to settle</p><p> CComQIPtr< IMediaEvent, &IID_IMediaEvent > pEvent( pGraph );</p><p> long EvCode = 0;</p><p> HRESULT lParam1 = 0;</p><p> long lParam2 = 0;</p><p> hr = pEvent->GetEvent(&EvCode, &lParam1, &lParam2, -1);</p><p></p><p>and GetEvent returns:</p><p>EvCode: 0x32B (STREAMBUFFER_EC_READ_FAILURE)</p><p>lParam1: 0x80004005 (E_FAIL)</p><p>lParam2: 0</p><p></p><p>so… do you have any idea about the source of error or where I should look… playing of those dvr-ms recorded shows works perfectly… thanks in advance.</p></blockquote><p></p>
[QUOTE="jdivic, post: 103320, member: 15781"] hi rtv, I don’t know should I start new thread… however, I took a sneak peek on code for generating thumbs from recorded shows... and I found that in a file GrabBitmaps.cpp; method GrabBitmaps: Log("grab:run."); // activate the threads CComQIPtr< IMediaControl, &IID_IMediaControl > pControl(pGraph); hr = pControl->Run( ); // hr is EC_FAIL Log("grab:wait."); // wait for the graph to settle CComQIPtr< IMediaEvent, &IID_IMediaEvent > pEvent( pGraph ); long EvCode = 0; HRESULT lParam1 = 0; long lParam2 = 0; hr = pEvent->GetEvent(&EvCode, &lParam1, &lParam2, -1); and GetEvent returns: EvCode: 0x32B (STREAMBUFFER_EC_READ_FAILURE) lParam1: 0x80004005 (E_FAIL) lParam2: 0 so… do you have any idea about the source of error or where I should look… playing of those dvr-ms recorded shows works perfectly… thanks in advance. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
0.2.2.0 generates 13,000 thumbnails!!!
Contact us
RSS
Top
Bottom