Play QuickTime Video in WPF - wpf

Is it possible to play a QuickTime Video in WPF? If yes, can anyone provide me the resources.

Quicktime is a tricky thing on Windows. The APIs pretty much don't exist for any language except C++. Here's some documentation from the Apple developer website; Quicktime Development For Windows. But I doubt this will be useful for your WPF development.
Another option is to use the Quicktime ActiveX control/COM object. Its essentially a built in player with minimal control.

Related

Alternative to Silverlight and Blend for an application with RIA-like-Features

I'm evaluating Silverlight for a RIA right now. A large amount of the Gui is to be designed by people without programming skills. Visually the application should be very appealing, animations, smooth transitions and so on are a big plus for us. Blend and Silverlight seem to be tailored very well to fit this requirement. However it does need the runtime which is somewhat acceptable for us but also a little disadvantage.
So, do you know an mature Ria-like alternatives (similar ease of development, all-in-one-happy-package without runtime) outside of this ecosystem? I had a look at Qt and the designer but I'm not sure what to make of it in the moment with all the buzz about it and if it is fitting to our needs.
Are there other alternatives you can recommend?
Thanks in advance.
If you're familiar with .NET technologies and looking at Silverlight from that perspective, its may be the way to go in that you will be using the same tools. Silverlight is also cross-platform on desktops.
Adobe Air as far as I can tell can be many things, one or more combininations of flash, flex, javascript, html. This is also cross platform in terms of desktop machines.
Html/jQuery/Javascript is another option, this also enables usage on mobile devices.
There are 3rd party plugins/add-ons and components for most of these technologies that help with both features and the visual aspect of the interface.
There is Adobe AIR, but I'm not familiar with it.
Just so I understand, here is what I hear you saying: you want designers to design the UI and developers to develop the code.
Your problem is that developing for Silverlight requires the Silverlight runtime? I'm not sure I get this, but here are some thoughts:
1) If your designers are running Windows you can install just Expression Studio and Blend should include all you need for them to do their work in Blend.
2) If your designers are NOT running Windows, they can't use Blend. They can still do their design work in Adobe Illustrator and Photoshop because those assets can then be imported into Blend. Of course, whoever does the import will need a Windows machine with at least Blend installed: in that sort of scenario we call that person an "integrator", and there are folks out there who specialize in that sort of work.
3) If your developers are going to create Silverlight applications, they will need Windows and .NET developers tools (preferably Visual Studio). To paraphrase what AnthonyWJones said earlier: how can you develop for a platform without having the platform?
In my mind, having Visual Studio and Blend is the "all-in-one happy package", but that's just me. :)

play video in silverlight?

How do yo play a video with silverlight?
does Visual Studio come with a video player component build in? or do I need to make a video player?
As often is the case, it depends what you're requirements are.
You can use the media element which comes with Silverlight (msdn info here) , however, that means building everything from scratch, it does not come with a "player chrome", as in buttons and visual styles.
If you want a pre-built "player", there's at least a couple of options, the Expression Encoder tool (a free version is available), comes with a number of Silverlight players that you can freely use and modify if you wish. You find them under the "templates" section in expression encoder tool.
Another option is to use the "Microsoft Media Platform: Player Framework" (formerly known as Silverlight Media Framework (SMF)), which is a open source project which Microsoft is involved in, it comes with a fully featured "player" and is built on industry standards, you can find it at http://smf.codeplex.com.
Good luck!
In SL:
<MediaElement x:Name="MyVid"
Source="http://abc.xyz.com/MyVid.wmv"
Height="250"
Width="350"
AutoPlay="True"/>
Server-side needs to support MMS (RTSP protocol - streaming) or progressive downloads (MMS on the MediaElement's side takes care of both). Videos should conform to the SMPTE 421M video codec standard (VC-1).

WPF SDK DownLoad (For offline Usage)

Is there SDK available to download for wpf, as I wanto read that SDK when I don't have internet. Any idea about it, from where can I download SDK for WPF.
WPF is part of Visual studio, you don't need an SDK.
If you want to learn WPF, trying buying a book (an online book as well)
if you want to use it and get help, I think installing MSDN locally will do it.
I think you are talking about the API!? This should be included in the MSDN Library which you can download from here. However, the library is several GB...

Which way to go with graphic-intense multi-touch app, XNA or WPF?

I am about to start development of a multi-touch application.
I need to decide between WPF and XNA.
Which would run faster ?
WPF already has libraries to support multi-touch via TUIO input.
Does anyone know a similar library or even just sample code to
drag/rotate/move objects in XNA ?
Thanks!
SW.
Touch is just another way of getting input from the user. Whether you route this input to an XNA app or WPF app depends more on what you want to do in the app.
XNA is a lower level api for doing 2D/3D on Windows, Xbox and Zune. WPF has only a higher level support for doing 3D and targets (currently) only Windows. So going with XNA vs WPF is imo more a decision of graphics requirements and platform support.
Since your app is graphic intense it could be more efficient to work at a lower level (read XNA or even SlimDX/DirectX). Reimer's XNA tutorials have a lot of great articles for starting out with XNA.
If you use XNA, you're going to be doing a lot of math to manually analyze the touch information - I'd check out WPF first (or perhaps you can host XNA visuals inside WPF and use WPF's touch input engine)
The Bespoke MultiTouch Framework supports multitouch and XNA together. Paul has a number of XNA samples already built to demonstrate the features you are looking for :-)

Which Graphical Subsystem for Touchscreen Kiosk Development

I'm starting a hobby project in which I would like to have a graphical, touchscreen interface for interacting with a kiosk-like device running on top of Windows XP Embedded. For development of a rich UI experience, I was considering using WPF. However, a number of demonstration videos that I have come across have used Silverlight, while I haven't seen a single WPF demonstration.
It was my understanding that Silverlight was targeted towards website developers, while WPF was more targeted towards desktop development.
So this question has two parts. Firstly, what is the recommended graphical subsystem for development of a rich UI experience on a kiosk-like device hosted on the Windows XP embedded platform? Secondly, if it is Silverlight, which version is suggested (1.0 or 2.0) and why?
It seems that WPF works fine on embedded. See here the second comment.
I think that your choice should be dependent on the type of kyosk you want to build. Some kyosks are just an open browser page. And then you have stuff like Microsoft Surface that can be used like an horizontal kyosk :-)
I would recommend also WPF, have done few kiosk apps using it.
also I would recommend http://fpscomponents.com/Product.aspx?id=8 as a virtual touch screen keyboard software component. it's done in WPF and very flexible and customizable.
User can define custom theme(skin), layout and language of keyboard. guys are working with customers and hear theirs voice so any suggestions might be accepted.

Resources