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);
                        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 jack at 17/04/2007 11.44
Gravatar
Try this video to flv sdk at http://www.flash-video-mx.com/flv_encoder_sdk/

# 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 JJ at 24/05/2007 23.19
Gravatar
I can't get this to work. Is anyone willing to help. I followed the tutorial word for word but it wont play the golfers.flv file. It just says "buffering" and does nothing! I've tryed loading it through IIS and through VWD no solution.

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

Left by jj at 25/05/2007 10.54
Gravatar
I got it working....awesome! Thanks for sharing!

# 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!!!!

# shupitoriko 83 post

Left by shupitoriko blog at 11/02/2008 2.34
Gravatar
all about shupitoriko and top news

# MicroMediaCenter

Left by Confluence: [PRV] Private at 11/02/2008 6.33
Gravatar
MicroMediaCenter Server Cassini Web Server

# 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?

# hot new ringtones

Left by download hindi ringtones at 28/02/2008 17.29
Gravatar
For example &lt;a href=http://pegasus2.isi.edu/aaai07-studentinfo/blog/wp-includes/7/nokia-composer-ringtones.html&gt;nokia composer ringtones&lt;/a&gt; &lt;a href=http://pegasus2.isi.edu/aaai07-studentinfo/blog/wp-includes/7/creator-free-ringtones-software.html&gt;creator free ringtones software&lt;/a&gt;

# Orientali babes

Left by Orientali babes at 28/02/2008 21.06
Gravatar
babes, Orientali babes and Orientali

# Big bareback dicks

Left by Big bareback dicks at 28/02/2008 23.12
Gravatar
dicks, Big bareback dicks and Big

# 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

# Becky was bit lesbo trick

Left by Becky was bit lesbo trick at 04/03/2008 15.24
Gravatar
trick, Becky was bit lesbo trick and Becky

# Kinky santa claus whipping reindeer

Left by Kinky santa claus whipping reindeer at 04/03/2008 15.28
Gravatar
reindeer, Kinky santa claus whipping reindeer and Kinky

# Myfavorites favorites tagged with gay culture

Gravatar
culture, Myfavorites favorites tagged with gay culture and Myfavorites

# Drunkin girls

Left by Drunkin girls at 05/03/2008 7.53
Gravatar
girls, Drunkin girls and Drunkin

# Calvin klien underwear pictures

Left by Calvin klien underwear pictures at 05/03/2008 15.48
Gravatar
pictures, Calvin klien underwear pictures and Calvin

# Beginner christmas stockings how to knit

Left by Beginner christmas stockings how to knit at 05/03/2008 15.50
Gravatar
knit, Beginner christmas stockings how to knit and Beginner

# Poster sexy mf troy beyer

Left by Poster sexy mf troy beyer at 06/03/2008 3.48
Gravatar
beyer, Poster sexy mf troy beyer and Poster

# China sprite porn

Left by China sprite porn at 06/03/2008 4.08
Gravatar
porn, China sprite porn and China

# Divya dutta sexy

Left by Divya dutta sexy at 06/03/2008 17.24
Gravatar
sexy, Divya dutta sexy and Divya

# How does a geisha work

Left by How does a geisha work at 07/03/2008 9.46
Gravatar
work, How does a geisha work and How

# online payday loan application

Gravatar
Similarly &lt;a href=http://windrawwin.com/forum/topic.asp?TOPIC_ID=10215&gt;download free suncom ringtones&lt;/a&gt; &lt;a href=http://www.linguafran.com/forum/topic.asp?TOPIC_ID=298&gt;make your own free ringtones&lt;/a&gt;

# cash loan payday till

Left by free nokia polyphonic ringtones at 07/03/2008 15.36
Gravatar
However &lt;a href=http://windrawwin.com/forum/topic.asp?TOPIC_ID=10191&gt;mobile phone ringtones t&lt;/a&gt; &lt;a href=http://windrawwin.com/forum/topic.asp?TOPIC_ID=10170&gt;mp3 ringtones creator&lt;/a&gt;

# fax loan no payday required

Left by ismarket.com ringtones samsung site at 07/03/2008 15.44
Gravatar
These &lt;a href=http://www.baseballfantasyinfo.com/forum/topic.asp?TOPIC_ID=434&gt;download free christian ringtones&lt;/a&gt; &lt;a href=http://www.baseballfantasyinfo.com/forum/topic.asp?TOPIC_ID=453&gt;christian free info remember ringtones&lt;/a&gt;

