FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Using this HTTP handler you can easily FLV streaming downloads just like video.google.com does. All you need is to install on your IIS 5.0/6.0 the following HTTP handler and to get this to work correctly, you will need to make sure that IIS handles request for .flv files. In your site's properties, click the "Home directory tab" and click the "Configuration" button. You'll get a form like this:

IIS Configuration step 1

Add the entry for .flv, click edit, and copy the path in the executable field. This is the aspnet_isapi.dll for the current version of the .NET Framework of your virtual site. Cancel out of that dialog and click "add." Paste the path into the executable, use the extension .flv and set your verbs limited to "GET, POST, HEAD, DEBUG" like this:

IIS Configuration step 2


Now any request for a .flv file on the site will be handled by ASP.NET. Since the server-wide machine.config file doesn't specify what class should handle the request, a default handler is used unless we add the following lines to the web.config file:

Web.config

    <httpHandlers>        
           verb="*" path="*.flv" type="FLVStreaming" />
    <
/httpHandlers>

FLVStreaming.cs


using System;
using System.IO;
using System.Web;

public class FLVStreaming : IHttpHandler
{

    // FLV header
    
private static readonly byte[] _flvheader = HexToByte("464C5601010000000900000009");

    public FLVStreaming()
    {
    }

    
public void ProcessRequest(HttpContext context)
    {
        
try
        
{
            
int pos;
            
int length;

            
// Check start parameter if present
            
string filename = Path.GetFileName(context.Request.FilePath);

            
using (FileStream fs = new FileStream(context.Server.MapPath(filename), FileMode.Open, FileAccess.Read, FileShare.Read))
            {
                
string qs = context.Request.Params["start"];

                
if (string.IsNullOrEmpty(qs))
                {
                    pos = 0;
                    length = Convert.ToInt32(fs.Length);
                }
                
else
                
{
                    pos = Convert.ToInt32(qs);
                    length = Convert.ToInt32(fs.Length - pos) + _flvheader.Length;
                }

                
// Add HTTP header stuff: cache, content type and length        
                
context.Response.Cache.SetCacheability(HttpCacheability.Public);
                context.Response.Cache.SetLastModified(DateTime.Now);

                context.Response.AppendHeader("Content-Type", "video/x-flv");
                context.Response.AppendHeader("Content-Length", length.ToString());

                
// Append FLV header when sending partial file
                
if (pos > 0)
                {
                    context.Response.OutputStream.Write(_flvheader, 0, _flvheader.Length);
                    fs.Position = pos;
                }

                
// Read buffer and write stream to the response stream
                
const int buffersize = 16384;
                
byte[] buffer = new byte[buffersize];
                
                
int count = fs.Read(buffer, 0, buffersize);
                
while (count > 0)
                {
                    
if (context.Response.IsClientConnected)
                    {
                        context.Response.OutputStream.Write(buffer, 0, count);
                        context.Response.Flush(); 

                        count = fs.Read(buffer, 0, buffersize);
                    }
                    
else
                    
{
                        count = -1;
                    }
                }
            }
        }
        
catch (Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(ex.ToString());
        }
    }

    
public bool IsReusable
    {
        
get return true; }
    }

    
private static byte[] HexToByte(string hexString)
    {
        
byte[] returnBytes = new byte[hexString.Length / 2];
        
for (int i = 0; i < returnBytes.Length; i++)
            returnBytes[i] = Convert.ToByte(hexString.Substring(i * 2, 2), 16);
        
return returnBytes;
    }

}

All you need now to stream your favorite FLV movies is a custom-made player which is fetching the contents passing to the request the ?start= parameter in order to seek the current position inside the video file.

Fabian Topfstedt has one available onto his site (get the player and place it in your site document root)

To use Fabian player you have to embed the following HTML code inside your page:

<object 
  classid
="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
  
codebase
="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0
  
width="336" 
  
height
="297">    
  <
param name="movie" value="scrubber.swf?file=http://&bufferTime=3&autoStart=false" /
>    
  <
param name="quality" value="high" /
>    
  <
embed src
="scrubber.swf?file=http://&bufferTime=3&autoStart=false" 
    
quality
="high" 
    
pluginspage
="http://www.macromedia.com/go/getflashplayer" 
    
type
="application/x-shockwave-flash" 
    
width
="336" 
    
height="297"></embed
>  
<
/object
>

The video file was converted into a .flv using of ffmpeg and indexed with flvtool2 in order to add the correct metadata inside the FLV file.

ffmpege.exe -i test.avi test.flv
flvtool2.exe -U test.flv

You can download here solution and project files or if you have the chance check online demo here.

An ASP.NET v1.1 version is available here.

Feel free to contact me for any information.

 

Technorati tags: , , , , , ,

posted @ mercoledì 4 ottobre 2006 22.13

Print

Comments on this entry:

# re: FLV Streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by Mauro Servienti at 04/10/2006 22.47
Gravatar
Ciao,

