Apr
5
Written by:
Jeremiah Morrill
4/5/2008 2:18 AM
I've spent some time this weekend working on the VideoRendererElement, cleaning up the source, commenting, bug fixing, etc. The source-code is now correctly in CodePlex so you can now browse it. I also made a few breaking changes to the API to support flagging a sample as a keyframe, so compressed samples like MPEG4 can be properly decoded with some video CODECs. VideoRendererElement now directly inherits from FrameworkElement instead of Control and now has a dependency property to specify the stretch behavior(ie, Uniform, Fill, etc) of the video area.
When I get some time I want to overhaul the examples. It's pretty dirty in there! I want to also create some more examples, showing what the VideoRendererElement can do and MediaElement cannot. For example: A DVD player. A TV Tuner application. Playing videos from Dll resources, etc. Any other suggestions for samples?
-Jer
Tags:
5 comments so far...
Re: VideoRendererElement - Current state and future direction
Hi Jer,
Love what you're doing here, thanks!! I'm a novice, so I don't know what MediaElement can do, but how about GPU shader effects on frames? Could someone write a code plugin in HLSL or nVidia's CUDA (GPGPU) to modify frames as texture elements?
Wrote a question about this on C9 a while bac: http://channel9.msdn.com/ShowPost.aspx?PostID=364501#364501
...still don't really understand the roadmap/strategy for GPU filters in video.
David
By David Cuccia on
4/5/2008 9:59 AM
|
Re: VideoRendererElement - Current state and future direction
I wrote a quick reply on that Url you posted.
-Jer
By Jeremiah Morrill on
4/5/2008 12:17 PM
|
graph is not displayed in graphedt
Hi Jer,
i've got the 0.15 beta version, which works quite fine except that i can't see the graph in the graphedt. In fact, graphedt can connect to the remote graph, which was registered by the demo application, moreover, i'm able to control the graph by using stop or run in the graphedt. however the graph itself is not displayed. do you have any idea about that problem? i use xp and my graphedt is part of the windows sdk 6.1.
chris
By chris on
4/7/2008 6:00 AM
|
Re: VideoRendererElement - Current state and future direction
That is an odd problem. I honestly have only tried this on Vista and the windows 6.0 sdk. Have not got around to upgrading to 6.1 just yet. If I think of a solution I'll surely post it here.
-Jer
By Jeremiah Morrill on
4/7/2008 12:52 PM
|
Re: VideoRendererElement - Current state and future direction
Hi Jer,
I'm trying to modify "CaptureDevice.cs" so I can play an video file, but not sure what to use as renderer. Just "RenderFile" don't work, do I need to use VMR9 windowless or?
A hint or a C# example would be nice, also I need to use a DVB TV card as source.
Thanks!
/Ken
By Ken on
4/8/2008 7:25 AM
|