Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having some issue in my code which is showing video using vlc interfacing and at the same time I'm showing an overlay on the top of video full screen using Form transparency capability. But this is fine in my Windows 7 PC and it is getting flickering in XP machine.

If you know the solution for it I would appreciate your cooperation. Or you can give me any solution that matches to my requirements: I need to show a UDP:// stream so I have to go for the VLC and at the same time I need to show program information on top of the video.
Posted

Use flash video file and play it into flash player.
 
Share this answer
 
Is your video overlayed on your form. You can use the following code and try
C#
public static void SetDoubleBuffered(System.Windows.Forms.Form c)
       {
                      if (System.Windows.Forms.SystemInformation.TerminalServerSession)
               return;

           System.Reflection.PropertyInfo aProp =
                 typeof(System.Windows.Forms.Control).GetProperty(
                       "DoubleBuffered",
                       System.Reflection.BindingFlags.NonPublic |
                       System.Reflection.BindingFlags.Instance);

           aProp.SetValue(c, true, null);
       }


call this in Form load. I was overlaying bitmap image from a webcam on my form and this helped.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900