keyongtech


  keyongtech > win32.programmer.* > win32.programmer.directx.video

 #1  
06-12-08, 07:41 PM
lyd
Hi all,

I would like to obtain Program Guide data from digital TV transportation
stream, and would appreciate some pointers. We have a program that does
digital TV tuning, and we would like to implement a Guide Store.

According to DirectShow documentation, there are two recommended ways of
obtaining such info:

1. By getting the information from the BDA MPEG-2 Transport Information
Filter (TIF)
2. By getting section data from the MPEG-2 Sections and Tables filter.

Approach 1 seems to be very straight forward. The problem is I can not get
it to work.

I am supposed to implement IGuideDataEvent interface and receive
notifications from the TIF before using IGuideData interface to retrieve the
Program info. However, the ProgramChanged event never comes during the
running of the graph. If I try to call any IGuideData methods such as
GetGuideProgramIDs(), I get an error code E_NOTIMPL.

Am I missing something obvious? The only event that I can receive using the
IGuideDataEvent is when running the application with DVB-T device, in which
case IGuideDataEvent::ServiceChanged() event does come. No event comes for
ATSC devices.

Is it really like the returned error code E_NOTIMPL implies - IGuideData is
not implemented for ATSC devices? Why?

I have not tried the second approach suggested by the documentation. I know
it is more complicated. I have had some experience using the PSI Tables as I
used it for getting channels information from VCT table (ATSC_VCT_PID).

Can someone tell me that I need to do (for example which PID and TID use)
to retrieve programming guide data?

Thanks for any help.
 #2  
06-16-08, 09:42 AM
WenJun Zhang[msft]
Hi James,

I haven't seen any reference case on this so far. However a workable
approach to retrieve the data should be using methods under IMpeg2Data
interface. The following blog article sheds some hints on this.

MPEG-2 Sections and Tables Byte Order
http://www.rikware.com/post/MPEG-2-S...yte-Order.aspx

IMpeg2Data Interface
http://msdn.microsoft.com/en-us/libr...05(VS.85).aspx

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 #3  
06-16-08, 02:26 PM
lyd
Thanks WenJun.

I was hoping method #1 as documented by Microsoft would work. It sure looks
much simpler!

I guess I will have to explore method #2, i.e. IMpeg2Data on Sections and
Table filter.


""WenJun Zhang[msft]"" wrote:
[..]
 #4  
06-17-08, 09:56 AM
WenJun Zhang[msft]
Hi James,

I will go ahread to ping our internal directshow group for more information
on the 1st approach. If there is any update, I will post here to let you
know.

Thanks and have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 #5  
06-20-08, 09:39 AM
WenJun Zhang[msft]
Hi James,

I've confirmed most of the methods aren't currently supported on the
IGuideDataEvent interface as per:

IGuideDataEvent Interface
http://msdn.microsoft.com/en-us/libr...16(VS.85).aspx.

So the 2nd way should be the only path for you to choose.

Please feel free to let me know if you have any further question on this.

Have a nice weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 #6  
06-25-08, 09:47 AM
WenJun Zhang[msft]
Hi James,

I wonder if you still have any further questions on this post?

Thanks and have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Similar Threads
Obtain filenames from a directory (Pcap program)

Hi all, I'm writing a program using libpcap, and I have multiple pcap files in a folder that I want to capture. I currently have handle =...

Problems to obtain Windows Vista Security Guide draft.

Hi everyone, I'm looking for Windows Vista Security Guide draft, but I don't have permission to get it at Windows Connect. Where can I obtain it? Could you send me a copy...

Where can I obtain user's guide for small biz accounting 2006?

Is the user's guide available online or will I need to purchase the guide book?

obtain the output of an external program

Hi, How can I save the output of an external program, called with os.system()?


All times are GMT. The time now is 06:41 PM. | Privacy Policy