[Live-devel] How can I know a mpeg1/2 file is PS,TS or ES?

Ross Finlayson finlayson at live555.com
Mon Aug 21 21:24:01 PDT 2006


>	    Every test program in the /testProgs needs a proper type 
>such as TS/PS/ES. But how can I know such information about mpeg1/2 
>files?

You would need to inspect the contents of the file, to look for 
appropriate headers.  (However, the "LIVE555 Streaming Media" 
libraries currently do not do this; you would need to write this 
yourself.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list