View Full Version : How to detect I, P and B-frames in mpeg2?
ronnylov
12th November 2003, 17:23
I would like to know if there is a utility that can tell me if the decoded frame is a I-frame, P-frame or a B-frame. I am comparing encoded mpeg2 clips with ssim in avisynth and would like to separate the quality numbers for each frame type. Can it be read out from the d2v file or can I scan the mpeg2 stream and log frame types to a text file somehow?
oof
15th November 2003, 20:45
Well, Vdub knows . Is that sufficient ?
Kika
16th November 2003, 12:28
If you need only the Information, mme can handle this.
ronnylov
17th November 2003, 10:58
I tried virtualdubmod and I could see the frame type of the displayed frame. But I could not export to a log. I would like something like this for the whole movie:
Frame Type
0 I
1 B
2 B
3 P
4 B
5 B
6 P
7 B
8 B
9 P
10 B
11 B
12 I
....
Kika: What is mme?
Kika
17th November 2003, 12:09
mme is an MPEG2-Decoder-Plugin for TMPGEnc and an Stand-alone-Decoder.
It also has the ability to cut Movies, but that function is buggy.
http://www.marumo.ne.jp/mpeg2/m2v_vfp-0.6.43.lzh
ronnylov
17th November 2003, 12:42
Thanks!
oof
17th November 2003, 15:45
If you have a C compiler you could get the
source for Pulldown and modfy it. It already has
printf statements for most fields
ChristianHJW
27th November 2003, 12:15
spyder from the matroska team has been spending month now to get a nice MPEG demuxer and to find out about frame types and frame references ( we need this for MPEG1/2 muxing into matroska ). His code is C and GPL, you can talk to him either via email
spyder AT matroska.org
or occasionally on irc.corecodec.com #matroska ( you have to be patient, he is not there very often ) ....
ronnylov
27th November 2003, 14:55
It seems that the commersial version of BitrateWiever can export information of GOPs to spreadsheet format. I beleive this is something I can use for my purpose. I will buy it and see what I can do.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.