Need help in streaming using libVLC on VC++ on windows 7 64
Posted: 17 Jan 2015 20:52
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_mem ... _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 regonized 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
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_mem ... _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 regonized 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