微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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编码设置

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