[Live-devel] How to convert mpeg-4 program stream
	tompeg-4transport stream
    Ross Finlayson 
    finlayson at live.com
       
    Wed Mar 23 03:01:37 PST 2005
    
    
  
A FYI to Mike Yan:
>  From looking at your changes, it appears that what you were really looking
>for was the ability to create a "ByteStreamFileSource" from an open file
>(rather than from a file name), and also to have this open file *not* be
>closed automatically when the "ByteStreamFileSource" is deleted.  Is this
>correct?
>
>If so, then I should be able to give you this ability by providing a new
>(optional) variant of "ByteStreamFileSource::createNew()" that has -
>instead of a "fileName" parameter - two parameters:
>          - FILE* fid
>          - Boolean deleteFidOnClose = False
FYI, the newest version (2005.03.23) of the library now has this 
alternative version of "ByteStreamFileSource::createNew()":
         ByteStreamFileSource* createNew(UsageEnvironment& env,
                                                    FILE* fid,
                                                    Boolean 
deleteFidOnClose = False,
                                                    unsigned 
preferredFrameSize = 0,
                                                    unsigned 
playTimePerFrame = 0);
	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>
    
    
More information about the live-devel
mailing list