Saving input stream to disk

Bryan Mo guardian_m3 at
Thu Jul 18 22:49:27 CEST 2002

I've made the changes to input_FillBuffer(). However, when I play back a 
file from the hard disk, it saves the file twice. That is, I get a file that 
is twice the size as the original with the original stream saved twice. When 
vlc reads in the file initially, does it call input_FillBuffer to buffer the 
file and calls input_FillBuffer again when it is decoding it?

My changes work fine for saving a network stream, however.

Thanks again,

>From: Christophe Massiot <massiot at>
>Reply-To: vlc-devel at
>To: vlc-devel at
>Subject: Re: Saving input stream to disk
>Date: Mon, 15 Jul 2002 23:27:19 +0200
>À (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
>To unsubscribe, please read
>If you are in trouble, please contact <postmaster at>

Join the world’s largest e-mail service with MSN Hotmail.

This is the vlc-devel mailing-list, see
To unsubscribe, please read
If you are in trouble, please contact <postmaster at>

More information about the vlc-devel mailing list