VLC media player: HTTP Streaming for Apple iPad

>> Thursday 28 June 2012

VLC media player: HTTP Streaming for Apple iPad
Well I am looking to stream using Mac and iPad using with VLC. I have tried with the lost of thing but it did not help me to fix the problem of mine. I am aware of the thing which lets me to stream to the local website. is there any particular way to VLC to stream through an embedded objects but I was unable to put the plugin. Let me know if you are having any idea to meet the requirement of mine. Thanks a lot in advance.
Reply With Quote
#2
Old 17-04-2011
$tatic $tatic is offline
Member

Join Date: Nov 2008
Posts: 1,222
Re: VLC media player: HTTP Streaming for Apple iPad
In order to get the requirement of yours you should have the following stuffs.

* FFmpeg
* Apples’ mediastreamsegmenter : it is by default coming with Mac OS version 10.6 and higher.
* Apache Web Server : you need a web server and its is the best option for the same because it is already available into Mac.

So you should get the above mentioned to stream the video using VLC.
Reply With Quote
#3
Old 17-04-2011
CitricAcid CitricAcid is offline
Member

Join Date: Nov 2008
Posts: 1,031
Re: VLC media player: HTTP Streaming for Apple iPad
Let me know whether you have managed to get the all the above mentioned thing or not.
Code:

ffmpeg -i video.mp4 -acodec libmp3lame -b 128kb -vcodec libx264 -vpre hq -vb 2500 -s 1280x720 -f mpegts - | mediastreamsegmenter -O -b http://192.168.0.2/stream/temp -f /stream/temp/ -t 10 -s 4 -D

once you have done you need to use the above mentioned command to get the requirement of yours. now use the following command.
Code:

application/x-mpegURL m3u8
video/MP2T ts

finally you need to restart the Apache server so that the changes which you have done can take effect .
Code:

apachectl restart

Reply With Quote
#4
Old 17-04-2011
Blazej's Avatar
Blazej Blazej is offline
Member

Join Date: May 2008
Posts: 863
Re: VLC media player: HTTP Streaming for Apple iPad
if you are using the iPhone then you can do HTTTP streaming with FFMpeg and Open source segmenter.

* First of all you need to get the latest version of the FFMpeg.
* Now you should encode the Video for the iPhone of yours.
* Once you have done with encoding you need download and build the segmenater.
* Finally you need to build the HTTP server and test the stream which you have build.

Reply With Quote
#5
Old 17-04-2011
sergioKomic's Avatar
sergioKomic sergioKomic is offline
Member

Join Date: May 2008
Posts: 918
Re: VLC media player: HTTP Streaming for Apple iPad
You can use the following thing to create the variable rate HTTP stream. Its very simple you need to create the different bitrate encoded streams and simply link to the particular stream definition in to a individual definition file. You can consider the below mentioned example for the same.
Code:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=96000
http://192.168.132.15/ipv/stream-96k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=256000
http://192.168.132.15/ipv/stream-256k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
http://192.168.132.15/ipv/stream-800k.m3u8

I am hoping that the thing which I have mentioned over here would be useful to you.
Reply With Quote
#6
Old 20-04-2011
CitricAcid CitricAcid is offline
Member

Join Date: Nov 2008
Posts: 1,031
Re: VLC media player: HTTP Streaming for Apple iPad
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:



iPhone/iPodTouch Streaming






So try the above mentioned thing I am sure that it will definitely help you out.
Reply With Quote

0 comments:

Post a Comment

Read - Share - Comment

About This Blog

Share and Save

About Author