从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编码设置 (编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|