digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   FFMPEG: Ffvfw settings to create KDVDs and KVCDs (http://www.digitalfaq.com/archives/encode/8019-ffmpeg-ffvfw-settings.html)

kwag 02-03-2004 06:15 PM

Quote:

Originally Posted by Anerboda
Will this affect filesize or quality??

Anerboda

I haven't really tried comparing with and without those options.
Still more options to play with. :)
But with the quality and space we're currently getting, I'm a VERY happy camper :drink: :lol:

-kwag

Jellygoose 02-03-2004 06:23 PM

Alright it's 22 minutes after midnight here, but after the sample I have just encoded I'm gonna have a goodnight beer. 8)

Edit: I see I don't have anymore in the freezer. Gotta take one out of the fridge then. :mrgreen: (just joking, i'm not an alcoholic)

Dialhot 02-03-2004 06:25 PM

Quote:

Originally Posted by kwag
Hi Phil,

Go to "Masking" option, and select "Luminance masking" and "Normalize adaptive quantization".
Now go back to "Quantization", and you can set Macroblocks to 2.
Then go back and deselect "Masking" options ;)

Okay, I try that right now.

Meanwhile I checked the sample you post in the top of this thread. It is actually as bad as mine ! :-(

One more time am I the only one that see the mosquitos (arround the title at the begining) ? The blocks (on the wall just above the same title, on the wall above Val Kilmer shoulder at sec #6, on the blue wall on the right of Carrie Ann Moss sec #8 and the most awfull, the brownish area on the right, under the "thing" where AMEE is writen, sec #9) ? The ants on the faces (Carrie Ann Moss, very last second of the sample).

I was fearing my sample was to complicate but I see that it is the codec that is not so powerfull.

(note : I use the same sample for all my testings since I started KVCD).

EDIT: Okay, my quantizer is set to 2/2 also for macroblocks now. But same result : the Q curve is a real saw blade. Average just dropped from 1.05 to 0.96 but max is still 2 and min 0.
I never had a linear (or near linear) Q curve with this codec, whatever the sample I encode (PAL and NTSC).

kwag 02-03-2004 06:38 PM

Hi Phil,

I want you to try something. Because the DCT precision in this CODEC is only 8 bits, change ALL values on the INTER portion (right side) of the matrix to "16" (the standard values for MPEG inter values).
So now the "KVCD Notch Matrix" will work only on the INTRA part.
Your encoding speed will now be lower (more frequencies are now being encoded), but the quality and MAX bitrate should be higher.
Tell me your results :!:

-kwag

Dialhot 02-03-2004 06:52 PM

Quote:

Originally Posted by kwag
Hi Phil,

I want you to try something. Because the DCT precision in this CODEC is only 8 bits, change ALL values on the INTER portion (right side) of the matrix to "16" (the standard values for MPEG inter values).
So now the "KVCD Notch Matrix" will work only on the INTRA part.
Your encoding speed will now be lower (more frequencies are now being encoded), but the quality and MAX bitrate should be higher.
Tell me your results :!:

Perhaps not tonight : I slept 4h last night, and not more the two nights before. And that not that is so late (1am insteed of 3:30 yesterday ;-)) but... I don't even understand what you are telling to me :lol:
I guess is the alarm that tells me "go to bed" :-)

BTW, I have to remove what I said just above : I set all values to 3, the sample size drop to 11 (insteed of 17) and with this size, CCE is... hum... I didn't even try to reach that value with it actually :-)

See ya tomorrow.

incredible 02-03-2004 07:04 PM

Quote:

Originally Posted by Phil
Okay, my quantizer is set to 2/2 also for macroblocks now

I'm not able to change somethin in "Macroblocks"! Its grayed out 8O

But Phil, ... look at these samples:
http://www.kvcd.net/forum/viewtopic....=asc&start=285

I first thought only on high CBR bitrate an high min quantizers the Curve will be constant, but my last one cd encoding sample on "The Core" showed thats a "settings" thing and I gonna find out how.

Also read there as I explained something about thats not important to archive a "constant" Q curve .... also a quote of Kika where he explains that Bitrateviewer thing.


Good night man! :)

Dialhot 02-03-2004 07:29 PM

Quote:

Originally Posted by incredible
I'm not able to change somethin in "Macroblocks"! Its grayed out 8O

See 3 or 4 post above this one, Kwag told me how to "ungray" the setting.

Quote:

Also read there as I explained something about thats not important to archive a "constant" Q curve .... also a quote of Kika where he explains that Bitrateviewer thing.
For sure. But I still don't understand WHY everyone has constant Q and not me. That means that there is something we miss in this codec and it a big issue to understand what !

Quote:

Good night man! :)
Just after this last test : I manage to deeply reduce the blocks in plain areas !

Remove all noise (in ffvfw or in the script), go in Motion Estimation tab and check all "Chroma" box. Change the shape of EPZS and ME diamond to "default".
And a little gift : the encoding speed raises while the file size decreases :-)

I'll do more test tomorrow. Bye.

vhelp 02-03-2004 09:10 PM

Kwag pal..

Very interesting thread.. 8)

Quote:

Note 2:
The produced .mpg file must be demuxed, and then run PULLDOWN.EXE on the file. This is for progressive sources.
Also, you must use DVDPatcher to patch the first header of the file to some bitrate, like 8,000Kbps. The encoded MPEG file reports a bitrate over the DVD standard, and DVD authoring programs won't import the file.
That's all you have to do. I imported my file into TMPGEnc DVD author, after this process, and worked like a charm
- - Request - -