cortesemente potresti chiedere ad Andrea (http://blogs.ugidotnet.org/pape) di spostare il tuo feed sul "muro" in inglese, oppure postare in italiano ;-)

Inoltre per la fruibilità sarebbe meglio se sul muro arrivasse solo un abstract del post.

Bel post comunque, argomento interessante.

Grazie, ciao
Mauro

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by Tim at 12/10/2006 21.14
Gravatar
Can I use this in our WebTV solution. How is the license agreement?

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by ramkumar at 01/11/2006 6.55
Gravatar
plz how to run ur code on asp.net1.1

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by Francesco Meani at 02/11/2006 2.06
Gravatar
Hi Ramkumar, the code can be easily modified in order to run on ASP.NET 1.1 environment.

Let me know if you need any help.

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by FADI at 09/11/2006 16.11
Gravatar
Congratulations on this code.

this was the only solution that i have found on the internet. i hope this works as intended.

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by philips at 17/11/2006 8.17
Gravatar
Hello sir,
this article is really superb but when i try to use it on .net 1.1 nothing is displayed. can u please show me how to use it on .net 1.1

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by JH at 22/11/2006 15.10
Gravatar
This works great w/ IE but doesn't appear to work correctly with Netscape or FireFox. Do you have a fix or solution to support multiple browsers.

# re: FLV Flash video streaming with ASP.NET 2.0 / IIS and HTTP handler

Left by JH at 22/11/2006 15.19
Gravatar
never mind... my flash player was an older version that did not support FLV streaming... after updating the player it works great... super job!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kfra at 26/11/2006 13.30
Gravatar
Hi all, here you can find a ASP.NET v1.1 compatible solution:

FLV Flash video streaming with ASP.NET v1.1, IIS and HTTP handler

http://blogs.ugidotnet.org/kfra/archive/2006/11/26/57225.aspx

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Zac at 08/12/2006 2.10
Gravatar
i have installed the code to my windows xp machine and i can get the player to display... but when i click play, it stalls on buffering video. it just sits there and doesn't appear to be loading anything. Any ideas?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Murat Kebabci at 11/12/2006 20.57
Gravatar
There's a typo in default.htm, look at its source, correct the filename from golfers.flv.flv to golfers.flv in Flash file's object and embed parts then it'll probably work

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 11/12/2006 21.05
Gravatar
Hi Murat,
thanks for you advice. I fixed the typoo in the default.htm (both 2.0 and 1.1 solution) and repack it.

Francesco.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Zac at 15/12/2006 5.49
Gravatar
that fixed my error too! thankyou!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by jd6strings at 28/12/2006 22.50
Gravatar
Awesome! What's a good solution for encoding to FLV on the fly? I'd like to take video from an Axis camera, encode to FLV and use the above solution. Thanks!

# FLV Flash video streaming ASP.NET v1.1 (code behind .vb)

Left by Bhavesh at 08/01/2007 14.08
Gravatar
Hi sir,


I have entered below code in web.config file

<httpHandlers>
<add verb="*" path="*.flv" type="MyTest.FLVStreaming, MyTest" />
</httpHandlers>

And convert FLVStreaming.cs file code into .vb like:

Public Class FLVStreaming : Implements IHttpHandler

But it doesn't play the .flv file

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Paris at 11/01/2007 18.02
Gravatar
Hi,

Great article! got it working when viewing a video, I can't move along the timeline to scroll to a different part of the video. When I try, the video just restarts from the beginning. Any feedback would be greatly appreciated.

Thanks,

Paris.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 14/01/2007 22.55
Gravatar
Hi Paris,
did you indexed with flvtool2 to your .flv in order add the correct metadata (keyframes) to the video file?

EG: flvtool2.exe -U test.flv

Let me know,

Francesco

# ffmpeg and flvtool2

Left by shawn at 22/01/2007 18.46
Gravatar
regarding ffmpeg and flvtool2... I saw the downloads for these... what / how do I use them at the command line? Do I need to install both of these apps? or just place them where my command line runs? if so, which files do I place? all of them? Basically, please talk me through it from download to conversion commands... thanks!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by charan at 26/01/2007 19.24
Gravatar
flv is missing in my iis.wht am i supposed to do

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Darren McCready at 09/02/2007 1.08
Gravatar
Would it be possible to add this player to a full flash website and make it dynamic, say to read a folder of movies?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Bala at 15/02/2007 13.02
Gravatar
Hi,
After doing everything that are suggested, still it dosn't play the flv file. It stops at 'Buffering Video'. What could be the reason.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Sniipe at 17/02/2007 15.15
Gravatar
I get the same error as Bala.

http://www.wiredkind.com/default.htm

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 17/02/2007 20.33
Gravatar
Hi,
the html code inside the page:

<param name="movie"
value="scrubber.swf?file=http://www.wiredkind.com/1.flv&bufferTime=3&autoStart=false"">http://www.wiredkind.com/1.flv&bufferTime=3&autoStart=false" />

invokes a non existing file http://www.wiredkind.com/1.flv raising a 404 error.

Could you check it please?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by JEDIMAST14 at 20/02/2007 1.38
Gravatar
You guys besides the MIME TYPE, you need to enable ASP.NET ALLOW , withtout that it will not work

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Sniipe at 20/02/2007 16.24
Gravatar
The file http://www.wiredkind.com/1.flv exists, but I can't type it directly in. Its a widows hosting server, what should I ask them to do to get it working?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Ashit at 23/02/2007 13.40
Gravatar
I tried to use code and also installed flash media server 2 ,also embedded code in .aspx ,but i can't get any buffering in buffer video.Can you pls. tell me what is missing.
I have not installed lightpd,if its necessary can you tell how its to be installed and where to keep

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Bunajim at 25/03/2007 20.28
Gravatar
Can this player support sessions so that only logged in users will be able to view the movie?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andri at 27/03/2007 12.45
Gravatar
This is a fantistic solution if it works.
But something must be missing. I did everything in the tutorial (using the source files) and yet i only see the player with a black screen (buffering video). It doesn't play.
I assume that the FLV in the source files (golfers.flv) has already been indexed with flvtool2. I still downloadied it but it flashed a command prompt and disappeared (is it for linux).

I really want to make this work as this eliminates the need for Flash Media Server or Red5 (which needs to be installed on the remote server/not possible in my case). I would be most grateful for clarification.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by DMalach at 11/04/2007 6.05
Gravatar
I tried in stall your demo app. When I goto above URL I get the viewer, but it says video not found.

When I try surf to http://74.92.208.172/malach/golfers.flv, i get a ASP.NET error saying "Could not load type 'FLVStreaming'."

Do you have any ideas what I'm doing wrong?

Thanks (dave@malach.com)

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by parul jain at 13/04/2007 15.03
Gravatar
Hey
nice script. when i try to embed ur script m getting this error
Error
Class 'FLVStreaming' must implement 'ReadOnly Property IsReusable() As Boolean' for interface 'System.Web.IHttpHandler'. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers.
D:\mypractice\video2flash\App_Code\FLVStreaming.vb
http://localhost/video2flash/
can you tell me whts the reason behind this?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by beyazcennet at 15/04/2007 2.43
Gravatar
page not looding....
the waiting Page

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Manish Thouri at 18/04/2007 14.11
Gravatar
brother
its excellent help u have provided online...
One query....
I am working on asp.net 2.0 application. I have list of .flv files in a GridView Control of asp.net.

I wish to play the chosen .flv file on the same page.

I tried using FLVStreaming.cs but no luck.

Pls Help.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Yoki at 19/04/2007 9.37
Gravatar
I need to determine the width and height of the original video files (not the flv but the avi or mov or ...) does anyone knows how to do this?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Tim at 23/04/2007 15.59
Gravatar
Looks great but can i use the httphandler in selfmade webserver or do i have to rewrite it, tips are welcome :)

# How to stream a movie in ASP.NET? - JodoHost Forums

Left by Pingback/TrackBack at 25/04/2007 23.06
Gravatar
How to stream a movie in ASP.NET? - JodoHost Forums

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by vishal at 04/05/2007 18.33
Gravatar
Amazing post..thank you very much for this post.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Gianni at 10/05/2007 15.26
Gravatar
Where can i find scrubber.fla modify for asp.net ?

I mean , the only one i have found in internet is for load a php file but the in the project fo asp.net there's only the .swf without the source.

thanz in advance

Dove posso trovare il file .fla visto che nel progetto asp.net c'è solo il file .swf e non il sorgente?

grazie

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 12/05/2007 12.20
Gravatar
Gianni,
you can find .fla for the scrubber player directly from
Fabian Topfstedt's pages:

FLV-Scrubber 1.0
http://www.topfstedt.de/weblog/?p=145

FLV-Scrubber 2.0
http://www.topfstedt.de/weblog/?page_id=208

Best,

Francesco.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Gianni at 14/05/2007 11.13
Gravatar
thanx a lot

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by greg at 15/05/2007 12.19
Gravatar
Hey,

It's working great with golfers.flv, but with a bigger file (240MB) it plays correctly at the beginning but i can no longer use seek function.

I guess it's a buffer size parameter somewhere between IIS and .NET, but i'm clueless at the moment.

Any idea on this ?

Thanks,

greg.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 15/05/2007 13.29
Gravatar
Gregg,
be sure to index file with flvtool2 (flvtool2.exe -U <filename>.flv) as described in the post.

Best,

Francesco.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by chall3ng3r at 07/06/2007 3.36
Gravatar
hi,

i got it working on the first go. its coool.

i have only one feature request. i also tried myself, but i'm stuck with another project, so not getting enough time to play around with that.

on a post on flashcomguru.com, someone posted a nice solution for controlling bandwidth.
http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two#c0320B8CA-D611-38B6-16B9263706E7E41E

all i want to do is implement same in .net version. currently when flv is requested, the server returns th flv at full speed.

can anyone help me adding bandwidth throtteling in this script?

tia,

// chall3ng3r //

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by MAKTECK123 at 08/06/2007 10.27
Gravatar
Plz help!!,
in this article, U use Shockwave player i want the same thing with FLV player which is install on my local machine
also how convert and upload the video's in .flv format

# Asp.net FMS 开发视频网站

Left by 秀才 at 13/06/2007 8.59
Gravatar
Asp.net FMS ??????

# FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kris - TECH at 13/06/2007 10.19
Gravatar
Reference from : http://blogs.ugidotnet.org/kfra/archive/2006/10/04/50003.aspx Using this HTTP handler

# Asp.net FMS 开发视频网站

Left by 清风涤尘 at 19/06/2007 9.00
Gravatar
Asp.net FMS ??????

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by dotNetGeek at 20/06/2007 7.48
Gravatar
This is a cool article on streaming flv files on the web. What i actually want to achieve is to control the bandwidth of the rate at which the flv file is streamed from the server to the client. Kindly help me on this..

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gurpreet at 27/06/2007 9.03
Gravatar
where can i download ffmpege.exe

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Francesco Meani at 30/06/2007 15.01
Gravatar
Here you can find unofficial builds for Windows platform:

http://arrozcru.no-ip.org/ffmpeg_builds/

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by MM at 19/07/2007 21.16
Gravatar
Is it possible to get the flv from a CDN?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Neil at 23/07/2007 17.49
Gravatar
Hi, how do I execute these commands in a aspx page: ffmpege.exe -i test.avi test.flv AND flvtool2.exe -U test.flv?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Neil at 23/07/2007 17.49
Gravatar
Hi, how do I execute these commands in a aspx page: ffmpege.exe -i test.avi test.flv AND flvtool2.exe -U test.flv?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by vbn at 07/08/2007 14.11
Gravatar
comment........

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by bmongtangco at 13/08/2007 10.13
Gravatar
How can you hide the .flv in asp.net? like what youtube.com does with the flv's....?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Selvakumar at 14/08/2007 15.39
Gravatar
Hi,
The article is very nice. Many webdeveloper get benefit of this. Can you tell me how can i put share my code part here?

Regards,
Selva
www.selvaonline.com

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by yiliu at 17/08/2007 9.23
Gravatar
我想实现FLASH视频直播,
FMS要安在服务器上吧?
我现在能把本机的摄像头视频内容抓到FLASH中,
在本地机演示可以,
本地的局网也可以
但放到公网上,怎么做,就不会了,
正在找资料,
我的功能要求较简单
只要把摄像头的视频内容公开到网上,
这样我每天在做什么,家人都可以看到了。

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by TArek at 17/08/2007 14.12
Gravatar
do you know of any mpeg/avi to flash video converters for .net?

thanks

