Today we announced the release of extended version of asp.net media handler pro component free version. Now free version have almost all features and have no feature restrictions. You can freely use it in your unlimited no of applications, servers and domains.


You can download it from http://download.cnet.com/NET-Media-Handler-Pro/3000-10250_4-10875307.html


Difference Between Free Version and Full Version of Media Handler Pro.

There is only one different between pro and free version as pro version can support background video and audio processing which will prevent any deadlock in your application while encoding large media files.


For more detail about pro version visit.




With iPhone OS 3 update came the ability to do live streaming. There are a few types of streaming and each requires a certain encoding and segmentation. In this example i am building stream using asp.net media handler pro, open source ffmpeg and segmenter utility.


Requirements

i: asp.net media handler pro


ii: open source ffmpeg utility


iii: segmenter


Steps

Publish video to iphone device


Supported Settings For Iphone

The supported bitrates for streaming are: 100 Kbps to 1.6 Mbps


The suggested bitrates for streaming are*: Low – 96 Kbps video, 64 Kbps audio


Medium – 256 Kbps video, 64 Kbps audio


High – 800 Kbps video, 64 Kbps audio


The iPhone screen size is: 480×320


Suggested ffmpeg command for encoding iphone video
ffmpeg -i <in file> -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 320×240 -vcodec libx264 -b 96k -flags +loop -cmp +chroma -partitions +parti4x4+partp8...


Both MP4 and FLV videos can be played back with a mechanism called HTTP \r\nPseudostreaming. This mechanism allows your viewers to seek to not-yet \r\ndownloaded parts of a video. YouTube is an example site that offers this\r\n functionality.


Previously we implement HTTP Pseudostreaming concept based on server \r\nside scripting. Such a script have lots of disadvantages such a script \r\nconsumes a lot of resources, has security implications and can only be \r\nused with FLV files mostly.


Now we encourage user to implement proper HTTP Pseudostreaming through \r\ntheir webserver rather than using any script. HTTP Pseudostreaming does \r\nnot work by default on any webserver. A serverside module is needed to \r\nenable it.


The most popular module is H264 Streaming Module which allow user  to \r\nimplement Http Pseudo streaming for mp4 videos through IIS web server.How to Setup?




Here we provide sample code that can help u to use Media Handler Pro component in your asp.net application (c#, vb.net) to


i: Publish any format video to high quality mp4 format using libx264 codec and preset filesii: Set meta information to mp4 video in order to stream properly on web.


We recommend you to download latest ffmpeg build with presets support from http://ffmpeg.arrozcru.org/autobuilds/




You can use the following sample code to publish any format video to flash flv, mp4, vp8 webm, ogg vorbis, grab thumb in one step using ASP.NET Media Handler Pro.


Note: You need to download latest ffmpeg build with support of VP8 codec




Everyone who has visited YouTube.com in the past four years knows that you can embed video in a web page. But prior to HTML5, there was no standards-based way to do this. Every video you've watched on the web has been funneled through a third party plugin (QuickTime, RealPlayer, Flash).


HTML5 defines a standard way to embed video in a web page, using a


<video width="300" height="150"></video>
element.

Support for the <video width="300" height="150"> element is still evolving, which is a polite way of saying it doesn’t work yet. At least, it doesn’t work everywhere. But don’t despair! There are alternatives and fallbacks and options.


 Video Codecs: There are tons of video codecs. The three most relevant codecs are H.264, Theora, and VP8.



You can use the following code through ASP.NET Media Handler Pro \r\ncomponent to extract all frames of video into jpg images. \r\nExtracting Frames: \r\n
\r\n_mhandler.InputPath = RootPath + "\\\\contents\\\\original"; \r\n_mhandler.OutputPath = RootPath + "\\\\contents\\\\thumbs"; \r\n_mhandler.FileName = "xmen-origins-wolverine.mp4"; \r\n_mhandler.OutputFileName = "sample_"; \r\n_mhandler.OutputExtension = "%010d.jpg"; \r\n_mhandler.Force = "image2"; \r\nVideoInfo info = _mhandler.Process();
\r\nRe Encoding Frames / Images into Video: \r\nExample below will encode all jpg frames into flash flv video, you can \r\nencode it in any format. \r\n[quote]\r\n_mhandler.InputPath = RootPath + "\\\\contents\\\\thumbs"; \r\n_mhandler.OutputPath = RootPath + "\\\\contents\\\\flv"; \r\n_mhandler.FileName = "sample_.%010d.jpg"; \r\n_mhandler.OutputFileName = "sample_img_vid"; \r\n_mhandler.OutputExtension = "flv"; \r\n_mhandler.Force = "flv"; \r\n// _mhandler.MaxQuality =...


ASP.NET Video Uploader Control (.ascx file) include complex script that can handle video uploading, publishing to flash flv format, grabing single or multiple thumbs, set meta data for flash flv video, output validation and retrieve useful information from video in one step just by dragging control on page by allowing developer to avoid writing lots of code.


Visit Official Page of Video Uploader Control. for more detail, demo and example codes.


Features: Main features in ASP.NET Video Uploader Control includes,

Video Uploading
Video publishing using .NET Media Handler Pro component.
Set Meta Information for flash flv video....


.NET Media Handler Pro media processing component version 5.0 has been released with lots of improvements, addition of advance features and simplifying code for handling advance level of media processing.


What's New in Media Handler Pro 5.0:




Generalize way to process any format media file to another format. learn more.
Joining and encoding two or more video clips in one output file.
Improved script for splitting video in small clips.
Images to video conversion.
Improved script for grabbing multiple thumbs. Now support grabbing thumbs from long length videos.
Support using x264 preset files for encoding high quality h264 videos using libx264 codec.
Redesigned parsing script for more efficiently retrieving media information from videos.
More control on error handling a...


When you encode normal video (4:3 aspect ration) to widescreen (16:9) video, or in reverse widescreen to normal video, video is stretch out and in result output distorted or bad in view and quality. In order to avoid video stretching out and keep aspect ratio of video persistent, you can use technique called pillars. This is the "pure" method as it does not distort or lose any part of the original video or image. In this technique you will calculate space and add padding accordingly on proper direction to keep the aspect ratio of video consistent.Logic to calculate padding size and direction.