Page 1 of 1

How to read media and stream information

Posted: 20 Nov 2008 14:22
by Khenatram
Hi All,

I am developing an application using VLC in C#.

I need to show a message ("No Video" image) on VLC player if there is no video stream or stream is dead, I believe for this I need to read stream and media info.

Can any one suggest me any other approach, if available?

And also can anyone share me the code to read the stream and media info in c#.

Regards,
Ram

Additional details : viewtopic.php?f=14&t=52586

Re: How to read media and stream information

Posted: 07 Jan 2009 13:48
by Khenatram
Found an alternative.

Read the log file using "libvlc_log_open " and then read "Decoder" and "Demuxer" objects which contains the decoder and demuxer is used to play the current video. :)