joompinc@gmail.com

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by David Brosnan at 21/08/2007 20.48
Gravatar
Hi. Thanks for the information, was a great help. I have videos uploading and converting to flv and playing on my website fine.

I am trying to avoid buffering the videos for too long before they start to play (4 seconds max) but i can only manage this by having very poor quality flv files. Here is the ffmpeg command i am using.
ffmpeg.exe -i mympgvideo.mpg -ar 11025 -ab 32 -b 300 -r 20 -f flv -s 350*210 " + myflvvideo.flv

This leads to poor quality videos. Is there any way of increasing the quality and still allow the video to play without having to pause for buffering when playing. Any help would be great. Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by akennedy at 22/08/2007 20.12
Gravatar
i'm trying to implement this on my localhost, i have IIS running, and have made the change to the framework (i have also restarted IIS). I've downloaded the files and placed them in my wwwroot directory. When i test the sample it never gets past the black screen and buffering message. can anyone shed some light?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Jacob at 23/08/2007 22.25
Gravatar
I'd like to add a comment, since this is the best serving-FLV-from-ASP.NET search result page out there. I was trying a similar approach, except instead of using an HTTP handler, I wanted to serve the FLV from a .aspx page. After much effort, I finally found out that the Adobe Flash video player checks for the file extension .flv!

I did find a workaround, though. By adding something like kludge=.flv to the end of the query string, the video player's stupid prerequisite was satisfied. With this solution, you don't need to muck with IIS's settings to serve FLV from ASP.NET (a big plus if a separate team is doing the deployment).

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Asif Iqbal at 24/08/2007 16.56
Gravatar
Hey, I get the following error :

Parser Error Message: Could not load type 'FLVStreaming'.

Source Error:


Line 39:
Line 40: <httpHandlers>
Line 41: <add verb="*" path="*.flv" type="FLVStreaming" />
Line 42: </httpHandlers>
Line 43:


Source File: C:\Inetpub\wwwroot\Trial\web.config Line: 41

Can anybody tell me what's going wrong ?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Hareram Singh at 25/08/2007 10.50
Gravatar
i have installed the code to my windows xp machine and i can get the player to display... but when i click play, it stalls on buffering video. it just sits there and doesn't appear to be loading anything. Any idea?


There's a typo in default.htm, look at its source, correct the filename from golfers.flv.flv to golfers.flv in Flash file's object and embed parts then it'll probably work

the fileanme was initially golfers.flv in the root folder.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by vladim at 26/08/2007 12.48
Gravatar
nuo manoe serio

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Simran at 12/09/2007 8.56
Gravatar
How i can do Video Streaming using Flash Media Server.. that will stream files without downloading at client side??

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by jay at 22/09/2007 7.45
Gravatar
how to stream video in LAN

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by APA at 25/09/2007 7.32
Gravatar
Can't stream large files (200MB+). They just don't play on the cline machine and the server memory usage spike to larger han the requested file size. What's taking up all the memory?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by chaitanya at 26/09/2007 11.03
Gravatar
That is realy nice I want Flash player to concatinate with asp.net 2.0 for Playing the vedios if Any easy solution then send me

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Guisella at 27/09/2007 1.36
Gravatar
How can I prevent the file being cached in the client computer, so this code works like a really streaming server? I don't want by the time the video is completed the file can be located in the temp files. Any one have a clue on this?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by sam at 27/09/2007 14.44
Gravatar
Error 2 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Inetpub\wwwroot\FLVStreaming\wwwroot\Web.Config 26

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by san at 29/09/2007 7.41
Gravatar
Hi All. can some please guide me...i m planning to run IIS server on my own computer for to watch the video just for me and my friends...to watch movie and stuff.....but how can i achieve this...i have installed the IIS but now further i dont what to do.....like what do i need......
Thanks All.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by chai at 09/10/2007 5.05
Gravatar
在哪里下载

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Haiha at 10/10/2007 11.39
Gravatar
sinhv

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by cow at 14/10/2007 19.45
Gravatar
http://steveorr.net/articles/Flasher.aspx

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by NamND at 19/10/2007 6.52
Gravatar
Thanks, alot of

# Hosting FLV files with ASP.NET 2.0 and IIS

Left by Pat Gannon's Blog at 31/10/2007 4.54
Gravatar
Hosting FLV files with ASP.NET 2.0 and IIS

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Prakash Patani at 05/11/2007 11.50
Gravatar
In the FLVStreaming.cs one line is there ,
string qs = context.Request.Params["start"];

this parameter is passed from where.??
i m using xml file which include all the flv file list and passed to the flash player object.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by ahmed at 05/11/2007 14.09
Gravatar
hi all
ihave ip cam Dlink (dcs 5300)
i want connect this camera with this application
what is the requirment
thx alot

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kewlman at 06/11/2007 8.32
Gravatar
I want to make the following as part of my embed code
<param name="movie" value="http://www.mytube.com/v/5P6UU6m3cqk"></param>

Does anyone know what are the changes i will need to do in the FLVStreaming.cs to support this format

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Him at 07/11/2007 11.48
Gravatar
Can anyone provide a VB.net version of the FLVStreaming class.

Thank you

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Ravikumar P V S at 15/11/2007 11.28
Gravatar
Hi,
I am developing a web site where user should play audio/video. But user should not download any audio/video file from the player.
And can you give me the code in vb.net, which i have implement to use adobe flash player component? How to encode any audio/video to .flv format? how to do this programmetically. Please send me the code.

Ravi, Bangalore, India

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Nancy at 28/11/2007 18.55
Gravatar
I love this. Thanks.

I put it in a popup page that links from the default.aspx page. When the video object is not embedded, the popup windows look alike, but when I add it, in IE it's really small and in Firefox it's exactly the size I want it. How do I address the difference in browsers?

Thanks for your help.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Nancy at 28/11/2007 18.55
Gravatar
I love this. Thanks.

I put it in a popup page that links from the default.aspx page. When the video object is not embedded, the popup windows look alike, but when I add it, in IE it's really small and in Firefox it's exactly the size I want it. How do I address the difference in browsers?

Thanks for your help.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Burclar at 04/12/2007 17.28
Gravatar
i am thinking to use this streaming system. But i have no much money.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by srinivas at 10/12/2007 8.22
Gravatar
Can any please tell me how to customize scrubber.swf with volume controls ,play,pause,start and fulscreen options in asp.net 2.0

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by srinivas at 12/12/2007 7.29
Gravatar
Hello,

We are trying use “FLV player” as a streaming component in our web application in Microsoft Dot Net (asp.net) 2.0.
But we need to have the following buttons/ controls for FLV component of customized skin color.
1) Start, Pause
2) Volume meter
3) Volume pause
4) Full screen mode on/off
5) Skin color parameter in object code.
6) Our company logo

Can you customize the component to meet our needs? If so what would be the licensing cost for the component?
Please reply immediately.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by dilip at 12/12/2007 13.50
Gravatar
sir i want just like orkut site like as

