Page 1 of 1

Livehttp on Iphone

Posted: 28 Mar 2012 15:20
by ceekee
I am streaming using livehttp on my iphone but no video or audio.

I am using the following

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC http://URL/udp/IP:1294 vlc://quit --intf=dummy --sout-transcode-audio-sync --sout='#transcode{vcodec=h264,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec=mp3,ab=128,channels=2,deinterlace,audio-sync}:duplicate{dst=std{mux=ts,dst=-,access=livehttp{seglen=10,delsegs=true,numsegs=10,index=/Users/strm/Sites/streaming/mystream.m3u8,index-url=http://192.168.1.27/~strm/streaming/mystream-########.ts},mux=ts{use-key-frames},dst=/Users/strm/Sites/streaming/mystream-########.ts}}'
The M3U8 file is created and also the TS files. On the mac I can watch the M3U8 file using the VLC player. But when I try to open via Safari on the iPhone I am getting a black screen and nothing happens.

When I am using the following the mediastreamsegmenter in stead of httplive I am getting video and sound what am I doing wrong???

Code: Select all

"/Applications/VLC.app/Contents/MacOS/VLC $input --intf=dummy --sout-transcode-audio-sync --sout='#transcode{vcodec=h264,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec=mp3,ab=128,channels=2,deinterlace,audio-sync}:duplicate{dst=std{access=file,mux=ts,dst=-}}' vlc://quit | mediastreamsegmenter -O -f $base_dir -t $target_duration -s $sliding_window -S $start_index -D";
Also using safari to open the M3U8 file.

Please advice

Re: Livehttp on Iphone

Posted: 07 Apr 2012 01:27
by str3tmonk
As far as I know, VLC doesn't yet support streaming out in HLS format. It can decode the format somewhat (maybe reading has improved recently) but I'm not sure you can create HLS streams.

Re: Livehttp on Iphone

Posted: 07 Apr 2012 10:11
by Rémi Denis-Courmont
VLC can write HLS files in version 2.0.0 and later. But you will need an HTTP server to actually expose the file to receivers.

Re: Livehttp on Iphone

Posted: 13 Apr 2012 21:22
by pepemanolo
Rémi,

I am new to VLC and only familiar with the GUI version.
Following on this thread I have two questions:
- If I were to pickup a flash stream from akamai (i.e. rtmp//akamaiadress.net/live/streamname) and re-encapsulate into a HLS with not transcoding nor fancy changes to the IIS server drive:/website/, how would the command line look like?
- In my situation where the total live stream would be one hour long; is the garbage collection to remove expired segments performed by VLC or I have to do it on my own?

Thanks in advance for your support.

Re: Livehttp on Iphone

Posted: 24 Jun 2012 18:08
by remi_