I want to stream video to a file/ or memory buffer using VC++ on windows. Can anyone suggest easy to integrate library?(that has one H,one LIB and one DLL).
I am exploring the libVLC right now and gonna explore FFMPEG also. dont want to spend time in building these complex software fully myself, would appreciate any help/pointer/ references.
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-architecture.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