Want to upload your own video to share? Upload videos to Google Video or YouTube and add the URL here to share on orkut.
Learn more (Sample: http://www.youtube.com/watch?v=videoid or http://video.google.com/videoplay?docid=videoid) how cand add in .net and how can link are provided please reply immediately
how can folllow in our site

# Player skin

Left by Ravikumar at 12/12/2007 16.05
Gravatar
I have used in web application. But, I need to get the player skin similar to the players used in popular web sites like you tube. I am not able to get the features of full screen mode, pause button , volume control buttons etc. Where can i get the new scrubber.swf? Please reply

# Windows 2003

Left by jola at 18/12/2007 11.13
Gravatar
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439&sliceId=1

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Bill Seddon at 18/12/2007 13.20
Gravatar
Thanks for the article because it got me started streaming. However I think it's a little misleading because it's not necessary to create the IHttpHandler instance. You may have found it necessary to do this because in your instructions you do not suggest that users create a MIME type. Instead the MIME type is supplied by the handler.
This step is not important under IIS 5.0 but IIS 6.0 will not allow access to a file unless there is a MIME type specified for the web site.
This may explain why some commenters have been able to stream content while others have not.
The great thing I learned from your post is the importance of metadata and the use of flvtool2. It seems that .flv files will not be streams without metadata.
Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Vivek at 21/12/2007 13.52
Gravatar
Dear Francesco,
Thanks for this wonderful post.
Can you plz tell me how can we display the movietime & increase the video to fullscreen, like it is done in youtube.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by zhou at 27/12/2007 4.40
Gravatar
I would like to find a video Web site development in the entire process code:
Only the most basic functions:
1, online video, dialogue
2, code asp.net (2.0)
Thanks!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Bassam at 02/01/2008 14.13
Gravatar
Hi,
Your code is not running when flv file is hosted outside the IIS for example on a content server of amazon.Any ideas??

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by maylow hayes at 04/01/2008 23.22
Gravatar
brilliant. thank you for this posting.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Nitin at 07/01/2008 15.24
Gravatar
Hi

In my web application i want that user upload wmv,avi, etc files and on fly it convert it in flv nad save it in a folder.

I m unable to incoprate this code in my site. i also did not understand the use of
ffmpege.exe -i test.avi test.flv
flvtool2.exe -U test.flv
and from where i get it.

Pleae guide me

Thanks & Regards
Nitin

# how to upload flv files using dot net 2.0

Left by toks at 11/01/2008 13.20
Gravatar
please help me on steps necessary to upload flv files from an aspx form to the iis server

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by mike at 15/01/2008 0.22
Gravatar
i need help, it seems like i am missing something.
I created a test website, with nothing in it but the instructions by the headman, but i cant get it to work.? i would apriciate your help. mikekhodATdslextreme.com

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by mike at 15/01/2008 0.25
Gravatar
i need some series help.
I created two files webconfi, and the .cs file, also placed the flv file in the same directory, any ideas what else i would have to do?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by VHV at 15/01/2008 18.54
Gravatar
Hi all,
pls help me solve some problems:
- How to get the time to play a flv file in Dotnet?
- How can I stream a flv file from a time?
Exp: Time to play a file is 3 minutes. I want to stream this file from 2minutes to end.
- How can I change player Interface?
pls give me something or code about those problems.
Mthks,

# FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by DotNetKicks.com at 15/01/2008 22.00
Gravatar
You've been kicked (a good thing) - Trackback from DotNetKicks.com

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gary at 17/01/2008 7.54
Gravatar
Can anyone help me? Can any one translate it from c# to vb code, ok?i know vb only.....thanks!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by anil at 23/01/2008 1.28
Gravatar
hi,
i want to show a grid which will show the image of the video and when we click it shows the video.
How can I make that image based on the video?
Thanks for ur help.
---Anil

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by T at 23/01/2008 3.56
Gravatar
This is a cool post. Thanks for the info
btw, just wondering would you know how to extract a thumbnail from an flv in .net

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Elian at 24/01/2008 21.39
Gravatar
thanks a lot, it works perfect

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Raju Datla at 01/02/2008 6.22
Gravatar
I tried at least 4-5 different things available in ASP.NET forums, ran into a parser error everytime and one possible option was to edit the registry on the server to resolve it. However I tried the solution listed here and it took on an average 4 minutes to successfully start streaming a video on a research site I am working on (not my blog). THANK YOU!!!!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by John at 16/02/2008 4.08
Gravatar
Wow... I converted this to VB.Net and it worked perfect!! THANK YOU!

# FLV-Scrubber 3.0

Left by James Skemp at 23/02/2008 17.40
Gravatar
Any plans on updating this for FLV-Scrubber 3.0?

# FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Krutarth Patel at 03/03/2008 14.55
Gravatar
Thanks for the greate code. but i have some problem when i set "aspnet_isapi" the "ok" button is not enabled as well as the buffered is not worked. if possible pls give me a step wise detail description. Hope u will help me out. thanks in advance. Pls describe me detail because i m new in asp.net 2.0

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Randhir at 03/03/2008 20.27
Gravatar
I am create the new recording web site ans using the mci component but problem on the server .I hope ur help the problem

# 利用ffmpeg mencoder视频转换的总结(C#)[转载]

Left by 投石问路 at 10/03/2008 6.54
Gravatar
Youtube的成功,使得国内的视频网站如雨后春笋般的冒出来,前不久朋友叫我帮他写一个将各种视频格式转换成flv的程序,这里就将编写程序遇到困难和获得的经验拿出来和大家分享一下。1、使用引擎:f...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by vijendra at 29/03/2008 6.09
Gravatar
Please guide me about flvtool2
(flvtool2.exe -U <filename>.flv)
How can I use it in asp.net page
Thanks in advance

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Chris at 04/04/2008 21.48
Gravatar
Hi,

The scrubit functions doesen't seem to be working.

Could u confirm it?

TIA
Chris

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Muthu at 20/04/2008 15.26
Gravatar
If I were to do an interface where i can upload video files into my MSSQL database , will I be able to stream the files from database & stream it into the Flash media player?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Jonathan at 22/04/2008 6.21
Gravatar
Hi! great solution!
Why the buffer is 16384? Is it the recommended value or just something that you decided after several tests?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by bug at 24/04/2008 4.21
Gravatar
How can loop playback the flv video?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Pete at 08/05/2008 23.11
Gravatar
Can we use this to create a streming MP3 flash player that streams MP3 files instead of progressively downloading them?

What are your thoughts on this?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Dennis at 09/05/2008 8.42
Gravatar
Hello i tried to convert the .cs file to .vb file. the only thing that is not working is scrubbing the movie stops playing.

Here is the example of the .vb can anybody tell me what's wrong

Imports Microsoft.VisualBasic
Imports System
Imports System.IO
Imports System.Web

Public Class FLVStreaming
Implements IHttpHandler
Private ReadOnly _flvheader() As Byte = HexToByte("464C5601010000000900000009") '"FLV\x1\x1\0\0\0\x9\0\0\0\x9"
Private Const buffersize As Integer = 16384


Public Sub New()

End Sub

Public ReadOnly Property IsReusable() As Boolean Implements System.Web.IHttpHandler.IsReusable
Get
Return True
End Get
End Property

Public Sub ProcessRequest(ByVal context As HttpContext) Implements System.Web.IHttpHandler.ProcessRequest

Try
Dim pos As Integer
Dim length As Integer

' Check start parameter if present
Dim filename As String = Path.GetFileName(context.Request.FilePath)

Using fs As New FileStream(context.Server.MapPath(filename), FileMode.Open, FileAccess.Read, FileShare.Read)
Dim qs As String = context.Request.Params("start")

If (String.IsNullOrEmpty(qs)) Then
pos = 0
length = Convert.ToInt32(fs.Length)

Else
pos = Convert.ToInt32(qs)
length = Convert.ToInt32(fs.Length - pos) + _flvheader.Length
End If



' Add HTTP header stuff: cache, content type and length
context.Response.Cache.SetCacheability(HttpCacheability.Public)
context.Response.Cache.SetLastModified(DateTime.Now)

context.Response.AppendHeader("Content-Type", "video/x-flv")
context.Response.AppendHeader("Content-Length", length.ToString())

'HttpContext.Current.Response.End()

' Append FLV header when sending partial file
If (pos > 0) Then
context.Response.OutputStream.Write(_flvheader, 0, _flvheader.Length)
fs.Position = pos
End If

' Read buffer and write stream to the response stream
Dim buffer(buffersize) As Byte
Dim count As Integer
count = fs.Read(buffer, 0, buffersize)
While (count > 0)

If (context.Response.IsClientConnected) Then

context.Response.OutputStream.Write(buffer, 0, count)
count = fs.Read(buffer, 0, buffersize)


Else

count = -1
End If
End While
context.Response.OutputStream.Close()
End Using

Catch ex As Exception
System.Diagnostics.Debug.WriteLine(ex.ToString())
End Try


End Sub

Public Function HexToByte(ByVal hexString As String) As Byte()
Dim returnBytes(hexString.Length / 2) As Byte

For i As Integer = 0 To returnBytes.Length - 1
returnBytes(i) = Convert.ToByte(hexString.Substring(i * 2, 2), 16)
Next

Return returnBytes
End Function



End Class

# goamfgqh - Google Search

Left by Pingback/TrackBack at 16/05/2008 9.11
Gravatar
goamfgqh - Google Search

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Lakshman at 18/05/2008 17.18
Gravatar
Thanks for the videos

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by lewang at 09/06/2008 4.47
Gravatar
thanks,I'm using it now.It works well.
Do you have other examples like flash?
This examples is too easy,the function is too little.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by satish at 10/06/2008 7.58
Gravatar
this is new for me

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andres at 24/06/2008 17.19
Gravatar
What is the correct way to call Class1.cs to Streaming is used in the correct way?

using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using FLV;

public partial class _Default : System.Web.UI.Page
{



protected void Page_Load(object sender, EventArgs e)
{
FLV.FLVStreaming FLS = new FLVStreaming();
Context.Server.MapPath("WebSite2/Video/");

FLS.ProcessRequest(Context);



}
}

so does not work.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by rao at 01/07/2008 8.28
Gravatar
very good article

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gab at 04/07/2008 14.06
Gravatar
i want to read de .flv files from a directory in my server. can you explain to me how does this code read the files? how can i make it read them automatically when i place some new videos in the directory?
(I appologise if this question is too amateur...)

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gab at 04/07/2008 14.13
Gravatar
what i want to do is to place in a web page all the videos i have on my server's video directory...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Sabarees at 15/07/2008 16.39
Gravatar
Really Nice Article. Thank you very much. But i have a problem with this, when i run your sample application, the flash player displayed and when i pressed the button "Click To Play" then it doesn't play. only the message "Buffering the Video" is displayed under the screen.In my HTML page there was on error message displayed "Element Emped is not supported. What's my mistake and how can i solve this???

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by suman at 31/07/2008 15.09
Gravatar
flv is missing in my iis.wht am i supposed to do ?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Quan at 31/07/2008 19.34
Gravatar
suman, you have to add it. Instruction is at top of page.

My question: is FLVStreaming.cs needed? I don't have these codes and web.config in my project but still can play my flv file using only the HTML code.
Thanks
Q~

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by vikas at 01/08/2008 11.21
Gravatar
hi,i m using flv player to play video file .its playing on only client not server.can i know the reason and solution.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by sanobhai at 19/08/2008 23.05
Gravatar
Thank you. Helped me a lot.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Rob at 22/08/2008 18.13
Gravatar
Hello,
I'm getting the same error as above (I've converted to .vb)
Error
Class 'FLVStreaming' must implement 'ReadOnly Property IsReusable() As Boolean' for interface 'System.Web.IHttpHandler'. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers.
D:\mypractice\video2flash\App_Code\FLVStreaming.vb

