Page 1 of 1

[RESOLVED] DGDecNV number of frames?

Posted: Tue Nov 02, 2010 9:13 pm
by rack04
I am using DGDecNV 2036 and I noticed while encoding the Blu-ray version of Toy Story 3 that the frame count in the dgi file doesn't match the number of frames that x264 encodes. For example:

Code: Select all

avs [info]: 1280x720p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 4.1

x264 [info]: frame I:3863  Avg QP:12.50  size:151868
x264 [info]: frame P:45811 Avg QP:15.08  size: 45809
x264 [info]: frame B:97857 Avg QP:18.47  size: 12374
x264 [info]: consecutive B-frames:  3.6%  6.3% 37.8% 52.3%
x264 [info]: mb I  I16..4: 27.5%  0.0% 72.5%
x264 [info]: mb P  I16..4: 17.6%  0.0%  0.0%  P16..4: 60.3%  0.0%  0.0%  0.0%  0.0%    skip:22.0%
x264 [info]: mb B  I16..4:  2.6%  0.0%  0.0%  B16..8: 27.1%  0.0%  0.0%  direct:12.8%  skip:57.4%  L0:30.9% L1:38.0% BI:31.2%
x264 [info]: final ratefactor: 14.15
x264 [info]: direct mvs  spatial:99.7% temporal:0.3%
x264 [info]: coded y,uvDC,uvAC intra: 58.4% 68.5% 47.7% inter: 21.4% 21.3% 6.6%
x264 [info]: i16 v,h,dc,p: 36% 29% 21% 13%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 23% 15%  3%  9%  6%  7%  6%  9%
x264 [info]: i8c dc,h,v,p: 48% 23% 20%  9%
x264 [info]: Weighted P-Frames: Y:2.0%
x264 [info]: kb/s:5065.43

encoded 147531 frames, 38.81 fps, 5065.43 kb/s

Code: Select all

SIZ 1920 x 1088 
FPS 24000 / 1001
CODED 147532
PLAYBACK 147532
0.00% FILM

Re: DGDecNV number of frames?

Posted: Tue Nov 02, 2010 9:19 pm
by admin
Load the AVS script in VirtualDub and do File/information. How many frames are shown.

Post a link to the complete DGI file.

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 2:13 am
by Didée
Oh, this report reminds me of .... when I did the stacked comparison of DGSource(deinterlace=2) with other bobbers, the GPU-bobbed stream was off by one frame compaired to all other filters which were fed by DGDecode_mpeg2source. Not sure anymore if it was one frame early or late, but off it was. (Encountered with the VOB sample I had uploaded.)

One frame of a bobbed stream means one field of the input stream, hence I assume it's not the source filter, but the deinterlacer.

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 7:21 am
by rack04
neuron2 wrote:Load the AVS script in VirtualDub and do File/information. How many frames are shown.

Post a link to the complete DGI file.
I'll post the requested information tonight. Unfortunately I don't have access to the DGI file from work but I wanted to post so that you knew I was still following this thread.

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 5:40 pm
by rack04
VirtualDub reports 147531 frames.

Image

I have uploaded the DGI file to the following link.

http://www.mediafire.com/?g53taa83fpcbznt

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 7:05 pm
by admin
The final GOP is:

RPS 18880259063
I 18880259071
FRM 6 116 0 1
FRM 6 117 0 1
FRM 7 118 0 1
FRM 6 119 0 1
FRM 6 120 0 1
FRM 5 121 0 1
FRM 6 122 0 1
FRM 6 123 0 1
FRM 5 124 0 1
FRM 6 125 0 1
FRM 5 126 0 1
FRM 6 127 0 1
FRM 6 128 0 1
FRM 5 129 0 1
FRM 6 130 0 1
FRM 6 131 0 1
FRM 5 132 0 1
FRM 6 133 0 1
FRM 5 135 0 1

Because POC=134 is missing I suppress 135 for display. Now the question is whether the file is really missing POC=134 or did DGIndexNV miss it. So please post a link to the last 50 MBytes of the source file.

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 7:07 pm
by admin
Didée wrote:Oh, this report reminds me of .... when I did the stacked comparison of DGSource(deinterlace=2) with other bobbers, the GPU-bobbed stream was off by one frame compaired to all other filters which were fed by DGDecode_mpeg2source. Not sure anymore if it was one frame early or late, but off it was. (Encountered with the VOB sample I had uploaded.)

One frame of a bobbed stream means one field of the input stream, hence I assume it's not the source filter, but the deinterlacer.
That's a known quirk of PureVideo and not relevant here. But thanks for bringing it up as a possible theory.

Re: DGDecNV number of frames?

Posted: Wed Nov 03, 2010 7:48 pm
by rack04
Here ya go. I used DGSplit and set the chunks to 50 mb. The last file ended up being only 8.21 mb so I have zipped the last two files for you to investigate. Let me know if you need anything else.

http://www.mediafire.com/?rnxg73yhw4rcw7o

Re: DGDecNV number of frames?

Posted: Thu Nov 04, 2010 10:49 pm
by admin
It's a stream problem and so not a bug.

Be happy that you are missing only a single black frame at the end of the file.

Re: DGDecNV number of frames?

Posted: Fri Nov 05, 2010 11:40 am
by rack04
Thank you for investigating the problem. I guess I need to spend a little time figuring out whether the problem is in the source or perhaps anydvd or eac3to caused the problem.

Re: DGDecNV number of frames?

Posted: Fri Nov 05, 2010 3:28 pm
by admin
rack04 wrote:Thank you for investigating the problem. I guess I need to spend a little time figuring out whether the problem is in the source or perhaps anydvd or eac3to caused the problem.
Why bother about it?

Re: DGDecNV number of frames?

Posted: Mon Nov 08, 2010 7:26 am
by rack04
So I can send a bug report to the appropriate person. They'll never know something is broken unless people report problems. Unless of course it is in the original stream.

Re: DGDecNV number of frames?

Posted: Mon Nov 08, 2010 7:29 pm
by admin
Did you just cut the M2TS off the disk leaving the EOF completely intact, or did you demux or something? If it's a straight cut from the M2TS including the full EOF, then it's in the stream.