How to read media and stream information

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Khenatram
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Nov 2008 10:55
VLC version: 0.8.6.i
Operating System: Windows

How to read media and stream information

Postby Khenatram » 20 Nov 2008 14:22

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

Khenatram
Blank Cone
Blank Cone
Posts: 61
Joined: 11 Nov 2008 10:55
VLC version: 0.8.6.i
Operating System: Windows

Re: How to read media and stream information

Postby Khenatram » 07 Jan 2009 13:48

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. :)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 88 guests