Saving input stream to disk

Christophe Massiot massiot at via.ecp.fr
Mon Jul 15 23:27:19 CEST 2002


À (At) 21:23 -0400 14/07/2002, Bryan Mo écrivait (wrote) :

>I would like to add save to disk functionality to the VideoLAN 
>client. I'm not too sure how to implement this. I want to be able to 
>save an incoming PS or TS stream to an MPEG2 file and possibly 
>convert a TS stream to PS format. How would I go about doing this? 
>Which blocks of the vlc architecture need to be modified?

Saving the stream shouldn't be very hard, try hacking 
src/input/input_ext-plugins.c:input_FillBuffer. On the contrary, 
converting TS to PS is highly non-trivial. I guess there are already 
utilities to do such a conversion (mpegtools ?).

-- 
Christophe Massiot.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list