On Thu, 09 Mar 2006 10:22:33 +0100, Antonnio M <[EMAIL PROTECTED]> wrote:
--- Herman Robak <[EMAIL PROTECTED]> wrote:
However, I'm not sure if the MPEG PES/TS files
have headers,
so they may be somewhat cumbersome to recognise
reliably.
Mpeg have headers every GOP (Group of pictures)or
every block of data. All streamable videos have to
send a header with every small piece of video in the
same time in order to allow connections for new
clients.
Which is fine and dandy if you already know the stream
format, and can pick the appropriate parser for it.
If you don't know what kind of stream it is, you'll have
to search for known byte sequences. The typical way to
do that is to look for identifiers that are placed at a
fixed offset from the start of the file, which proper
headers usually have.
Failing that, you can look at the file name extension.
We should just add m2t to the list of extensions that
will be handed to the MPEG parser.
--
Herman Robak
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra