Page 1 of 1

vlc vs. libvlc http live streaming

Posted: 02 Feb 2012 19:28
by mirswith
I am having trouble getting my imem module and http live streaming to work for an iPhone client. If I create the stream using the VLC player then everything works fine yet I can't seem to get the right magic working using libvlc. Here are the arguments I am using to create the vlc instance using libvlc:

Code: Select all

--imem-get=1593466112 --imem-release=1593466224 --imem-data=81931184 --imem-width=640 --imem-height=480 --imem-fps="16" -vvv --verbose=2 --imem-id=1 --imem-group=1 --imem-cat=2 --imem-codec=RV24 --sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=none}:http{dst=:7070/test.ts} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --no-osd --plugin-path=plugins/vlc --ffmpeg-hw
I've double checked my sout line with what the vlc player creates and it is the same:
:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=none}:http{dst=:7070/test.ts} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
I appreciate any help. Thanks.

Re: vlc vs. libvlc http live streaming

Posted: 02 Feb 2012 21:37
by mirswith
Looks like I was wrong, can't do it with the player either; at least not until I found this article http://wiki.videolan.org/Documentation: ... the_iPhone. This is working however it has a huge latency, I tried reducing the seglen to 1 and numsegs to 5 however there is a 51 second delay from when the iphone sees what the server is showing and maybe I am going about this all the wrong way but is it possible to reduce this latency to be less than a second (testing on wifi right now)?

Me end goal is to achieve something similar to OnLive with my app, is this even possible with VLC or do you think a custom solution would be needed?

Thanks!