[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
>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,
deleteFidOnClose = False,
preferredFrameSize = 0,
playTimePerFrame = 0);

	Ross Finlayson

More information about the live-devel mailing list