Css图片滤镜大全
May 31st, 2006 by song

css图片滤镜大全
语法:STYLE=”filter:filtername(fparameter1,fparameter2…)}(Filtername为滤镜的名称,fparameter1、fparameter2等是滤镜的参数)

滤镜说明:
Alpha:设置透明层次.
blur:创建高速度移动效果,即模糊效果.
Chroma:制作专用颜色透明.
DropShadow:创建对象的固定影子.
FlipH:创建水平镜像图片.
FlipV:创建垂直镜像图片.
glow:加光辉在附近对象的边外.
gray:把图片灰度化.
invert:反色.
light:创建光源在对象上.
mask:创建透明掩膜在对象上.
shadow:创建偏移固定影子.
wave:波纹效果.
Xray:使对象变的像被x光照射一样.
Read the rest of this entry »

联动菜单
May 31st, 2006 by song

[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CaiSong Blog</title>
</head>

<body>
Read the rest of this entry »

C# make ActiveX
May 31st, 2006 by song

在C#中和ActiveX控件对应的是Windows控件库(User Controls)。
在IE中激活Windows Forms控件可以分五步来完成:
* 创建Windows Forms控件;
* 创建一个包含对象标签的HTML文档;
* 创建虚拟目录,复制并设置权限;
* 配置代码访问权限;
* 运行该控件。
1. Windows Forms控件:SimpleControl.dll
几乎所有的Windows Forms控件都可以用,但在这个例子里,我们使用的是包含在.NET Framework SDK QuickStart Tutorial Creating Controls中的SimpleControl控件。
2. HTML文档: SimpleControl.html
接下来一步是生成内有一个对象tag的HTML文档,以激活Windows Forms控件。此外,还要加入一些脚本和输入tag(input tags)到该控件的示范程序入口。 Read the rest of this entry »

FLASH键盘事件
May 31st, 2006 by song

响应键盘的方法作为AS中的一个重要组成部分,在如今已经越来越广泛的使用,尤其是在 FLASH游戏制作中,如果缺少了响应键盘的方法,那是不可能的,而响应键盘的方法主要的四种,分别是:

  1、利用按钮进行检测
  2、利用KEY对象
  3、利用键盘侦听的方法
  4、利用影片剪辑的keyUp和keyDown事件来实现响应键盘

  只有熟练掌握了这些方法,然后加以变通的话,就会得到很多意想不到的效果,下面我就结合理论和自己的想法简要的介绍一下。

  第一种响应键盘的方法:利用按钮进行检测来实现响应键盘

  在按钮的on事件处理函数中不但可以对鼠标事件作出响应,而且可以对键盘事件作出响应。 如在按钮的动作面板中加入如下所示的代码,在敲击键盘上的X键时输出窗口中将提示:X is pressed
在按钮上加上:
Read the rest of this entry »

wmv switch flv
May 31st, 2006 by song

Alizee – 艾莉婕
La isla bonita

[img]attachment/1149140794.jpg[/img]
[flv=400,300]http://www.caisong.com/attachment/1149060323.flv[/flv]
Read the rest of this entry »

FFMPEG 和 FFMPEG-PHP 的安装
May 31st, 2006 by song

FFMPEG 和 FFMPEG-PHP 的安装

软件:

FFmpeg 官方主页: http://ffmpeg.sourceforge.net
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

FFmpeg-php 官方主页 http://ffmpeg-php.sourceforge.net
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ffmpeg-php login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ffmpeg-php co ffmpeg-php

Lame 下载地址
http://www.linuxpackages.net/sea … ;name=lame&ver=

Apache v2.0.54 官方主页: http://www.apache.org
http://www.apache.org/dist/httpd/httpd-2.0.54.tar.gz

PHP v4.3.11 官方主页: http://www.php.net
http://cn.php.net/distributions/php-5.0.4.tar.gz

GD Library v2.0.33 官方主页: http://www.boutell.com/gd/
http://www.boutell.com/gd/http/gd-2.0.33.tar.gz Read the rest of this entry »

FFMPEG功能
May 31st, 2006 by song

FFMPEG功能

1.  视频音频格式转换

Ffmpeg能使用任何支持的格式和协议作为输入:

*比如你可以输入YUV文件:ffmpeg -i /tmp/test%d.Y /tmp/out.mpg

它将要使用如下文件:

      /tmp/test0.Y, /tmp/test0.U, /tmp/test0.V,
/tmp/test1.Y, /tmp/test1.U, /tmp/test1.V,等等…

   *你能输入原始的YUV420P文件:ffmpeg -i /tmp/test.yuv /tmp/out.avi

   原始的YUV420P文件包含原始的YUV极性,每帧以Y平面开始,跟随U和V平面,它们是Y平面水平垂直的一半分辨率

   *你能输出原始的YUV420P文件

   ffmpeg -i mydivx.avi -o hugefile.yuv
Read the rest of this entry »

FFMPEG
May 31st, 2006 by song

This tutorial is about transcoding video fom one codec into another using
[url=http://ffmpeg.org/]FFMPEG[/url]
. I got deeper into FFMPEG when I wanted to transcode into FLV (Flash Video) and it works very well. I developed the
[url=http://rivavx.de/?encoder]Riva FLV Encoder[/url]
, a GUI for FFMPEG.

We install the Minimalist GNU for Windows MinGW (Compiler) and MSYS (Minimal SYStem) which is a kind of unix-shell to access the MinGW-commands. Next we download, compile and install Lame, an open-source mp3-codec, with MSYS. Next we install WinCVS and checkout the latest cvs-release of FFMPEG. Finally we compile ffmpeg and I will show a few examples how to work with Flash Video (FLV).

    Read the rest of this entry »
Video and Audio Streaming with Flash and Open Source Tools
May 31st, 2006 by song

Flash has always been developed and used for multimedia purposes, but until version 6 the possibilities for audio streaming were limited and also there was no video support. With Version 6 and 7 Macromedia introduced video support and a new file format to support various ways of streaming. This article covers only a streaming variant called “progressive download” which does not need server support. True streaming support is available with Macromedia’s non-free Flash Communication Server (FCS).
FLV Streams
Streaming is build upon a new file format called FLV, which separates the streamable content and the flash movie. The result is a very compact flash movie acting as a multimedia player and a storage for streamable content from which the flash movie loads a stream on demand. Read the rest of this entry »

Flash 视频(FLV)编码,转换,录制,播放
May 31st, 2006 by song

FFmpeg
FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec library. An experimental streaming server for live broadcasts is also included.
http://sourceforge.net/projects/ffmpeg/
http://ffmpeg.sourceforge.net/index.php

中华视频网
http://bbs.chinavideo.org/
FFmpeg讨论 http://bbs.chinavideo.org/forumdisplay.php?fid=10
FFmpeg下载 http://www.chinavideo.org/index.php?option=com_remository&func=fileinfo&id=61
FFMPEG功能 http://bbs.chinavideo.org/viewthread.php?tid=98&extra=page%3D5

KLStudio BLOG
FLASH视屏开发者的BLOG
http://www.klstudio.com/
程序出售,Q 89747714 Read the rest of this entry »

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »