I am suggesting the following thing which would be helpful to meet the requirement of yours. First of all you need to encode the VLC.
Code:
/Applications/VLC.app/Contents/MacOS/VLC --intf=dummy --sout=#transcode{width=320,height=240,fps=25,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,bframes=0,ref=1,nocabac},acodec=mp4a,ab=56}:duplicate{dst=std{access=file,mux=ts,dst=-}} http://streaming-server-address/
Now you should split the mediatstreamsegementer.
Code:
mediastreamsegmenter -b http://web-server/stream-dir -f /path/to/stream-dir -t 10 -s 4 -D
Now do the following configuration on Apache.
Code:
video/MP2T ts
application/x-mpegURL m3u8
now you need to create the following file in to same directory and playlist.
Code:
<html>
<head>
<title>iPhone/iPodTouch Streaming</title>
</head>
<body>
<video width="320" height="240">
<source src="./prog_index.m3u8" />
</video>
</body>
</html>
So try the above mentioned thing I am sure that it will definitely help you out.
Bookmarks