[Live-devel] Creating Transport Stream file from MPEG-2 Elementary video file
    Ross Finlayson 
    finlayson at live555.com
       
    Fri Jun 22 08:04:14 PDT 2007
    
    
  
The problem with your code is that you are feeding a 
"ByteStreamFileSource" (an unstructured byte stream) directly into a 
"MPEG2TransportStreamFromESSource".  Instead, you should do
	ByteStreamFileSource -> MPEG1or2VideoStreamFramer -> 
MPEG2TransportStreamFromESSource
i.e. insert a "MPEG1or2VideoStreamFramer" inbetween.  This will parse 
the MPEG Elementary Stream to generate appropriate timestamps that 
will be used downstream when creating the Transport Stream.
-- 
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
    
    
More information about the live-devel
mailing list