Comments (4)
I'm not pretty sure what you mean, but you could possible disable hardware acceleration and get the byte data array and convert it to bitmap and fill it in picture box or something. I'm planning to remove monogame and use only one texture2d for presenting the frames. Then it probably would be easier to create more than one textures for "multi-player".
from flyleaf.
Hm... probably you just want to create a complete different UI. That should be possible by adding an array for MediaRouter class and another arrays for Software/Hardware Textures
screenPlay = new Texture2D(graphics.GraphicsDevice, 1, 1, false, SurfaceFormat.Color);
screenPlayHW = new Control();
Then you should update and present properly the right sw/hw texture from VideoFrameClbk() and ScreenPlay()
from flyleaf.
Yes,
Base on your sample, I want create a video player control, can re-used for other projects and can play multi video/streams.
from flyleaf.
Yes, I had that in mind but it's not that simple I'm afraid in a way to take advantage of GPU and overall performance. As, I said before, I'm planning to always return a texture 2d so that will be possible, however you should handle the returned texture with Monogame/SharpDX and possible with others such as OpenGL etc. If performance is not that important for your case, you could always return a RGBA bmp format.
There also others things that you need to consider, eg: what about audio on grid/multi-player? Only one video will be able to play audio by the time or you will do an overlay etc...
I guess MediaRouter's future is to be an all in one Video/Audio/Subs & Seeking Bar / Vol Bar etc.. Component and you will be able to enable/disable those features.
from flyleaf.
Related Issues (20)
- To get thumbnail of the video on seek bar HOT 1
- How to send commands directly to FFMPEG engine while video is loaded and playing HOT 3
- about key redefine~ HOT 2
- Audio render should be on different thread HOT 4
- Open/OpenAsync with ClearScreenOnOpen still shows black frame HOT 3
- I would like to print a specific part of the image by blurring it, is this possible? HOT 1
- About ShowFramePrev HOT 2
- Overlaps and Refresh in SharedOverlay
- Stream synchronization issue HOT 7
- Possible handle leak when repeatedly create/play/stop/dispose flyleaf players HOT 13
- Open stream at current position HOT 6
- FlyleafSharedOverlay in wpf ViewBox HOT 3
- Renderer: Level/Gamma Support HOT 4
- crash by set curtime HOT 2
- SharedOverlay as the Visual of a VisualBrush
- Get FlyleafSharedOverlay DetachedContent as Visual HOT 5
- Decoder (Subtitles): Bitmap Support HOT 1
- Issues of brightness control HOT 1
- [New feature requests]Added multi-threading support for M3U8 HOT 3
- Demuxer: Blu-Ray Support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flyleaf.