Recommendations for DirectShow filters to test against that generate dynamic media types (other than standard video renderers) - directshow

I'm trying to make my filters robust against dynamic media type changes but I haven't found any suitable filters to test against.
I've already implemented support for dynamic format changes in the video renderer but I'm looking for filters (and supporting media files if needed) which generate the following dynamic media type changes (in order of priority). Standard Microsoft filters included in Windows would be ideal but I'm happy to consider others, especially if open source.
QueryAccept (Downstream)
QueryAccept (Upstream)
ReceiveConnection
Just to clarify I'm not looking for video renderer filters as I already test against these (Handling Format Changes from the Video Renderer

Related

Make SharePoint responsive - Bootstrap or media query?

I am trying to make my SharePoint site responsive
so that it can be viewed easily in ipad, iphone, tablets, etc.
What is the best way to do it with Bootstrap or media query.
Any suggestion will be great help.
I was in the situation to choose which one i would use to implement a responsive design in SP2013 and so I collected pro's and con's foreach technology.
Device Channels
Yes I'm talking about Device Channels even when they are not mentioned in the question, because they can deliver the best performance and optimizability for the enduser and the client - in my opinion :)
Pro
individual designed HTML/CSS and JS foreach device
-- no need for hiding or removing incompatible elements
-- faster because you just load things you really need
-- faster because you will likely have less CSS/JS and HTML
-- faster because you can use optimized code foreach device
-- better you can better point out which channel has errors and changes dont affect the other channels
Con
individual designed HTML/CSS and JS foreach device
-- you have to append changes to each masterpage
-- more work to accomplish the same result (in general)
-- redundancy
bound to User Agent Strings
growing diversity of devices
-- may equals growing diversity of masterpages >> work
Bootstrap
Pro
mighty, easy to use framework
-- a lot of documentation
-- fast results
-- if you like it - all the Bootstrap styles
there are already projects using it so you may dont have to build it from scratch
-- http://responsivesharepoint.codeplex.com/
Con
Bootstrap is a huge framework and has 8000+ lines of code in the unminified CSS and JS files
-- 2 requests extra for ~ 130kb & 30kb
-- a lot of styles and script for your browser to handle
Bootstrap is not build for use in SharePoint
-- it's overwriting SharePoint styles which makes some features (ComposedLooks for ex.) less valuable
-- there are a lot of custom CSS needed to make it work seamless with SharePoint
SharePoint has it's own weird way to do things and that interferes with BootStrap
-- tons of CSS
-- tons of JS
-- tons of HTML Attributes
Media Queries
Pro
only necessary CSS
no JS if you dont wan't to
you can create your own layout
with response.js even in IE6 working
you can easily separate which features should be available in certain screen sizes
Con
several sets of CSS depending on the number of Breakpoints
every feature needs to be developed by yourself
it's not easy to write generic code that can process every SP2013 Page
-- it depends on the complexity of the content shown. I write about 150 lines of CSS that created a mobile view for publishing pages that contained the navigation and content, but no features like editing, etc.
-- if the client's want every feature on his smartphone, there is a hell lot of work and testing needed. (Plus who the hell wants to do that on their phone?)
Conclusion
I'm not sure yet (and it would be awesome to get a lot of feedback to my results), but i tend to use Media Queries. Why ? Well SharePoint has it's own way to handle desktop users and i wouldn't customize that build in functionality if not explicit ordered. On the other hand SharePoint doesn't provide a real UI for smartphones. I don't want to use BootStrap because it contains a lot of styling which will produce problems in branded environments. And I won't use Device Channels because of the downsides.
What do you think ? Are there important aspects I'm missing ? Are there other solutions which are better suited for realizing this ?

Add Video in ASP.NET MVC

