livehttp module almost working

从VLC论坛中看到的帖子,关于vlc-1.2.0-pre4的livehttp模块

bydmprio» Tue Jul 12,2011 10:34 pm

Ok. I finally got things working the way that I wanted to. I will post this here so hopefully it can help someone experiencing the same issue.

I modified my command to leave out the audio from the stream. This caused everything to magically begin working. Fortunately,I do not need the audio for my purposes,so I did not bother to figure out how to get it working with audio. Hopefully,this will be a good start for someone who is looking to do the same thing as I was. All that you will need to do is tweak the audio settings in the transcoder to hopefully get it to work.

Below is my working command.

vlc -vvv -I dummy --mms-caching 0http://www.nasa.gov/55644main_NASATV_Windows.asxvlc://quit--sout="#transcode{width=320,height=240,fps=25,vcodec=h264,vb=128,venc=x264{profile=baseline,level=30,keyint=15,min-keyint=15,ref=1}}:std{access=livehttp{seglen=5,delsegs=true,numsegs=10,index=C:/htdocs/mystream.m3u8,index-url=http://192.168.1.181/mystream-########.ts},mux=ts{use-key-frames},dst=C:/htdocs/mystream-########.ts}"

主要关注x264编码设置

相关文章

Format[$] ( expr [ , fmt ] ) format 返回变体型 format$ 强...
VB6或者ASP 格式化时间为 MM/dd/yyyy 格式,竟然没有好的办...
在项目中添加如下代码:新建窗口来显示异常信息。 Namespace...
转了这一篇文章,原来一直想用C#做k3的插件开发,vb没有C#用...
Sub 分列() ‘以空格为分隔符,连续空格只算1个。对所选...
  窗体代码 1 Private Sub Text1_OLEDragDrop(Data As Dat...