Saving input stream to disk
Bryan Mo
guardian_m3 at hotmail.com
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,
Bryan
>From: Christophe Massiot <massiot at via.ecp.fr>
>Reply-To: vlc-devel at videolan.org
>To: vlc-devel at videolan.org
>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 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>
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
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