CodeTry
CodeTry

Reputation: 312

How does Mpeg2 file plays with H.264 parser?

I have MPEG-2 TS file recorded on my STB . VLC media information for the clip is Type : Video codec: Mpeg-1/2 video(mpgv) Type : audio codec: MPEG AAC Audio(mp4a) I currently do not have Mpeg2 video parser so the clip wont play at all. But just out of curiosity i reused the existing H.264 video parser for the above clip and the clip started playing. I am very confused over this. why is this happening? Is there any chance H.264 and Mpeg2 related? Is it something to do with codec and container format? Guys please explain in detail....

Upvotes: 0

Views: 278

Answers (1)

szatmary
szatmary

Reputation: 31101

MPEG-2 TS is just the container. h.264 and AAC are the codecs.

Upvotes: 0

Related Questions