当前位置: 首页 >> Tag标签为 'flv'

通过VLC将媒体流保存成FLV文件

cvlc mms://you_server_IP_Address/cctv-news --run-time 60 --sout="#transcode{vcodec=h264,vb=200,deinterlace,fps=25,width=256,height=192,ab=32,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=file,mux=ffmpeg{m
ux=flv},dst=/tmp/stream.flv}}"

不过保存的媒体丢失了时间轴,具体表现为,用播放器播放时播放器无法获知媒体的长度,所以用ffmpeg转换一下就OK了,不知道是否有别的更好的办法。

转成FLV流媒体供flash播放器播放:

cvlc mms://you_server_IP_Address/cctv-news --sout "#transcode{vcodec=FLV1,acodec=mp3,sameplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:9090/stream.flv}"

安装和使用ffmpeg转换视频为flv文件(windows和linux)[转载]

1、环境winxp-sp2下:
从 http://ffdshow.faireal.net/mirror/ffmpeg/ 下载
最新版本的 FFMpeg.exe直接用就行(须rar解压)。

以下的东西是为对ffmpeg无法解析的文件格式(wmv9,rm,rmvb等)转换用的,
从http://mediacoder.sourceforge.net/download_zh.htm下载
最新版本的mediacoder的安装后;找到其中的mencoder.exe;drv43260.dll和pncrt.dll三个文件。
Read the rest of this entry »

Video Blogging using Django and Flash(tm) Video (FLV)

I just added Flash-based (FLV) video blogging support to my Django-powered travel portal site, trogger.de. The whole process is surprisingly simple and straightforward and can be done entirely with free (FLOSS) tools.

Read the rest of this entry »

Apache flv streaming done right

  1. Download my tuned version of mod_flvx or the original mod_flv by Paul Querna.
  2. Install apxs tool (also avaliable in RPMs for most systems as httpd-devel)
  3. Compile and install your module with the following command:
    apxs -c -i ./mod_flvx.c 
  4. Add the following 2 lines to your httpd.conf or create a dedicated /etc/httpd/conf.d/mod_flvx.conf (path depends on your Linux distribution):
    LoadModule flvx_module modules/mod_flvx.so
    AddHandler flv-stream .flv 
  5. Restart Apache (i.e. with service httpd restart)

Testing:
# Using curl:

curl -I "http://mysite.com/video.flv?start=100000" 

..where 100000 is some byte position in your file. This should show you Content-Type: video/x-flv. Now increase the start= parameter and the Content-Length should be smaller accordingly.
# Using wget:

wget -O test.flv "http://mysite.com/video.flv?start=1048576" 

The generated test.flv should be of size originalSize – 1MB

From: http://flowplayer.org/forum/5/14679

WordPress FLV Player插件使用注意事项【官方插件无法正常使用】

插件官方下载地址:http://wordpress.org/extend/plugins/flv-player/

Read the rest of this entry »

测试flv player插件–她来听我的演唱会

看看效果如何:

她来听我的演唱会

Read the rest of this entry »