# motorola razr v3 ringtones

Left by info phone prepaid remember ringtones at 07/03/2008 15.50
Gravatar
Pay &lt;a href=http://www.evionnaz-developpement.ch/forum/topic.asp?TOPIC_ID=102&gt;cingular free ringtones usa&lt;/a&gt; &lt;a href=http://www.uibbz.net/cgi-bin/forum/topic.asp?TOPIC_ID=29&amp;FORUM_ID=6&amp;CAT_ID=3&amp;Topic_Title=Music+Ringtones+Unlimited&amp;Forum_Title=+&gt;unlimited music ringtones&lt;/a&gt;

# free nokia ringtones tracfone

Left by free sony ericsson ringtones at 07/03/2008 15.55
Gravatar
Most &lt;a href=http://www.brdotit.com/forum/topic.asp?TOPIC_ID=64&gt;hot new ringtones&lt;/a&gt; &lt;a href=http://www.brdotit.com/forum/topic.asp?TOPIC_ID=55&gt;cell free lg phone ringtones&lt;/a&gt;

# payday loan uk payday loan in the uk loan payday uk

Left by free cingular wireless ringtones at 07/03/2008 16.17
Gravatar
Am &lt;a href=http://www.greatestjournal.com/users/bella5443/15322.html&gt;payday loan in the uk&lt;/a&gt; &lt;a href=http://www.liefdestest.nl/prikbord/topic.asp?TOPIC_ID=182&gt;mp3 cell phone ringtones&lt;/a&gt;

# international online casino

Left by first american cash advance at 07/03/2008 16.35
Gravatar
Always &lt;a href=http://www.mccaslandformayor.org/Forum/topic.asp?TOPIC_ID=823&gt;advance america bank cash&lt;/a&gt; &lt;a href=http://www.funcionando.org/foros/topic.asp?TOPIC_ID=151&gt;cheap loan payday till&lt;/a&gt;

# first american cash advance

Left by advance cash loan online at 07/03/2008 17.55
Gravatar
It must be noted &lt;a href=http://www.cesaraugusta.com/aliciaprotocolo/forum/topic.asp?TOPIC_ID=180&gt;advance cash chicago settlement&lt;/a&gt; &lt;a href=http://www.vanduurenmedia.nl/forum/topic.asp?TOPIC_ID=768&gt;cash loan payday till&lt;/a&gt;

# download info nextel remember ringtones download nextel ringtones download nextel i730 ringtones software

Gravatar
An example &lt;a href=http://www.uibbz.net/cgi-bin/forum/topic.asp?TOPIC_ID=36&amp;FORUM_ID=4&amp;CAT_ID=3&amp;Topic_Title=Make+Ringtones+Free&amp;Forum_Title=+&gt;make ringtones free&lt;/a&gt; &lt;a href=http://www.evionnaz-developpement.ch/forum/topic.asp?TOPIC_ID=113&gt;music nextel ringtones&lt;/a&gt;

# advance cash day loan pay

Gravatar
Rare &lt;a href=http://www.capoterra.net/forum/topic.asp?TOPIC_ID=159&gt;advance cash day pay&lt;/a&gt; &lt;a href=http://www.fitfestival.net/forum/topic.asp?TOPIC_ID=268&gt;advance cash day loan pay&lt;/a&gt;

# payday loan cash advance loan

Gravatar
This &lt;a href=http://www.asdei.sm/forum/topic.asp?TOPIC_ID=204&gt;advance advance america cash&lt;/a&gt; &lt;a href=http://www.stormvisionproductions.com/forum/topic.asp?TOPIC_ID=156&gt;approval instant loan payday&lt;/a&gt;

# no faxing needed payday loan

Left by instant faxless payday loan at 07/03/2008 18.47
Gravatar
Please &lt;a href=http://mobilemarines.com/master_forum/topic.asp?TOPIC_ID=894&gt;pay day cash advance payday loan&lt;/a&gt; &lt;a href=http://mobilemarines.com/master_forum/topic.asp?TOPIC_ID=808&gt;advance cash day loan pay&lt;/a&gt;

# international online casino

