Hello,
I have got as far as using LibVLCSharp.WPF to play a video file. So its a c# WPF project
I would like to ask
1. is there a way to overlay one or more png files with alpha transparency onto the video playback, in such a way that the image file resizes with any video window resize.
Kind of like a HUD display. But I would like to overlay multiple files ontop of the video and add them and remove them at anytime during playback without dropping frames.
The typical size would be for video at 1920x1080 h264.
I was thinking there might be a render frame method or event i could override that exposes the frame image and i could write the bitmaps at that point.
Or perhaps its possible to get the video HWND and write to the graphics object in some way.
2. also i want to be able to take a snapshot with out interupting playback and save the image on the fly to include or exclude any image overlay it might have depending on a user preference.
Note that i know the VLC player has an overlay/logo option but in testing that with the player when i assigned a 1920x1080 png image it did show but the video playback stuttered constatnly and it was playing like at 10 frames per sec.
any help appreciated.
thanks