I am working in ASP.NET MVC. I want to add videos in my view. I have read article on Working With Videos in ASP.NET
But i want a generic way to play all type of videos in my web page. This article, although good, but confuses me that how to identify file format and then use related type of Web Helper. There are hundreds of video file formats, how to play all of them, by a single strategy. Mentioned article only describes three formats. Please guide me in this regard.
Your issue is less ASP.NET MVC and more general video playback accross multiple devices in different formats.
Your best option would be to use something like FlowPlayer, which allows you to add a player using either Flash or HTML5/JS (depending on the browser's feature set)
I think to say you want to play all types of videos is the wrong way to start. First of all I would think about what video types you want to support. This can be restricted by things such as the encoded videos available, file size, browser support.
Once you have decided on this you can look in to finding the most suitable player for the job.

How does DirectShow manage default filters?

When I render a media file with DirectShow (allowing DirectShow to build the graph automatically) I see that DirectShow has a set of default filters it uses. I also observed that installing 3rd party filters may change some default filters (usually 3rd parties set their own filters as default).
I was wondering how the default filters are managed (registry?) and how can I change them? How to cause a certain filter to be used by default?
Thanks,
Aliza
There is no such exactly thing as "default" filters in DirectShow. There is a merit system instead: each filter registration is provided with a merit for a filter. When fitler graph renders pins and streams, it starts with trying filters with higher merits.
See more at MSDN:
Intelligent Connect
Guidelines for Registering Filters

Choosing a suitable multi-media builder software

Hi foks
I need a software but I am not a multimedia builder I am a .net developer I want to choose a software to build my first multi-media application I have to do something with this software :
1- it must be portable between different Windows operation
2- it would be independent I mean I don't want to install other software before it.
3- it must run at the autorun for CD
4- I need search ability for some values in the information
5- I don't want someone copy my information easily.
6- The information are videos and rich text
7- it has ability to change on specific screen resolution
Please guide me which softwares I mean a software to build this application are suitable for me I need something to build more easy not very complex but I need beautifull User Interface at the result.
You should try medichance's multimedia builder. It is doing the exact things you described.
http://www.mediachance.com/mmb/
It sounds like you are wanting to develop a multimedia distribution which has videos and text for the end user. That's very similar to a tutorial or training CD or DVD. There are many ways to develop this sort of content, but perhaps the easiest (although not particularly .NET-related) would be a web-based site stored on disc.
Design the product using HTML, CSS, and your preferred video format for web. (Silverlight, Flash, Quicktime...)
To address your points:
Web-based data is extremely portable, not just between Windows installations but across platforms and browsers.
It would be free from dependencies for the most part, assuming the user has a web browser with applicable add-ons to view the video content (such as a Flash or Silverlight plug-in).
You can use a text editor to create an autorun.inf file which will automatically load the main file (usually index.html).
The user can use the browser search functionality to easily find keywords in the pages. If you need the ability to search the entire contents of the multimedia package, that will add a small amount of complication.
The downside to a web-based product is that the files are plain text and anyone can easily copy the data. The question I have is whether you want to try and prevent copying of the entire product (say, as a CD) or just the information it displays?
There shouldn't be any problems displaying videos and rich text in a web environment, provided you've converted them to a format that is compatible with the intended distribution. (For example, if your audience uses Windows and you know they will have a Flash plugin, then a Flash-based video format would be ideal.)
Assuming that you mean reflow by "change on specific screen resolution," this was one of the main reasons I thought of web-based media. The browser of course be capable of displaying content with appropriate resizing capability just as most web sites which are crafted with consideration for multiple screen sizes. This is simply a matter of using appropriate CSS to ensure that elements appear just as logical on a widescreen, high-resolution monitor as they do on the lowest expected resolution screen.
To build a multimedia site, consider Adobe's products such as DreamWeaver, Photoshop, Flash, Fireworks, etc. (http://www.adobe.com/products/creativesuite/web/whatsnew/)
If you would prefer to develop an application using .NET Framework, instead you may want to consider Windows Presentation Foundation (http://windowsclient.net/wpf/white-papers/when-to-adopt-wpf.aspx) however there may be prerequisites depending on how you build the application.

Minimizing the pain in implementing printable reports

How do you minimize the pain in your development process when it comes to reporting?
For web frameworks, there is a pretty straightforward way to both produce content as well as graphically design it; content is represented semantically through HTML, and the design is separately specified through CSS. And browsers are fairly consistent with how they render the output (and the inconsistencies are well-known and can be planned for). There are even WYSIWYG editors to help out less-CSS-savvy graphical designers.
But what do we do about print content?
At one company, I created a process that worked like this: A script generated a semantic representation through XML. The XML was passed through XSLT to generate an XML-FO document. Then, this was passed to another tool (Apache FOP, I believe) to generate a PDF. This worked well for that company.
At this company, however, output appearance matters to management, and we have a graphical designer. Currently, we are using a reporting tool (XtraReports from Developer Express, version 8.1). It isn't bad; it outputs to a variety of formats, has a WYSIWYG designer, reports are implemented through C# classes, and it supports data binding to data sets (unfortunately, not POCO's). However, we have some major pain points with this setup:
The reporting framework has major limitations on how you can lay out and group your reporting bands
Presentable elements, especially charts, lack the capabilities we need to fine-tune and achieve the look of our mock-ups.
There is no good way to share styles and layout among reports akin to what we can get through CSS.
Good composability of reusable parts is very hard to implement. So we end up with a lot of copy & paste inheritance of functionality; this is bad news whenever we need to make sweeping changes across all reports.
Now, maybe there's some kick-ass framework out there that can eliminate the pains of reporting frameworks, but I assume that they all have their weaknesses. Do you have a framework or process that works well for you and reduces the pain points inherent in reporting?
Prince XML is a really cool tool which allows you to use HTML or XML styled with CSS (including CSS paged media for printing) and generate PDFs from it.
Option #1 : Adobe Acrobat is really nice. You can design form enabled PDFs and then use something like PDFSharp to manipulate the PDF document. You can create template PDF's that you dump your generated stuff into. I've done this before and it was pretty successful. I also used POCO objects nicely.
Option #2 : You could start creating XPS documents, which is XML based anyways. And they can be easily converted to PDF if necessary.
Option #3 : Run for your life.(might not be an option)
i-net Clear Reports is a nice product. It's based on Java but you can also work with ASP.NET. There is a bridge. The .NET version is in work if you want work with POCO. Because the Java version can work with POJO that the coming .NET version will also work with POCO.

Resources