Livehttp on Iphone
Posted: 28 Mar 2012 15:20
I am streaming using livehttp on my iphone but no video or audio.
I am using the following
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???
Also using safari to open the M3U8 file.
Please advice
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}}'
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";
Please advice