Remarks that grabbing samples using ISampleGrabber
2007-08-09 10:19
471 查看
R1.
The filter does not support video types with top-down orientation (negative biHeight) or with format type FORMAT_VideoInfo2. Also, it rejects any video type where the surface stride does not match the video width. This means that for some video types, the Sample Grabber will not connect to the Video Mixing Renderer (VMR).
R2.
If you simply want to grab a bitmap from a video file, it is easier to use the Media Detector (MediaDet) object. See Grabbing a Poster Frame for details. The Sample Grabber is more flexible, however, because it works with nearly any media type (see ISampleGrabber::SetMediaType for the few exceptions), and offers more control to the application.
R3.
Regardless of what type you set, the Sample Grabber Filter rejects any video types with top-down orientation (negative biHeight), or with a format type of FORMAT_VideoInfo2. In this case, although the SetMediaType method succeeds, the filter will not connect.
The filter does not support video types with top-down orientation (negative biHeight) or with format type FORMAT_VideoInfo2. Also, it rejects any video type where the surface stride does not match the video width. This means that for some video types, the Sample Grabber will not connect to the Video Mixing Renderer (VMR).
R2.
If you simply want to grab a bitmap from a video file, it is easier to use the Media Detector (MediaDet) object. See Grabbing a Poster Frame for details. The Sample Grabber is more flexible, however, because it works with nearly any media type (see ISampleGrabber::SetMediaType for the few exceptions), and offers more control to the application.
R3.
Regardless of what type you set, the Sample Grabber Filter rejects any video types with top-down orientation (negative biHeight), or with a format type of FORMAT_VideoInfo2. In this case, although the SetMediaType method succeeds, the filter will not connect.
相关文章推荐
- 《微软:DirectShow开发指南》第11章 Using the Sample Grabber Filter
- A sample that using the completion port I/O model
- <<微软:DirectShow开发指南》第11章 Using the Sample Grabber Filter
- Distributed Cache Coherence at Scalable Requestor Filter Pipes that Accumulate Invalidation Acknowledgements from other Requestor Filter Pipes Using Ordering Messages from Central Snoop Tag
- dshow中使用Sample Grabber filter抓取图像
- Two sample code using javamail
- Overriding Method Using Parameter That is a Subclass?
- i have been Written a Hanoi's tower that base on GUI using VC++ development.
- 169 Identify the channel settings that can be performed using the CONFIGURE CHANNEL or ALLOCATE CHAN
- Python Web-第四周-Programs that Surf the Web(Using Python to Access Web Data)
- may be using a version of Gradle that does not contain the method.
- SAMPLE SCRIPT TO CREATE SALES ORDER USING OE_ORDER_PUB.PROCESS_ORDER
- MySQL错误:You are using safe update mode and you tried to update a table without a WHERE that uses a K
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- Your password has expired.To log in you must change it using a client that supports expired password
- Your password has expired.To log in you must change it using a client that supports expired password
- Your password has expired. To log in you must change it using a client that supports expired passwor
- MySQL错误:You are using safe update mode and you tried to update a table without a WHERE that uses a K
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- Your password has expired. To log in you must change it using a client that supports expired pass...