Any ideas what causes this?

Thanks
Rob

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kunal at 26/08/2008 15.54
Gravatar
i try to play your demo but it can't play the golfers.flv file ..
for that any specific setting ...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kunal at 26/08/2008 15.57
Gravatar
In my web application i want that user upload wmv,avi, etc files and on fly it convert it in flv nad save it in a folder.

I m unable to incoprate this code in my site. i also did not understand the use of
ffmpege.exe -i test.avi test.flv
flvtool2.exe -U test.flv
and from where i get it.

Pleae guide me

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by happy at 27/08/2008 8.17
Gravatar
your demo is not working ...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by nagarjuna at 27/08/2008 9.50
Gravatar
how to video upload and download

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Ricardo Boaro at 27/08/2008 20.20
Gravatar
Hello

My name is Ricardo Boaro, I work for WWW.MRBOOL.COM as a technical editor. I would like to invite you to join our team of video classes producers.

Currently we need speakers (producers) for Java, .Net, Asp.Net and Delphi videos, but we are accepting suggestions if you know any other language.

Let me explain how it works

• Each video class must have at least fifteen minutes .
• The program that we use to record the video classes is Camtasia Studio.
• The payment for each video class sent, approved and published is US$ 80,00 (eighty dollars)
• The payment is done until the fifteenth day of the next month after the publishing
• THE PAYMENT IS POSSIBLE PAY TO YOU FOR THIS FORM PAYPAL

We would be pleased if you join our team. If you have any question or doubt, just get in touch with me.

Regards,

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by eric at 31/08/2008 10.46
Gravatar
Can you pleasesend me the code in vb.net for ASP.net. I am getting full, it doens't compile becuase I always getting that context is not a member of FLVStreaming.
Please help

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Asim at 01/09/2008 5.43
Gravatar
Awesome! Thanks dude!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by wajid at 12/09/2008 12.52
Gravatar
Hi
Nice article dude, But its not working on firefox.
Any help regarding this will be greatly appreciated.
Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Khaja Habeebuddin at 22/09/2008 8.27
Gravatar
hi,i want to upload video files to uploaded what is the best way in ASP.net it has to save in database it should save/paly at client as well as server side .can i know the solution.plz it's urgent

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Valerio at 26/10/2008 10.35
Gravatar
Can you please send me the code in vb.net for ASP.net. I always getting that context is not a member of FLVStreaming.
Thank you

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by piya at 03/11/2008 14.16
Gravatar
great. thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by piya at 03/11/2008 14.24
Gravatar
do you know of any mpeg/avi to flash video converters for .net? how it works

thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Steinar at 04/11/2008 8.31
Gravatar
Hi, Trying to use this code with the JW Player (and stream H264). Have you tried your code with this player? The start-parameter coming in from the flash seems to be seconds, but the download starts at the wrong position. Any suggestions?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Peter Juliano at 05/11/2008 1.04
Gravatar
Can the same be achieved with .WMV files using Silverlight as the browser

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by pakiduke at 16/11/2008 1.56
Gravatar
Hi,
Just one question about this? Why do we need this HTTP handler when FLV files are automatically streamed (may be streamed is not the right word) but you get the drift. So, what exactly does this code accomplish? Cant we just write out HTML using HTML writer classes and call the player? As far as I know, the capability of streaming is built into the FLV format itself.

Please let me know. I am kind of confused on why exactly would we need to create a httphandler for this task?

#  flash video converters

Left by Mada at 09/12/2008 13.34
Gravatar
great. thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Rakesh Kumar at 16/12/2008 13.16
Gravatar
I have used the code specified in this article and it works gr8. only problem, I found is that when the file is completely played to end then that file gets downloaded to the temporary internet folder.

But I don't want it to be downloaded in temp folder rather it should always get that file from the server.

Actually I need the functionality of the player as in You tube.

plz assist or provide some links where this is explained.

Thanks in Advance.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Bona Nugroho at 07/01/2009 4.29
Gravatar
It is really cool article, bravoo

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by sanjay at 07/01/2009 12.08
Gravatar
How do i call the FLVStreaming.cs file or when it will call. How to jump to perticular position using seek bar. When i start the program i cannot go to any perticular postition it remain on the start position itself.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by acromm at 14/01/2009 18.29
Gravatar
its posible to use TransmitFile() method instead of OutputStream()??, i know the issue is sending the headers in every request, but if you implement this in a very requested site the memory consumed its going to be huge, because you buffer all of it. what do you think about this, there is another aproach to this problem?
By the way, great work ;)

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by acromm at 14/01/2009 18.33
Gravatar
pakiduke, using httphandlers you control the request, this code allow you to send to the client a part of the video, seeking it.... using the httphandler its also totally transparent to the client, the client request an NAME.flv, its more natural, you could call an aspx and it will workstoo, its just one way, a more transparent one...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Tuviah at 15/01/2009 5.16
Gravatar
This is awesome. thank you so much I have spent hours looking for an ASP.net solution. It's important that the user be able to seek into a large movie. But we have settled on MP4/H264 using the Mainconcept SDK. Is there a version available which supports MP4.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andy at 27/02/2009 17.02
Gravatar
acromm,

I got around the huge memory requirement of buffering the entire response by putting a Response.flush(); inside the loop. I also added a Thread.Sleep statement in there that sends the 16KiB buffer no more than 8 times a second, thus throttling the bandwidth used by flv streams.

Great code to build upon! Thanks!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by xylinzai at 03/03/2009 12.28
Gravatar
how I converted this to VB.Net ?
thank you!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Felipe Comparini at 11/03/2009 16.03
Gravatar
Andy,
Where did you put the Response.Flush() and the Thread.Sleep statements? I had this code working on my development server, but when I put it on the working servers, the code don't escalate well with all my users. My videos are over 150MB, and I have several requests per minute...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Chris Newman at 15/04/2009 23.42
Gravatar
Felipe,
Add context.Response.Flush(); right after the count = fs.Read(buffer, 0, buffersize); statemenet.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by JD9715 at 21/05/2009 7.05
Gravatar
Will I be able to use this program on my Mac??

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by ZAK at 25/06/2009 9.40
Gravatar
how to execute flvtool2 in c#
and ffmpeg in c#

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Joe Fronsee at 24/07/2009 23.45
Gravatar
Well your sample video on the page doesn't even play. And when I tried to recreate everything on my local server it does the same thing this page does "buffering video". If it doesn't even work in the example how are people getting this to work? I would very much like some help, if you still reply on this thread. jmfronsee AT netscape DOT net

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kumar Gaurav at 17/10/2009 10.32
Gravatar
What if IIS is not installed.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Ken Uston at 28/10/2009 15.56
Gravatar
The same thing of Joe Fronsee happens to me too.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by fmeani@ugiss.org at 01/11/2009 11.08
Gravatar
Hi Joe/Ken which kind of problems are you experiencing? Please feel free to contact me.

Best,

Francesco.

# source of scrubber.swf

Left by tomjoy at 28/12/2009 5.00
Gravatar
I want get source of scrubber.swf

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Poptropica Cheats at 02/01/2010 13.30
Gravatar
thanks for your sharingg!!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by WhiteSites at 14/02/2010 11.32
Gravatar
Awesome Tutorial. I am going to try to build a test site using this, before I integrate it with one my client's sites. If I can get it working I will post a tutorial for integrating this with IIS 7.5 on my blog.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by WhiteSites at 15/03/2010 3.14
Gravatar
I got it working perfectly. Thanks. I also modified the HTTP handler. I added detection of the video's bit rate and dynamic throttling to ensure it doesn't preload faster than the user needs ( helps to save on bandwidth.) Also I added a little exception that will ignore the throttling for the first 2 seconds of a new seek to ensure there is minimal delay when its seeking.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Ranjit kumar at 16/03/2010 9.11
Gravatar
please tell me how can i upload all kind of vedio format and convert ino .flv file through streaming

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Hugh at 01/04/2010 20.38
Gravatar
Hello,

