时间: 2010-12-19 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 892 views
一直使用VLC对一个高清视频流进行转码,以前使用的是以下:
cvlc http://xxx.xxx.xxx.xxx/live –sout “#transcode{vcodec=h264,vb=2048,scale=0.5,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9000}}”
当时VLC 的版本是: vlc-0.9.9a-5.el5.rf.i386,最近我使用yum update(RPMforge的源)升级到vlc-0.9.9a-7.el5.rf版本后(当然ffmpeg、x264也升级了)却出现以下错误:
Read the rest of this entry »
Tags: VLC, 流媒体, 转码
时间: 2010-10-15 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 1,106 views
VLC是挺强大的一个东西,但是VLC的帮助写得确实不怎么样,特别是对<string>的说明,到底string可以使用哪些关键字,很难对应上。
最近本人有一个挺奇怪的需求:
Read the rest of this entry »
Tags: VLC, 媒体服务
时间: 2010-10-15 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 1,270 views
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}"
Tags: flv, VLC, 流媒体, 转换
时间: 2010-08-01 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 882 views
Tags: VLC, windows, 服务, 流媒体, 高清
时间: 2010-08-01 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 687 views
原理很简单,假设你的流媒体是20Mbps的,你通过下载程序下载10秒,平均速率如果低于10Mbps,那VLC肯定工作不正常了,把VLC进程杀掉,重新启动VLC即可。
Read the rest of this entry »
Tags: VLC, windows, 流媒体服务, 状态检查, 监控, 监视
时间: 2010-07-06 - 分类: 榆树网-杂项 - 无评论 - 913 views
Tags: CCTV, VLC, 故障, 电视卡, 高清
时间: 2010-01-07 - 分类: 榆树网-系统 - 无评论 - 712 views
VLC from throws and not turn-off errors in a separate error window [1] [2] [3]. These errors particularly annoying when VLC is operated with a remote control or keyboard. Also setting the “verbose level” ( “Verbosity”) to “0″ or the quiet switch “be quiet” ( “Be”) under “Tools-> Settings” ( “Tools-> Preferences) does not prevent VLC still sporadic error messages. The problem can be solved but with AutoHotkey and a corresponding script. This script monitors the open window in Windows and includes an error occurs, the information window of VLC.
Read the rest of this entry »
Tags: AutoHotKey, VLC, 快捷键, 自动按键