vlc vs. libvlc http live streaming

This forum is about all development around libVLC.
mirswith
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Dec 2011 01:15

vlc vs. libvlc http live streaming

Postby mirswith » 02 Feb 2012 19:28

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.

mirswith
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Dec 2011 01:15

Re: vlc vs. libvlc http live streaming

Postby mirswith » 02 Feb 2012 21:37

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!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests