Click here to Skip to main content
15,895,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmaking simple DVD Player using API Pin
Khoramdin29-Jan-07 11:45
Khoramdin29-Jan-07 11:45 
AnswerRe: making simple DVD Player using API Pin
ThatsAlok29-Jan-07 17:58
ThatsAlok29-Jan-07 17:58 
AnswerRe: making simple DVD Player using API Pin
Mark Salsbery30-Jan-07 6:49
Mark Salsbery30-Jan-07 6:49 
AnswerRe: making simple DVD Player using API Pin
Mark Salsbery30-Jan-07 6:51
Mark Salsbery30-Jan-07 6:51 
QuestionRe: making simple DVD Player using API Pin
Khoramdin30-Jan-07 7:06
Khoramdin30-Jan-07 7:06 
AnswerRe: making simple DVD Player using API Pin
Mark Salsbery30-Jan-07 7:18
Mark Salsbery30-Jan-07 7:18 
NewsRe: making simple DVD Player using API [modified] Pin
Khoramdin30-Jan-07 7:31
Khoramdin30-Jan-07 7:31 
GeneralRe: making simple DVD Player using API Pin
Mark Salsbery30-Jan-07 12:11
Mark Salsbery30-Jan-07 12:11 
I suppose you can use hooks to monitor system messages. Finding where the DVD play time is in a
3rd-party app may take a little digging - and it could change at any time. There's no specific
system message or API associated with a DVD's play time. That is part of the media files that
are on the DVD.

If you choose to make your own DVD player, then DirectShow is one way to go. The DVDSample
application that comes with the SDK is a good starting point. It provides all the functionality
of a stand-alone DVD player plus more. It took me about 10 minutes to get it up and running - I
have no idea how many hours or days it would have taken me to figure out how to get the play
time from a 3rd party app.

What version of Visual Studio do you use? I have a 2003 project for the DVDSample that builds
and runs that I can send you. Like I mentioned previously, you need a MPEG-2 codec - this is
not something Microsoft can legally provide so it has to be 3rd-party. I have Nero installed so
it uses Nero's codec filter but I also have an open-source codec found online.
GeneralRe: making simple DVD Player using API Pin
Khoramdin31-Jan-07 8:20
Khoramdin31-Jan-07 8:20 
GeneralRe: making simple DVD Player using API Pin
Mark Salsbery31-Jan-07 10:23
Mark Salsbery31-Jan-07 10:23 
GeneralRe: making simple DVD Player using API Pin
Mark Salsbery31-Jan-07 11:31
Mark Salsbery31-Jan-07 11:31 
AnswerRe: making simple DVD Player using API Pin
Khoramdin31-Jan-07 17:54
Khoramdin31-Jan-07 17:54 
QuestionCTreeCtrl question, selecting/unselecting Pin
Maximilien29-Jan-07 10:11
Maximilien29-Jan-07 10:11 
AnswerRe: CTreeCtrl question, selecting/unselecting Pin
Rage29-Jan-07 21:42
professionalRage29-Jan-07 21:42 
QuestionDynamic CSplitterWnd Pin
neilsolent29-Jan-07 8:41
neilsolent29-Jan-07 8:41 
AnswerRe: Dynamic CSplitterWnd Pin
Mark Salsbery29-Jan-07 9:04
Mark Salsbery29-Jan-07 9:04 
GeneralRe: Dynamic CSplitterWnd Pin
neilsolent29-Jan-07 9:10
neilsolent29-Jan-07 9:10 
GeneralRe: Dynamic CSplitterWnd Pin
Mark Salsbery29-Jan-07 9:43
Mark Salsbery29-Jan-07 9:43 
AnswerRe: Dynamic CSplitterWnd Pin
Mark Salsbery29-Jan-07 10:58
Mark Salsbery29-Jan-07 10:58 
GeneralRe: Dynamic CSplitterWnd Pin
neilsolent1-Feb-07 6:17
neilsolent1-Feb-07 6:17 
QuestionHow to produce a +5V TTL signal on COM port? Pin
pavanbabut29-Jan-07 8:11
pavanbabut29-Jan-07 8:11 
AnswerRe: How to produce a +5V TTL signal on COM port? Pin
James R. Twine29-Jan-07 8:26
James R. Twine29-Jan-07 8:26 
GeneralRe: How to produce a +5V TTL signal on COM port? Pin
pavanbabut29-Jan-07 8:39
pavanbabut29-Jan-07 8:39 
AnswerRe: How to produce a +5V TTL signal on COM port? Pin
malaugh29-Jan-07 8:40
malaugh29-Jan-07 8:40 
GeneralRe: How to produce a +5V TTL signal on COM port? Pin
pavanbabut29-Jan-07 8:51
pavanbabut29-Jan-07 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.