Page 1 of 1

create streaming

Posted: 09 Apr 2008 11:47
by aziatedu13
hello,

i don't find on the net a tutorial to create a stream with a acquisition card, i have done a programme which grabbing the video, and i can see the source video, i grabbe image, and put them into a XIMAGE and i do an XPUTIMAGE on a server X.

I am on a red hat 5 el5.


I wonder to take code part o vlc to create a flux MPEG TS and send it by RTP, have you any way to do this ???
I have seen the vlc code, but is not comment and i don't reach to understand it.

please help me..
thx.

Re: create streaming

Posted: 09 Apr 2008 17:01
by aziatedu13
i have find some information on the component of libvlc, by exemple :


stream_t* __stream_MemoryNew ( vlc_object_t * p_this,
uint8_t * p_buffer,
int64_t i_size,
vlc_bool_t i_preserve_memory
)


void stream_DemuxSend ( stream_t * s,
block_t * p_block
)


where can i find some exemple of a creation of a stream, its parameter, format and what are its arguments ?
what is a vlc_object_t * ?
how to create this...a lot of question to build a stream and send it with a acquistion card....thx.