I am trying to stream Flash Video from IIS 6.0 and came across your article. However, I was unable to get your approach to work. However, I developed an aspx page that writes the file to browser successfully and opens Adobe Media Player on my desktop. However, I cannot get it to work with an embedded palyer on a webpage. Help!!!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kerala Tour Packages at 03/04/2010 11.23
Gravatar
This is a great and very valuable information about FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler . Thank you very much for sharing this information with us.

Thanks.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Poptropica at 15/04/2010 9.13
Gravatar
thanks very much....

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Complete e-commerce solution wit at 20/04/2010 9.04
Gravatar
This is awesome. thank you so much I have spent hours looking for an ASP.net solution. It's important that the user be able to seek into a large movie. But we have settled on MP4/H264 using the Mainconcept SDK. Is there a version available which supports MP4.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by SEO Company Kerala at 24/04/2010 11.48
Gravatar
Thank you very much .. i am searching for this many days ago .. now i got it.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by germany exports at 24/04/2010 12.19
Gravatar
Can you please send me the code in vb.net for ASP.net. I always getting that context is not a member of FLVStreaming.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Prudential West at 29/04/2010 6.30
Gravatar
I got around the huge memory requirement of buffering the entire response by putting a Response.flush(); inside the loop. I also added a Thread.Sleep statement in there that sends the 16KiB buffer no more than 8 times a second, thus throttling the bandwidth used by flv streams.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Prudential West at 29/04/2010 14.29
Gravatar
Thank you for taking the time to discuss this, I feel strongly about this and I enjoy learning about this topic. If possible, as you gain facts, please update this blog with more information. I have found it enormously useful.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by germany directory at 04/05/2010 12.16
Gravatar
Good job! The topic you got to talk over is really awesome as never could be so overwhelming than that. ! You guys do a great website, and have some great contents. Keep up the good work.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kerala used car at 13/05/2010 10.04
Gravatar
Oh my god. Really thanks for the write up. I was struggling to do this for my assingnment at college. Really very much thanks for he submisssion

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Giocare ai migliori casinò onlin at 21/05/2010 6.46
Gravatar
This code allow you to send to the client a part of the video, seeking it.... using the httphandler its also totally transparent to the client, the client request an NAME.flv, its more natural, you could call an aspx and it will workstop...............

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by indonesia directory at 21/05/2010 8.04
Gravatar
This is a cool article on streaming flv files on the web. What i actually want to achieve is to control the bandwidth of the rate at which the flv file is streamed from the server to the client. Kindly help me on this..

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by convert miles to km at 21/05/2010 11.33
Gravatar

This is my first time i visit here. I found so many interesting stuff in your blog. I guess I am not the only one having all the enjoyment here! keep up the good work.

# Jokes in Hindi

Left by kaleelkr at 13/06/2010 21.30
Gravatar
nice .. thankyou

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by ICT Learning at 02/07/2010 23.01
Gravatar
Fantatic precise info and this is one of the most nice blogs Ive read in a very long time. The amount of great information in here is stunning, like you practically wrote the book on the subject. Your blog is fantatic for anyone.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kerala Tourism Package at 10/07/2010 2.39
Gravatar
This is a great article and I really like .

Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kerala Hindu at 20/07/2010 10.50
Gravatar
hey..this is realy nice .. Thank you

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by oroscopo2011 at 01/08/2010 7.37
Gravatar
thanks,I'm using it now.It works well.
Do you have other examples like flash?
This examples is too easy,the function is too little.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kerala Tourism Packages at 18/08/2010 11.50
Gravatar
This is really a great article and I really like .

Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by cdbookie at 26/08/2010 14.03
Gravatar
Thanks for the info. was very helpful.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by cdbet at 26/08/2010 14.05
Gravatar
Tried it several differnet ways, finally got it and now it works! Thanks much

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by abhi at 28/08/2010 13.31
Gravatar
thanks for the information it was really helpful.
http://manashosting.com

# fangtie

Left by qq at 31/08/2010 17.04
Gravatar
led light led lights led lighting led bulb led bulbs led light bulbs led bulb light

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by qwrwert at 01/09/2010 19.44
Gravatar
Fantastics Nice site Blog

# manashosting

Left by raj at 02/09/2010 9.05
Gravatar
Speed

Maximum hosting companies configure MS Sql, My Sql, E-Mail, DNS, FTP and rest in ONE Dedicated Server to reduce the Server Manufacturing cost. So the same Processor and Ram of that dedicated server will be utilized for the entire Operations on server. In this way, almost maximum resource of the CPU will be required for above tasks management and only least will be left for your Hosted Website. Therefore the Performance and the Speed of the website will be drastically decreased.

However as per the server architecture of Manashosting, we maintain each and every application and software in different dedicated servers to get HIGH Uptime and BEST Speed for shared hosting websites.

Back Up

Most of the hosting companies maintain same dedicated server for Back Up Process also. So if in case server crashes, then there is no chance of data back up from the crashed server. But in our case, we maintain back up separately in different dedicated servers. So That if any one of the mail, web, database server got crash then we can able to install new server and take all data from back up server. In case of any hardware failure also, no need to depend on crashed server to recover data. So there will be no chance of data loss in case of server crash.

Uptime

The hosting companies install the whole software’s in ONE dedicated server. So if same server is down then E-Mail, Database and FTP and DNS of the website will be down as well. However as we maintain everything in different dedicated servers, then in case mail is down then it will not affect to your FTP, DNS, Website and Database. By the time you check, the problem will be sorted out. So it means all operations will not be down at a time. If one particular server is down then your website and rest applications will run without any interruption like Mail, Database, Domain, DNS.
Why to choose Manashosting ?

» Superior uptime and performance.
» Availability of MS SQL 2005.
» Free Domain registration with web space package.
» Domain registration Website Ownership Certificate.
» Unlimited space at lower costs.
» Unlimited bandwidth.
» High Speed and Best server Uptime.
» More e-mail ID space.
» Pop3 and Web mail support.
» Free 5000 Templates.
» Free 200 SEO Tools.
» Free 100 Software.
» Free 500 Sources code.
» All database (MS Sql/My Sql/MS Access) free of cost.
» Intercom facility to communicate with any department.
» Linux / Windows 2003 server support.
» New Windows 2008 Server
» New Update Delude Anti spam
» New version of Norton Anti Virus
» Free Website builder.
» Emergency issue escalator technology.
» Photoshop, MS SQL Server, MySQL, MS Access, , PHP, E-Commerce support.
» ASP, .NET Framework, Macromedia Flash, Macromedia Dream weaver, FrontPage.
» Advanced control panel (Helm, cPanel, Plesk, Panel Force, H-sphere).
» Online Billing System, So with in few minutes order activation is possible.
» 7 days free trial before payment.
» Latest Anti Spam and Anti Virus protection.
» 24 hours a day technical support (24*7).
» Transfer Domain to us without downtime.
» FREE Domain Transfer.
» FREE Website Ownership Certificate.
» 50% Discount Offer.
» One Year Web space FREE.
» Multi Platform (Windows/Linux) reseller Package.
» Upgrading from lower package to higher package.
» Add on facility for all packages.
» Affiliate Programmer facility to earn money.
» 3 year web space FREE with Domain transfer.
» Online and Offline order activation.
» Full Control panel facility.
» Advance server for Java/tomcat.
» You can assign Account Exec. for your package.
» New payment option also available like : Pay by Pay Mate (Mobile payment), Pay by ITZ CASH CARDS.


http://www.manashostig.com

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by miniclip games at 10/09/2010 15.21
Gravatar
Interesting article! I read about this before. Thanks to author.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by free at 24/09/2010 13.48
Gravatar
Here very good tutor i hope can visit ths blog again visit my blog too by http://www.batik1.com/

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Tris at 29/09/2010 3.42
Gravatar
Hey Bhavesh I couldn't make it neither and I wanted to share my videos so I kept looking for another solutions and I found, http://www.dacast.com. It is perfect for me. When your upload is done you just have to give the link of your channel to your friends

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by hair rollers at 11/10/2010 3.10
Gravatar
Thank you for this nice episode, and for the forthcoming ones.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by help at 11/10/2010 13.35
Gravatar
i have created object of flv player as bellow