Left by faxless instant loan payday at 07/03/2008 20.34
Gravatar
Consolidate &lt;a href=http://www.angrycock.com/bboard/topic.asp?TOPIC_ID=183&gt;payday loan on line&lt;/a&gt; &lt;a href=http://www.myinnergame.com/forum/topic.asp?TOPIC_ID=32&gt;international online casino&lt;/a&gt;

# Sneezy smurf cartoon

Left by Sneezy smurf cartoon at 08/03/2008 11.12
Gravatar
cartoon, Sneezy smurf cartoon and Sneezy

# Sm sex instruction

Left by Sm sex instruction at 08/03/2008 16.12
Gravatar
instruction, Sm sex instruction and Sm

# online casino betting

Gravatar
But &lt;a href=http://scrubbirds.tripod.com/free-casino-download-3.html&gt;free casino download&lt;/a&gt; &lt;a href=http://scrubbirds.tripod.com/winning-video-poker-3.html&gt;winning video poker&lt;/a&gt;

# play roulette online free

Gravatar
One of &lt;a href=http://scrubbirds.tripod.com/free-video-poker-download-5.html&gt;free video poker download&lt;/a&gt; &lt;a href=http://scrubbirds.tripod.com/free-online-casino-slots-5.html&gt;free online casino slots&lt;/a&gt;

# poker �bers internet poker spielen im internet internet poker

Left by texas holdem regelwerk at 08/03/2008 18.50
Gravatar
Eventually &lt;a href=http://scrubbirds.tripod.com/free-casino-download-5.html&gt;free casino download&lt;/a&gt; &lt;a href=http://mitglied.lycos.de/poker435/gewinn-spielen.html&gt;gewinn spielen&lt;/a&gt;

# slots for fun

Left by find online casino at 08/03/2008 18.57
Gravatar
Her &lt;a href=http://scrubbirds.tripod.com/black-jack-online-3.html&gt;black jack online&lt;/a&gt; &lt;a href=http://scrubbirds.tripod.com/play-free-black-jack-3.html&gt;play free black jack&lt;/a&gt;

# free triple play video poker

Gravatar
Who &lt;a href=http://scrubbirds.tripod.com/free-triple-play-video-poker-4.html&gt;free triple play video poker&lt;/a&gt; &lt;a href=http://scrubbirds.tripod.com/free-blackjack-game-4.html&gt;free online blackjack game&lt;/a&gt;

# omaha poker strategy

Left by poker download at 08/03/2008 19.29
Gravatar
AmEnde &lt;a href=http://mitglied.lycos.de/poker435/poker-gratis-runterladen-2.html&gt;poker gratis runterladen&lt;/a&gt; &lt;a href=http://mitglied.lycos.de/poker435/texas-hold-poker-spiel-2.html&gt;texas hold poker spiel&lt;/a&gt;

# free alltel music ringtones

Gravatar
Bienvenido &lt;a href=http://daquan14.tripod.com/free-motorola-v3-ringtones.html&gt;free motorola v3 ringtones&lt;/a&gt; &lt;a href=http://usuarios.lycos.es/poker418/juegos-de-poker-en-espanol-5.html&gt;juegos de poker en espa�ol&lt;/a&gt;

# jugar poker en linea

Left by poquer texas at 08/03/2008 20.11
Gravatar
Enviar &lt;a href=http://usuarios.lycos.es/poker418/juegos-pc-poker-5.html&gt;juegos pc poker&lt;/a&gt; &lt;a href=http://usuarios.lycos.es/poker418/play-7-card-stud-5.html&gt;play 7 card stud&lt;/a&gt;

# download free ringtones sprint

Left by free ringtones maker at 08/03/2008 20.16
Gravatar
Finally &lt;a href=http://daquan14.tripod.com/boost-download-free-mobile-ringtones.html&gt;boost download free mobile ringtones&lt;/a&gt; &lt;a href=http://daquan14.tripod.com/free-sprint-pcs-ringtones.html&gt;free sprint pcs ringtones&lt;/a&gt;

# giochi carte

Left by video poker gratis at 08/03/2008 20.31
Gravatar
Soprattuto &lt;a href=http://utenti.lycos.it/poker2431/download-live-poker-5.html&gt;download live poker&lt;/a&gt; &lt;a href=http://utenti.lycos.it/poker2431/gioco-poker-on-line-5.html&gt;gioco poker on line&lt;/a&gt;

# download giochi di poker

