PDA

View Full Version : placing n-vops together with b-frames problem


bond
26th December 2005, 11:22
the framedropratio option is now supposed to add n-vops also when b-frames are used, when no b-frames are in current queue

now syskin meant that using packed bitstream or not shouldnt make a difference, but in my tests this isnt that way:
there is a difference between using pb and not using it regarding real n-vops placement as it seems with pb more n-vops are placed in the stream than without pb (i am of course not talking about the pb dummy n-vops) in my test sample

can anyone reproduce this?


another thing:
syskin explained to me that the placement should works as follows:
PBI turns into PPI (closed gop) which in turn changes into PNI, so in *theory* any PP changes into PN if drop ratio is high enough, but if difference between p-frames is so small, the second P will almost certainly be B

so i wondered what ~ framedropratio will actually lead to a N, as small differences lead to B and high differences to P?

in my not packed test encode (not perfectly identical black frames) the very last frame was only a N (PBN) only with fdr100 (with packed bitstream there were more, none at the end, but i think thats a bug as written above)

Caroliano
30th December 2005, 01:48
I can help if I have the necessary tools. Where I can find the latest Xvid build that has this pach? And how I can measure how many N-vops an encoded Xvid stream has?

I have to do it in identical frames with the fdr0 or in normal film with fdr100? Or both? If the first case, what is the best way to generate an clip like that? I can use avisynth's Dup(threshold=100,chroma=false,show=true)?

N-vops are already working well w/o B-frames or there still problems of output too few n-vops?

Caroliano
3rd January 2006, 20:31
Hello...

bond
13th February 2006, 23:12
someone has posted a patch on the xvid maillist fixing this problem available here:
http://list.xvid.org/pipermail/xvid-devel/2006-February/005312.html

movmasty
10th June 2006, 10:41
Dont know in xvid, but in my old encodes with ligos in mpg1, there was a way to halve the frame rates by setting a null frame each other frame.

null frames could only substitute a b frame, and you could choose to drop each other b frame, or 2 b frames of 3, and so on.

but this is a fixed ratio, not regarding the similarity of frames.

SeeMoreDigital
10th June 2006, 11:30
There has been a recent development with regard to generating MPEG-4 (XviD) encodes with N-VOPs...

You can read more about it here: -

http://forum.doom9.org/showthread.php?t=111622


Cheers