[streaming] Need help in streaming video file using libVLC on Windows7

Arif Saiyed arif.saiyed at citrix.com
Sat Jan 17 21:05:16 CET 2015


Hello,
My ultimate goal is to stream a video and consume the stream on HTML5 viewer.
I tried streaming using VLC media player and streamed to a OGG file, I used same OGG file in a HTML5-Video tag and it worked.

Now I want to do the streaming part using libVLC instead of VLC media player.
I want to stream the video file to File or memory stream.

I have found this sample https://wiki.videolan.org/Stream_to_memory_(smem)_tutorial/

But unsure of how to get started ?
1) Where do i get the libVLC.dll, libVLC.lib, libVLC.h , Is there any sample visual studio that has everything setup and I can straight begin to write the code using libVLC etc.

2) Since libVLC is said to depdend on 200+ other libraries/modules/plugins, what will I have include and distribute with my application ?
http://www.enjoythearchitecture.com/vlc ... cture.html
https://wiki.videolan.org/Contrib_Status/

3) streaming format : above example seems to stream into PCM format, cant I get it stream in some format that has better codec and recognized by HTML5 ?
For example when i tried using VLC media player , my options were as following
:sout=#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100}:file{dst=C:\\Users\\testUser\\stream-output.ogg,no-overwrite} :sout-keep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/streaming/attachments/20150117/2ecb6ebc/attachment.html>


More information about the streaming mailing list