livehttp module almost working

前端之家收集整理的这篇文章主要介绍了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编码设置

猜你在找的VB相关文章