<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/.../swflash.cab
WIDTH="400" HEIGHT="300" autostart="false" VIEWASTEXT>
<PARAM NAME=movie VALUE="../Video Files/FLVPlayer.swf?video=../Video Files/onedemo.flv&firstFrame=../Video Files/onedemo.jpg&autoplay=false">
<PARAM NAME=allowFullScreen VALUE="true">
<PARAM NAME=quality VALUE=high>
<EMBED src="../Video Files/FLVPlayer.swf?video=../Video Files/onedemo.flv&firstFrame=../Video Files/onedemo.jpg&autoplay=true"
quality=high wmode="transparent" WIDTH="200" HEIGHT="100"
autostart="false" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="www.macromedia.com/.../index.cgi
</EMBED>
</OBJECT>

but not able to display the poster image.
can any one help?
thanks in advance

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Miniclip Games at 01/11/2010 9.55
Gravatar
This is good article. 1st time knowing this kind of stuff. Thanks for posting!

# Fraxel

Left by Fraxel at 10/11/2010 11.21
Gravatar
Really nice piece of work...must appreciate..i have seen many sites and blogs but never this tyoe of work before thanks for sharin

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by samer alkhateeb at 19/11/2010 1.12
Gravatar
hi to all, i am looking for some one to make a live Audio, video streaming for me, not just recording and uploading video or audio, i need to make like a live radio or video but over online,
could you ?
i am ready to pay for this project, thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by reno massage at 22/11/2010 12.17
Gravatar
Thanks for such nice block of program code & i want to know that will it work in ASP.Net 3 or not?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by pool enclosure installation at 26/11/2010 9.50
Gravatar
Do i need to upgrade my PC or to rum new version of .Net Framework.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by munnar honeymoon packages at 01/12/2010 19.36
Gravatar
really intresting..thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kerala tour operators at 01/12/2010 19.39
Gravatar
super many thanks......

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kerala houseboat packages at 01/12/2010 19.41
Gravatar
I want to say very thank you for this great informations. now i understand about it. Thank you very much

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by munnar tour packages at 01/12/2010 19.43
Gravatar
i want to know Do i need to upgrade my PC or to rum new version of .Net Framework.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by qwap at 09/12/2010 3.45
Gravatar
like this game called qwap or qwob . this qwob game is simple but difilcult enjaoy qwob flash game

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Slots at 19/12/2010 3.26
Gravatar
It is very affective to use,great software.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by realanswers at 19/12/2010 11.20
Gravatar

I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing ability has inspired me. Really the article is spreading its wings rapidly...

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by selfprep at 19/12/2010 11.33
Gravatar

Thanks for the list of apps. I will have to try and see if any of these will help me with the design and layout that I am wanting to do for a new website. I am excited to get in and start playing around with these different apps!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by video production Philadelphia at 21/12/2010 14.23
Gravatar
There are lot of videos and movies that are only available in streaming mode. With your solution, now I can download them to my hard drive. The player you suggested is also great because it opens the .flv files. Now I can download a whole series of shows and watch them whenever I want.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by testking at 22/12/2010 7.45
Gravatar
This is a good resource. Results seem to vary from other websites I've used. This seems to be pretty accurate.
70-299 | 70-350

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by test king at 22/12/2010 7.49
Gravatar
The information is no doubt very useful and and rarely available collection like 70-351 , 70-400
. I was wondering for this collection, but now i got it. Thanks and congrats for such a wonderful article.
70-401 - 70-403

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Roulette Gazette at 23/12/2010 9.57
Gravatar
Interesting post and thanks for sharing.Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.I will be referring all my friends about this article.Keep blogging.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kerala holiday packages at 23/12/2010 10.22
Gravatar
yes very useful information..thank you sooo much for such a grate information. its very helpful for me

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Unterwäsche at 23/12/2010 10.49
Gravatar
Tolle Sache und immer schöne Unterwäsche holen und vielleicht noch ein paar Dessous.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kerala tour packages at 29/12/2010 12.06
Gravatar

Genser Holidays (P) Ltd is based at Trivandrum, Kerala, India, and is supported by a wide network of associate offices throughout the world. Led by a team of experienced, trained and dedicated professionals, we are into the leisure segment with an unconditional pursuit of endowing superior services to our esteemed clientele.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Architects in South India at 29/12/2010 12.12
Gravatar
'srishti' is an Architectural and Interior Design Consultancy Firm located at Trivandrum in Kerala State. The Firm was founded back in 1978 with the aim of bringing the latest trends in technology in the fields of Architecture, Interior Design, Project Planning and Construction Management to South India.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by foley catheter at 30/12/2010 0.00
Gravatar
I really like this post. Its interesting and I will share it in my circle.<br>foley catheters

# Welcome to my site : Realitystorm.com

Left by Pingback/TrackBack at 01/01/2011 23.40
Gravatar
Welcome to my site : Realitystorm.com

# Kerala Honeymoon Tours

Left by Kerala Honeymoon Tours at 04/01/2011 10.32
Gravatar
its realy nice article...thank you soo much

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by cramguide at 08/01/2011 10.30
Gravatar

This is nice blog.I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often.Thanks for nice info. It’s useful for me. Can you give me some more information with details? I will wait for your next post.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by used forklifts Alexandria Virgin at 11/01/2011 10.43
Gravatar
I like the way of narration....... thanks a lot for the share.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by jiniwah at 15/01/2011 16.02
Gravatar
this is a very useful blog for the upcoming businesses .Bespoke software development the points that are listed are grea .Fabric duct For any business goal setting and developing a plan are very essential and are the basis for the success.i will be applying these tips in my business . thank you.SEO Company

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gala at 17/01/2011 7.34
Gravatar
Thanks for this nice tutorial, I really need this for my next site. thanks again your a blessing in disguise!

# Kerala Holiday Packages

Left by Kerala Holiday Packages at 18/01/2011 10.43
Gravatar
its very nice post... really like it...thanks for sharing

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by domestic cleaning south west lon at 18/01/2011 14.41
Gravatar
It was nice to read through your post.I am actually searching for interesting videos and I came through this site. First I enjoyed the few minutes and II spent time seeing the interesting videos and please add some more.I wanted to see some more. I am writing this comment saying that....Cheers

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by brian keith photographer at 24/01/2011 2.42
Gravatar
We will surely keep updating and following your thread for more information. It was a nice idea.  Keep it  up.

# blind spot mirror

Left by atis at 29/01/2011 17.56
Gravatar

Blind Spot Mirror system for the 21st Century. Maxi View attaches quickly and easily to any vehicle's side mirrors. The unique ball swivel allows it to be adjusted to suit any driver's viewing position and maximizes the view from both side mirrors. Only Maxi View will never block your vision. Maxi View was specifically designed to be placed in the upper inside corner of both side mirrors. That is where all mirrors must show some sky. The only part of the mirror on every vehicle that driver's don't use.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by seo company kerala at 10/02/2011 11.11
Gravatar
nice post ..thank u

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by sergio at 24/02/2011 16.46
Gravatar
thanks!!!

# radiossl.com &amp;raquo; Blog Archive &amp;raquo; Asp.net FMS develops video websites

Left by Pingback/TrackBack at 25/02/2011 22.39
Gravatar
radiossl.com &amp;raquo; Blog Archive &amp;raquo; Asp.net FMS develops video websites

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by x ray tech at 07/03/2011 15.47
Gravatar
I must admit great code.
thanks.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gas certificate at 11/03/2011 5.11
Gravatar
how about flash for total video players? or how about for windows media player?

gas certificate
gas engineer birmingham
boiler installation birmingham

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by periodic inspection report at 11/03/2011 5.44
Gravatar
All you need is to install on your IIS 5.0/6.0 the following HTTP handler and to get this to work correctly periodic inspection report, gas safety certificate birmingham, corgi plumber birmingham

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by iamram at 17/03/2011 11.42
Gravatar
Great post. mot For sure, I will read more of your posts.
mot check Thank you so much!
damp proofing

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by iamram at 17/03/2011 11.44
Gravatar
Nice one!boiler engineer birmingham This is exactly the one I am looking for.
mot birmingham I want to see more!
mot dudley

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by iamram at 17/03/2011 11.47
Gravatar

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by iamram at 17/03/2011 11.48
Gravatar
Great!mot test centre garage station oldbury Thanks for posting!
mot test centre garage station wednesbury I will post some informative blogs like this in the future!
mot test centre garage station smethwick

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by iamram at 17/03/2011 11.50
Gravatar
Wow..plumber birmingham I really loved this post.
mot test My search is over because of this one. Thanks a lot.
mot cost

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Yvette Paige at 18/03/2011 22.53
Gravatar
Nice shout out to Fabian. Great software. Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by andreis at 21/03/2011 0.01
Gravatar
Very nice article! Just want to say thank you for the information you have shared.
Looking forward for your next one.
cv template
cv template free
curriculum vitae template

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by andrei ag at 21/03/2011 0.03
Gravatar
curriculum vitae examples