:idea: :idea: Can you sticky this on the first page of THIS thread (and the other one,
which seems to be related) on that one's first page also ??
.
.
I had a hard time figuring out how to mux (still haven't done the mux yet)
but now that I do, I can't wait to try it :P
.
.
I've ben messing w/ this (finally got it figure out w/ MPEG-2 encoding) no
thanks to anyone here :( ..but.. .. .. I'm getting there anyways. Yeah, I've
ben doing my Star Wars AtackClones (Yoda scene :P ) and I'm making a
bit of progress. I followed your first steps (on page 1) and then after
reading Dialhot's, I got it down minus 2mb - - so that was a good
step in the right direction (I think) congrats to you and Dial and others here
and other thread on this ffVFW toy :P

-vhelp

vhelp 02-03-2004 09:16 PM

- - Request - -

can you make a quicky Matrix .txt file (or whatever fomat ffVFW requres) (left pan and right pan (both)) and post it on first page of thread so that we
can D/L it, instead of having to type it all in ?? ??

I'm still using the defualt matrix, and I'm already going blind. Thanks.
-vhelp

kwag 02-03-2004 09:35 PM

Quote:

Originally Posted by vhelp
- - Request - -

:idea: :idea: Can you sticky this on the first page of THIS thread (and the other one,
which seems to be related) on that one's first page also ??

Done :!:

-kwag

kwag 02-03-2004 09:36 PM

Quote:

Originally Posted by vhelp
- - Request - -

can you make a quicky Matrix .txt file (or whatever fomat ffVFW requres) (left pan and right pan (both)) and post it on first page of thread so that we
can D/L it, instead of having to type it all in ?? ??

Done (first post in this thread) :!:

Now you have A LOT of reading to catch up ;)

-kwag

vhelp 02-03-2004 09:43 PM

Reading, you say ??

..hehe, that's all I've ben doing, but I did skip a few pages. (much faster
when I'm surfing at work :P )

Listen, I did some testing, using MPEG2VCR. When I first try to open my
.mpg (avi wrapper) file in Bitrateviewer (or TMPG's tools) they won't open
for MUXing. I decided (since I don't have DVDpatcher) to try MPEG2VCR
for a test run. The clip muxed pretty fast, but there seems to be some
hesitation. I'm sure that my next step would be to do a real MUX job. But,
why do I need to do a 2nd MUX 8O - so, I'll try and find a good muxing app,
perhaps bbMPEG. Listen, if you're using bbMPEG, are you using the DVD
settings, or MPEG-2 settings ??

Wait..

Are you first muxing out your video/audio and then muxing them back
together, and then DVDpatching it, and Pulldown'ing it.

hmm...

Maybe you should cook up a A-Z receipee, so us dummy's can follow in as
shorter time 8O

Thanks for putting up w/ me :P
-vhelp

Krassi 02-04-2004 04:36 AM

Quote:

Originally Posted by Dialhot
Remove all noise (in ffvfw or in the script), go in tab and check all "Chroma" box. Change the shape of EPZS and ME diamond to "default".
And a little gift : the encoding speed raises while the file size decreases :-)

Hi Phil,
i've just had a look at the help file and there is an info about Chroma:
Code:

Warning: chroma doesn't work with b frames currently
Don't know if this is still applies.

EDIT: @All:
Have you already tried SATD with a higher diamond :?:

Hydeus 02-04-2004 04:52 AM

Quote:

Originally Posted by Krassi
Have you already tried SATD with a higher diamond :?:

Yes. Speed down, quality equal (a litle beter, but hardly noticable), so ther's no point to use it. SAD gives great results.
But I've used SATD with adaptive size 2 and 3. Dont know what will be with others diamonds.

To Phil and anybody intrested
With all this settings try MPEG1 instead of 2. 50% slower, but results ... 8)

Dialhot 02-04-2004 06:38 AM

Quote:

Originally Posted by Hydeus
With all this settings try MPEG1 instead of 2. 50% slower, but results ... 8)

We are doing KDVD...

Hydeus 02-04-2004 06:42 AM

I know :)
But for KVCD (as in the title also), you always say that MPEG1 is beter. This is my point.

Dialhot 02-04-2004 07:04 AM

Quote:

Originally Posted by Hydeus
(as in the title also)

Lol. Okay, I'll read the titles before answering next time :-P

kwag 02-04-2004 09:12 AM

Quote:

Originally Posted by Hydeus
To Phil and anybody intrested
With all this settings try MPEG1 instead of 2. 50% slower, but results ... 8)

Already tried it. Results not as good as MPEG-2.

-kwag

kwag 02-04-2004 09:13 AM

Quote:

Originally Posted by Hydeus
But for KVCD (as in the title also), you always say that MPEG1 is beter. This is my point.

But not with this CODEC. At least for the moment.

-kwag

Hydeus 02-04-2004 09:41 AM

With (S)VCD resolution and the same file size, I bet on MPEG1, even without notch matrixes. I've made MPEG2 test with settings you propose, and they're great, almost pure. But try MPEG1 on small resolutions and you'll se difference. I don't se this "color stairs" effect (with MPEG2 also hardly noticable), and I don't use any noise filter, only ffdshow postprocessed source. Plus there is less mosquito noise.

As always - my eyes are subjective 8)


All times are GMT -5. The time now is 05:21 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.