Page 1 of 1

Streaming / Recording to Buffer

Posted: 02 Oct 2008 19:31
by Boo025
This may sound pretty simple but I want to do the following:
1. When UDP/RTP stream is received, it will buffer it (to a hard drive or memory) instead of playing the stream till it's done.
2. When streaming stops, it will automatically play the buffered stream from the hard drive.

Is there a way I can do this by changing the code? I was looking at the 'plugin_access_filter_record' and 'plugin_live555' VC++ project but not sure where to start.

Where I am going with this is that I'll eventually take the stream, buffer it, pass it through PCI, to a custom hardware.

Re: Streaming / Recording to Buffer

Posted: 02 Oct 2008 21:49
by RĂ©mi Denis-Courmont
No, you cannot do this out of the box with current VLC.

Re: Streaming / Recording to Buffer

Posted: 02 Oct 2008 22:13
by Boo025
No, you cannot do this out of the box with current VLC.
I was wondering are there any documentation available regarding how the streaming is implemented? I was going through the Hacker's guide http://wiki.videolan.org/Documentation:Hacker%27s_Guide and it doesn't seem to have information how the streaming is implemented.

I've looked at http://www.videolan.org/developers/vlc/ ... ygen/html/ as well.

Also in this document http://www.videolan.org/doc/streaming-h ... /ch02.html it seems saving the stream is possible. I was wondering what is the module/code called in the VLC source code that does this?

Finally, in /module/ folder, is "/access_output" contains code for decoding the stream (client), and "/stream_out" contains the code for streaming the video (server)?

Thanks for your reply