Actually, I have another use for MPlayer too.  I was able to build MPlayer
into a Mono .dll and I'm able to play, pause, seek, mute, fullscreen, etc.,
but I can't seem to get past how to read from MPlayer.  I've got:

mediaPlayer.StartInfo.RedirectStandardOutput = true;

mediaPlayer.StartInfo.RedirectStandardInput = true;

mediaPlayer.StartInfo.Arguments = theURL + " -slave -quiet -idle";

mediaPlayer.StartInfo.FileName = "mplayer";

mediaPlayer.Start();


mediaPlayer.WaitForInputIdle();


I tried to read with mediaPlayer.StandardOutput.ReadToEnd();
 but that will sit there... well... until the end of the video.  I've tried
reading with the timeout and just a plain read, but don't really know to
deal with reading from the standard output.  Any example from your code on
how to deal with that would be great!  I'll try the rtmp stream and let you
know.

For everyone else.... Still looking for how to use VLC in Mono!  ;-)
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2221419.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to