Wim, Thank you! It does the job perfectly. Daniel >On Sun, 2008-03-16 at 20:32 -0700, danielkun at iremo.com wrote: >> Hello, >> >> Is it possible to auto detect whether an MPEG file is PS or TS? >> > >Sure, gsttypefind has the code to do that. > >Wim >> Thank you, >> >> Daniel >>