Left by gioco carte poker at 08/03/2008 20.42
Gravatar
All''inizio &lt;a href=http://utenti.lycos.it/poker2431/strip-poker-flash-2.html&gt;strip poker flash&lt;/a&gt; &lt;a href=http://utenti.lycos.it/poker2431/giochi-giochi-online-2.html&gt;giochi giochi online&lt;/a&gt;

# credit card fraud protection

Left by application card credit mart wal at 08/03/2008 21.16
Gravatar
In general &lt;a href=http://creditcards73.tripod.com/consolidate-credit-card-debt-4.html&gt;consolidate credit card debt into loan&lt;/a&gt; &lt;a href=http://creditcards73.tripod.com/bank-card-credit-one-online-4.html&gt;bank card credit one online&lt;/a&gt;

# poker gratis da giocare

Left by siti poker online at 08/03/2008 21.33
Gravatar
Quel &lt;a href=http://utenti.lycos.it/poker2431/poker-5-draw-3.html&gt;poker 5 draw&lt;/a&gt; &lt;a href=http://utenti.lycos.it/poker2431/live-action-poker-4.html&gt;live action poker&lt;/a&gt;

# sale da poker online

Left by texas holdem roma at 08/03/2008 21.43
Gravatar
Caso &lt;a href=http://utenti.lycos.it/poker2431/gioco-poker-in-italiano-2.html&gt;gioco poker in italiano&lt;/a&gt; &lt;a href=http://utenti.lycos.it/poker2431/giochi-poker-per-pc.html&gt;giochi poker per pc&lt;/a&gt;

# no fax cash advance for bad credit bad credit cash advance cash advance for people with bad credit

Left by inheritance cash advance at 08/03/2008 22.07
Gravatar
This &lt;a href=http://paydayloan5.tripod.com/business-cash-advance-2.html&gt;business cash advance loan&lt;/a&gt; &lt;a href=http://paydayloan5.tripod.com/advance-cash-loan-payday.html&gt;advance cash loan payday&lt;/a&gt;

# poker odds

Left by video poker betting at 08/03/2008 22.18
Gravatar
Him &lt;a href=http://poker418.tripod.com/7-card-stud-tips-5.html&gt;7 card stud tips&lt;/a&gt; &lt;a href=http://poker418.tripod.com/7-card-stud-poker-rules-5.html&gt;7 card stud poker rules&lt;/a&gt;

# Lemon yaoi pic

Left by Lemon yaoi pic at 09/03/2008 6.14
Gravatar
pic, Lemon yaoi pic and Lemon

# casino poker

Left by cartas web at 09/03/2008 6.38
Gravatar
S&#195;&#179;lo &lt;a href=http://usuarios.lycos.es/poker418/jugar-a-poker-gratis-5.html&gt;jugar a poker gratis&lt;/a&gt; &lt;a href=http://usuarios.lycos.es/poker418/poker-bonus-5.html&gt;poker bonus&lt;/a&gt;

# internet slots

Left by no faxing instant payday loan at 09/03/2008 7.12
Gravatar
If he &lt;a href=http://www.tcae.org/forum/topic.asp?TOPIC_ID=242&gt;loan payday say until wordpress&lt;/a&gt; &lt;a href=http://scrubbirds.tripod.com/free-casinos.html&gt;free casinos&lt;/a&gt;

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

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

# casino online legali

Left by casino en linea at 11/03/2008 13.45
Gravatar
Tu &lt;a href=http://utenti.lycos.it/casino484/casino-on-line-con-3.html&gt;casino on line con&lt;/a&gt; &lt;a href=http://utenti.lycos.it/casino484/russian-roulette-2.html&gt;russian roulette&lt;/a&gt;

# 3.16 gold mp3 ringtones gold mp3 ringtones

Left by download free bollywood ringtones at 11/03/2008 14.20
Gravatar
Does &lt;a href=http://groups.msn.com/24tvshowringtones/freechristianringtones.msnw&gt;free christian ringtones&lt;/a&gt; &lt;a href=http://groups.msn.com/100freerealmusicringtones/mobileringtonesconverter.msnw&gt;mobile ringtones converter&lt;/a&gt;

# roulette kostenlos online spielen

