PDA

View Full Version : XViD to force KF someday ?


Pen-Pen
23rd May 2003, 18:21
hi

I fell in love with One-Pass Q2... Is it considered to include in a future XViD release a feature that allows one to tell the codec to force KF at certain places (in order to achieve Ogg chaptering in One-Pass mode) ?

thx in advance :)

duartix
23rd May 2003, 18:29
DVD2OGM author DVD said several times he will adress that issue.
Check it here (http://forum.doom9.org/showthread.php?s=&threadid=44775).

bilu
23rd May 2003, 18:29
Have you checked this thread

http://forum.doom9.org/showthread.php?s=&postid=316921#post316921

and Koepi's StatsReader, included in his build?


Bilu

Pen-Pen
23rd May 2003, 18:33
Originally posted by bilu
Have you checked this thread

http://forum.doom9.org/showthread.php?s=&postid=316921#post316921

and Koepi's StatsReader, included in his build?


Bilu

yep, anyway it's for one-pass fixed quant encoding, so no stats file involved ;)

bilu
23rd May 2003, 18:39
If you do a 2-pass first pass encode and disable the "Discard 1st pass" option, you will be doing the 1-pass Q2 encoding you like so much PLUS a stats file! :o

Of course it can't help for Q3... :D

Bilu

mf
23rd May 2003, 19:47
This feature is in dev-api-4.

duartix
23rd May 2003, 19:48
(EDIT)
Replying to bilu:
(mf was to fast for me)

Why should he do 2 Passes then?
I know exactly what Pen-Pen feels like. I'm also waiting for this for a long time. :( :( :(
There is no point in 2 Pass filtering + encoding when you are using a fixed quality/quantizer.
I'm just going for lower quantizers though (I,P,B) (2,3,4)

bilu
23rd May 2003, 20:12
2-pass 1st pass = 1-pass Q2 + stats file


You can use first pass only if you disable "discard first pass", there is no need to do the whole 2-pass process.

But this will solve your case just for Q2, that's what a first-pass is all about.


Bilu

Pen-Pen
24th May 2003, 18:49
Originally posted by bilu
2-pass 1st pass = 1-pass Q2 + stats file


You can use first pass only if you disable "discard first pass", there is no need to do the whole 2-pass process.

But this will solve your case just for Q2, that's what a first-pass is all about.


Bilu

I don't see how it helps me inserting kf...

anyway, there IS a solution, but it's quite boring : encode each chapter seperately, and then join them...

that's why a feature like "import forced kf list" with a simple txt file containing the frame numbers to be forced as kf would be nice... ;)

bilu
24th May 2003, 23:54
You're right.

Sorry, I was mistaken all the time :rolleyes:

It may be a good point: getting chapter info from ChapterXtractor or some other tool and then use the info on the codec, forcing a keyframe on encoding.

That would be nice for both one-pass and two-pass encodings, since recently KFEnforcer had (and may still have) a problem forcing keyframes in XVID encodes that were using b-frames.

If we could force keyframes this way we wouldn't have this kind of problems.


Bilu