Page 1 of 1

c++ bmp stream to video

Posted: 11 Jul 2009 16:11
by hotblackdesiato
hello to all,

i´m totally new to libvlc. so i had a few elementary questions.
in my application (c++ mfc app - using visual studio 9) i received a stream of raw bmp data (bitmapinfo and bitmap bits). now i want to use libvlc to get a video out of this data.this video should be streamed to localhost.
is it possible to do this with libvlc?
i have the libvlc.lib (included in my project) and the libvlc.dll in my debug folder, which headers i have to include?and which functions are helpful?

this is the function which delivers the bmp informations and bmp bits:

Code: Select all

if (!theApp.xxxx_xxxx_xxxx_GetBitmap(pDoc->m_hIRDX_Doc, &m_bmp_isize_x, &m_bmp_isize_y, &pBits, &pBitmapInfo)) return;
this data should be convert to a video and send to (for example) localhost.

i´m absolutely grateful for all hints.at the moment i´m really confused and clueless.

thanks in advance

(sorry for my english, i hope it is possiblke to understand what i´m trying to do) :)

Re: c++ bmp stream to video

Posted: 22 Jul 2009 12:50
by charlest
Hi,
Where did you find the libvlc.lib? Otherwise, how did you created it?