Very nice article, hope to hear more about this subject.

cv examples
how to write a cv

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by sophie at 21/03/2011 10.57
Gravatar
a very good post as a guide especially to people like me, searching for posts of the same kind. a big help, thanks.

skip hire
skip hire prices
skip hire london

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by jiu jitsu kimonos at 29/03/2011 13.34
Gravatar
Pretty section! It feels great reading such post like this, very informative and interesting. I've learned. Here's another source that worth a look about this also. Thanks for sharing this info!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andrea Logan at 29/03/2011 23.25
Gravatar
Thanks for the simple step by step instructions.
Helped a lot for a newb like me.

# SEO Company in Canada

Left by livetalk at 04/04/2011 7.50
Gravatar
hello every body good to be here. this is very nice post. i read your other post and that was also good.LBL Company in Canada | Online tv Chennels

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by furniture at 06/04/2011 9.29
Gravatar
this is really nice post. i like it.
sunglasses | perfumes | digital cameras | sunglasses

# Miniclip Game

Left by Abdiel Hebrew at 09/04/2011 6.34
Gravatar
That's exciting news! What a nice way for learning :-)

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Kerala Tourism at 23/04/2011 12.44
Gravatar
Its a valuable indication. Thank you.

# Vibram Five Fingers

Left by yyqq at 02/05/2011 11.10
Gravatar
Where there is a will there is a way.Vibram Five Fingers review

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Arty at 07/05/2011 12.40
Gravatar
Great Article!
Here's example with throttling blog.whitesites.com/...634082583316911250_blog.htm

# Miniclip

Left by Miniclip at 10/05/2011 23.20
Gravatar
wow.. great post .. i love it!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Plant hire at 22/05/2011 12.20
Gravatar
I'm having difficulty installing IIS 5.0/6.0 is there any help pages relevant thanks in advance

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Antivirus at 24/05/2011 11.11
Gravatar
I was actually having some problems with flash applications and the http handler. Your tutorial here has helped me a lot and I solved my problem. Now it all works smooth and fast.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Josue at 30/05/2011 22.21
Gravatar
EXCELENT!!! IT HELPED ME VERY MUCH, GREAT!!!
THANKS !!!!!!!!!!!!!!!!!!!!!!!!

# Kerala Tourism

Left by Kerala at 31/05/2011 6.38
Gravatar
thanks for the information it was really helpful.
http://www.indigenoustour.com/

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by hydroponics at 01/06/2011 15.39
Gravatar
Thanks for the info had been having terrible problems finding hydroponics shops in leeds.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Tim at 02/06/2011 8.54
Gravatar
I was actually having some problems with flash applications and the http handler. convert mkv to avi

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Real spy gear at 12/06/2011 17.19
Gravatar
I was actually having some problems with flash applications and the http handler. Your tutorial here has helped me a lot and I solved my problem. Now it all works smooth and fast.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by gerd hanly at 14/06/2011 16.27
Gravatar
I like your post! As it is instructive, it helps a lot. Keep posts like this coming. Your way here is amazing.
Sonicare FlexCare Plus

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Blinds at 18/06/2011 17.46
Gravatar
How can loop playback the flv video?

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Rimce44 at 20/06/2011 7.16
Gravatar
Interesting info. Just find this site..can't believe all in one,thats what I was looking for. Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Cheshire at 22/06/2011 13.34
Gravatar
A good resource of information you provide here. FLV flash video streaming is a nice subject to write about. Thanks for sharing this great tip! :-)

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by painter and decorator london at 24/06/2011 23.33
Gravatar
Good info. Thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by online marketing at 06/07/2011 11.54
Gravatar
It is because of helpful individuals like you that we are able to get the work accomplished quickly. Thanks a lot mate.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by How much do psychologists make at 07/07/2011 4.13
Gravatar
Great code share thanks, I'm gonna tweet this
medical assistant jobs in Michigan

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Wedge Pump at 07/07/2011 4.24
Gravatar
Thanks for the code snippets!
Strap Pumps

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by James at 09/07/2011 15.15
Gravatar
Very good stuff! Thanks!

Pharamcy

# nice sharing

Left by مترجم جیبی at 09/07/2011 18.57
Gravatar
thanks nice sharing and great and i have to say thanks

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andy at 11/07/2011 7.09
Gravatar
This is an excellent article. Straight from an experts mind. This is worthy of being preserved for future reference and future studies. I appreciate that you share your expertise.
Rank and Pillage

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Car LED Bulbs at 20/07/2011 14.01
Gravatar
This is awesome information.........thanks for sharing!!!!!!its really helpful for me.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by energy healing at 21/07/2011 15.21
Gravatar
Your blog article is very interesting and fantastic, at the same time the blog theme is unique and perfect, great job. To your success. One of the more impressive blogs I’ve seen. Thanks so much for keeping the internet classy for a change.energy healing

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by reiki at 21/07/2011 16.57
Gravatar
Excellent site, keep up the good work my colleagues would love this. I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say I’m glad I found your blog. Thanks.reiki

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Massagistas at 21/07/2011 19.27
Gravatar
i having some problems with flash applications and the http handler. Your tutorial here has helped me a lot and I solved my problem. Now it all works smooth and fast.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by jump starters at 22/07/2011 15.16
Gravatar
Finally, an issue that I am passionate about. I have looked for information of this calibre for the last several hours. Your site is greatly appreciated.jump starters

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by مترجم جیبی at 25/07/2011 19.16
Gravatar
I have to say this really remarkable work.I have read your article and I am impressed.Thanks for nice sharing.


thanks its great nice and i have added in my favorites list

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by kevin at 29/07/2011 16.18
Gravatar
Its a very useful article to me.
I also make a freeware about streaming video.
Thank you.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Mike J at 30/07/2011 9.45
Gravatar
This really answered the problem, thank you!

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Andrea at 30/07/2011 14.37
Gravatar
Is it compatible to any windows?

#  bahia imoveis

Left by bahia imoveis at 30/07/2011 23.07
Gravatar
I enjoyed reading your nice blog. I see you offer priceless info. Congratulations, and keep posting to us. Do have some sort of email system where your blog posts emailed to me?

# FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by alin at 02/08/2011 23.38
Gravatar
Hello everyone,
PLEASE i need help!!!
I'm trying to display video content from youtube in a aspx webpage. So far so good...i easily put an embed video in its div and works pertfect. Here it comes the ugly part! I have different videos that i want to display by paginate somehow with two links (previous and next) with those properties this.Response.Redirect"videos.aspx?q=video1" and second this.Response.Redirect("videos.aspx?q=video2"
for example...
I need to declare i imagine in the code behind who is the default video and "paginate" them somehow the others 3 or 4 or whatever with the links or butons in the same div content...

Please help and thank you in advance,
Any help would be greatly appreciated!

alin

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by bijuterii argint at 05/08/2011 12.46
Gravatar
Hi
Please help!
How can I stream a flv files from a time?
slabire

# disegni tatuaggi

Left by disegni tatuaggi at 08/08/2011 17.36
Gravatar
This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by san antonio dentists at 10/08/2011 10.08
Gravatar
FLV Flash video is so much popular to the camera man or user.Commenting on this site is a pleasure for me. I had really liked reading this site it was very good. The content of this blog was very nice.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by northwestlondonpainters at 15/08/2011 22.45
Gravatar
Thanks for very informative content, would recommend.

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by Jure at 18/08/2011 11.08
Gravatar
Hey!

Hey I can't find the "Home directory" tab so I can't get to "Configuration" button.

I am using IIS 6.1 on Windows Server 2008 R2, application is running on ASP.NET 4.0.

I included a picture to make things clearer.

img814.imageshack.us/img814/3908/properties.png

# re: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler

Left by ValeriyZ at 22/08/2011 16.38
Gravatar
I've installed IIS 7.5 Windows Server 2008 R2
Microsoft .NET Framework 2.0.50727.4927

1. To web.config I've added the following text:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="FLVStreaming" path="*.flv" verb="*" type="FLVStreaming" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>

2. I've added file FLVStreaming.cs into folder App_Code.

Nevertheless on requesthttp://localhost/test.flv?start=123 IIS it gives an error:
System.Web.HttpException: Could not load type 'FLVStreaming'.

[HttpException (0x80004005): Could not load type 'FLVStreaming'.]
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +446
System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) +21
System.Web.Configuration.HandlerFactoryCache..ctor(String type) +20
System.Web.HttpApplication.GetFactory(String type) +79
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +234
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +157

For IIS 6 everything is explained in details, thanks to the author, but could you explain in details for IIS 7.5 please.

Your comment:



 (will not be displayed)


 
 
 
Please add 4 and 6 and type the answer here:
 

Live Comment Preview:

 
«settembre»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011