Log in

View Full Version : Identifying the encoder from the MPEG stream


mustardman
18th June 2005, 23:32
Is it possible to identify the encoder used to create a MPEG stream?

That is, are there embedded bits (or bytes) in the data stream which can be used to identify which codec did the nasty? Similar to some audio codecs (eg: LAME) that put bits into the stream so that when these bits are assembled they tell about the encoder, version, (and possibly other stuff?).

Cheers,
MM

Guest
19th June 2005, 00:17
Yes, there is video user data. TMPGEnc, for example, puts its name and information there at the beginning of the file. But it's up to the encoder to decide to do so; it is not mandatory.

mustardman
19th June 2005, 01:57
Thanks for the info.

Are there any apps which can (search for if required and) display that information?

Cheers,
MM

tigerman8u
19th June 2005, 02:26
Gspot (free) tells you if Tmpgenc is used. Not sure about other encoders

Guest
19th June 2005, 02:37
Are there any apps which can (search for if required and) display that information?
Open the file using the hex editor in VirtualDub. Then look for strings on the right hand character display at the top of the file. I just did it and found that Hank's MPEG2 Encoder also uses the user data, as well as TMPGEnc, and probably others.

The start code for video user data is 00 00 01 B2.