Left by online baccarat at 11/03/2008 14.39
Gravatar
Ein &lt;a href=http://mitglied.lycos.de/casino468/blackjack-spiel-5.html&gt;blackjack spiel&lt;/a&gt; &lt;a href=http://utenti.lycos.it/casino484/automatic-video-poker-5.html&gt;automatic video poker&lt;/a&gt;

# boost free music real ringtones

Left by cingular ringtones spainsh at 11/03/2008 14.48
Gravatar
Their &lt;a href=http://timreynolds.com/forum/topic.asp?TOPIC_ID=8353&gt;free real ringtones sprint&lt;/a&gt; &lt;a href=http://www.technologyofhope.com/forum/topic.asp?TOPIC_ID=66&gt;instant approval payday loan&lt;/a&gt;

# advance advance america cash

Left by ismarket.com ringtones samsung site at 11/03/2008 15.04
Gravatar
Don''t &lt;a href=http://www.v-visitors.net/forum/topic.asp?TOPIC_ID=199&gt;download hindi ringtones&lt;/a&gt; &lt;a href=http://www.motorsportsadventures.com/forum/topic.asp?TOPIC_ID=243&gt;download nextel ringtones software&lt;/a&gt;

# Sex dating in buffalo gap texas

Left by Sex dating in buffalo gap texas at 11/03/2008 22.28
Gravatar
texas, Sex dating in buffalo gap texas and Sex

# Sheryl crow naked pics

Left by Sheryl crow naked pics at 12/03/2008 5.29
Gravatar
pics, Sheryl crow naked pics and Sheryl

# Shake your booty sung by

Left by Shake your booty sung by at 12/03/2008 22.54
Gravatar
by, Shake your booty sung by and Shake

# Pointy breast pictures

Left by Pointy breast pictures at 13/03/2008 15.07
Gravatar
pictures, Pointy breast pictures and Pointy

# Amber evans naughty bikini

Left by Amber evans naughty bikini at 14/03/2008 3.55
Gravatar
inikib, Amber evans naughty bikini and Amber

# Baku beach girls

Left by Baku beach girls at 14/03/2008 5.13
Gravatar
slrig, Baku beach girls and Baku

# Boylove sex stories

Left by Boylove sex stories at 14/03/2008 5.30
Gravatar
seirots, Boylove sex stories and Boylove

# Diapered teen photos

Left by Diapered teen photos at 14/03/2008 6.31
Gravatar
sotohp, Diapered teen photos and Diapered

# Screch porn tape

Left by Screch porn tape at 14/03/2008 8.14
Gravatar
epat, Screch porn tape and Screch

# Romeo special girl mp3

Left by Romeo special girl mp3 at 18/03/2008 0.04
Gravatar
3pm, Romeo special girl mp3 and Romeo

# Sex of earthworms

Left by Sex of earthworms at 18/03/2008 0.12
Gravatar
smrowhtrae, Sex of earthworms and Sex

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

Left by NIkita at 18/03/2008 7.25
Gravatar
Hi
Please help me OUT. the article is cool i have well tested it on my local server by making the IIS settings.
my problem is regarding the server where i have hosted my site that server doesnot have this settings on IIS for supporting .flv files.
Is there any way out for this? can i do something via my code to run flv video on that server.

# 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 Nicola at 20/04/2008 9.54
Gravatar
see at http://blogs.veloc-it.com/pat/archive/2007/10/30/hosting-flv-files-with-asp.net-2.0-and-iis.aspx

# 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.

# Percocet.

Left by How long is percocet in your system. at 24/06/2008 23.23
Gravatar
Effects of long term percocet use. Percocet. Percocet extract how to shoot.

# 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 chathur at 02/07/2008 6.31
Gravatar
I can't see the .flv on my server when i am going to do this. Any idea about this?

# 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 007 at 23/07/2008 7.53
Gravatar
及8

# Hillary clinton.

Left by Hillary clinton. at 30/07/2008 15.02
Gravatar
Hillary rodham clinton. Hillary clinton. Gifts of speech hillary rodham clinton. Ankle biting pundits hillary clinton.

# 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 Website Design at 13/02/2009 10.25
Gravatar
Many thanks!

# 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.

# Old anacin tv commercials.

Left by Old anacin commercials. at 04/05/2009 14.47
Gravatar
Old anacin commercials. Old anacin tv commercials. Anacin.

# 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#

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 8 and type the answer here:
 

Live Comment Preview:

 
«luglio»
domlunmarmergiovensab
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678