Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

DV Scene Detection
Started by LoopyCoder at 09-15-2006 16:34. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  09-15-2006, 16:34
LoopyCoder is not online. Last active: 6/18/2008 12:15:17 PM LoopyCoder

Top 500 Posts
Joined on 09-12-2006
Posts 7
DV Scene Detection
Reply Quote

Has anyone used the Multimedia SDK to detect scene changes in a DV stream?  I had intended to use the Video Callback filter to process each frame's datecode (A.K.A., datestamp, timestamp -- not the same as timecode) and look for gaps in the sequence, but there doesn't seem to be a way to read that information.

Support told me that I may be able to retrieve the datecode using a custom DirectShow filter.  Can anyone confirm that this is the best solution?

Any other thoughts or suggestions would be greatly appreciated.

Thanks,

Jeff


   Report 
  03-23-2007, 10:12
Delphian is not online. Last active: 3/23/2007 3:07:34 PM Delphian

Not Ranked
Joined on 02-10-2007
Posts 2
Re: DV Scene Detection
Reply Quote
I'm not familiar with the way their callback works but I assume it comes off of ISampleGrabberCallback.  If they are using the buffer type the the CB pointer points to the DV header followed by the DV data.  If they are using the ISample method then use the ISample.GetPointer which will return the same as above.  Then use the DVHeader to get your timecode info.
   Report 
  03-27-2007, 11:25
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: DV Scene Detection
Reply Quote

Delphian,

Thank you for your contribution.

Our Video Callback filter only accepts connections from RGB media type, and the pointer it passes to the callback is the Windows pointer for the RGB pixel data (address of first byte in the buffer).

This means the callback function written by the user can read or modify the byte contents directly.

 

This means if you try to connect any other type of data to the filter (such as compressed video), DirectShow will try to automatically insert an appropriate decoder or decompressor to convert to uncompressed RGB.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Multimedia Filt... » DV Scene Detection

Powered by Community Server, by Telligent Systems