Tovdb

Hey everyone,

I'm on an internship in England, and I face a relatively large project. The project that I have to co-create is something like youTube. Users have to be able to upload video to a central server, and other users have to be able to view these videos whenever they like. I want to make this in WPF, because it's new and I want to explore, but I'm not sure if it's already stable enough. So I'm asking for your expert advice and tips. :).

How is Video playback in WPF

How is creating webapplications in WPF

I was wondering which database to use.. SQL Server 2005 is my proposal.

Thanks in advance,

Tobias Vandenbempt



Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

Eddie Li

Hi Tobias,

I think WPF is a great solution for your project. There has been many similar apps written in WPF and looks awesome! Some samples can be found at http://wpf.netfx3.com/files/default.aspx, it also contains many other resources and tools to help you to get started. You can also go to WPF homepage on MSDN to get more information and many useful links, such as Hands-On-Labs.

Video playback is fully supported by the platform, there is a Multimedia Overview article on MSDN talks about this in more detail, and there are links in there to navigate you to various objects to use.

WPF apps can be hosted inside IE browser in forms of an Xbap, there is a lab at http://wpf.netfx3.com/files/folders/labs/entry1934.aspx showing you how to create one.

Regarding to database support, I'm not an expert in that area, but I have seen many people using SQL server in their projects, so, I think it works great. If you know what specific scenario you will use the SQL Server for, you can post a question here, I'm sure someone will be able to answer it.

There are also a few things you might want to consider as you make your decision for the project. (1) Media Player 10 or above is required to view video in WPF apps; (2) WPF is not cross platform (works only on Windows); (3) Xbap currently can only be hosted in Internet Explorer, although there are plans to support other browsers in future releases.

If any of your scenarios going to be blocked due to these, a great alternative is WPF/E, which lighter weight and goes cross-platform, but does not contain all functionalities that exist in WPF. You can go to http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx for more details and samples.

Hope this helps you with your decision making, and please feel free to post any other questions you may have.

Thanks!






Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

tiomeg

Im also interessed in how well WPF works with video in webbrowsers(WPF/E).

Flash video-players(youtube etc) are realy convenient but the dev-enviroments for flash are not. I would like to make something similar to these flashplayers but with WPF/E.

xbap is not an option, too slow startup and only works on windows with IE





Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

LesterLobo - MSFT

yeah, on a larger scale i would definitely think that WPF/E is a better option as its a better performer.

WPF/E is cross platform so your target audience is larger. However, the downside is that its in beta so you have limited features. You can post your query in the WPF/E forum for better guidance on how to go about it.

http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=1182&SiteID=1





Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

tiomeg

Great!

The wpf-guys says "ask the wpf/e-guys" and the wpf/e-guys says "ask the wpf-guys"

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1355879&SiteID=1





Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

Ales Sturala

WPF/E:
pros:

  • it will be supported by all usually used browsers: IE, Firefox, Opera, Safari
  • runs on Windows XP, Windows Vista, MacOS, (may be linux in the future)
  • WPF/E will be most probably supported on mobile devices (nice)

cons:

  • there is only BETA now
  • logic part in JavaScript (sucks :) .... but in the future, it will be replaced with C# (nice :)

WPF - XBAP

pros:

  • more functions than WPF/E
  • logic part in C# (nice :)
  • there is already final version, good development tools

cons:

  • supported browsers: IE
  • runs only on Windows XP and Windows Vista





Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

LesterLobo - MSFT

if you need wpf/e info then its better to post wpf/e related questions on that forum,

However, if you post a wpf related question the wpf/e forum is likely to direct you here. :)





Re: Windows Presentation Foundation (WPF) Creating a youTube-like application

Tovdb

Thanks for your extensive replies, they have really been of help.

When thinking of using WPF/E (or anything else for that matter), I stumble upon another question.
When users upload their video, whether it being avi, mov, mpg, dv, mpeg4, etc.., it has to format to wmv(for wpf/e), how do I automate this process, and should it happen server side or client side

Thanks alot!

Tobias

Continue here maybe http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1364692&SiteID=1&mode=1