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 VIDEO CODEC (http://www.digitalfaq.com/archives/encode/7913-ffmpeg-ffvfw-video.html)

Dialhot 01-31-2004 12:43 PM

Quote:

Originally Posted by Dano
This only affects ffdshow encoding options, if you open the decoding options in the configuration dialog from ffdshow you will see that none of the changes you make in ffvfw are there. As a matter of fact there is an entry in VirtualVCR for "ffdshow encoder", separate from ffvfw.

ffdshow is the decoding part only of the codec (coder/decoder) called ffvfw :!:
I never said they are tied together, they are TWO COMPLETLY SEPARATED PROGRAMS using the same code. But one is used by the system as a directshowfilter (and can't be used by avisynth for instance if you don't use directshowsource), the second one is referenced as a codec under VFW API of windows.

The same way you can find directshow filter part only of Xvid codec. If oyu isntall only this part, you won't be abble to do any xvid with avisynth as it will said "no codec found for this source".

One more time CODEC and DSHOW FILTER is not the same thing

kwag 01-31-2004 01:05 PM

Quote:

Originally Posted by incredible
But even when I demultiplex it and assign a conform max. Bitrate .... when this stream loads into Bitrateviewer, almost at the end of the loading process, Bitrateviewer BOMBS!

That's strange. It hasn't bombed on me, not even once :roll:
Quote:


I chacked that stream using Restream:

FIrst it gave me an information that thius mpg2 stream gots a nonlinear quantisation! Which is normally a spec. of mpeg1.

And now here it comes: A VBV Buffer of 7!!!
Haven't had a problem with that either.
Quote:

And thats why I cant multiplex it for example in BBmpg where a lot of underflows do occur. I did that encoding using 352x576 and a file came out which fits incl. Audio exactl. one CDR80.
I don't get any under or over flows.
Quote:


But ... to me it seems that there is no VBV Buffer to set in ffvfw!

:cry:
No, there is not. However, if you can find one of the early beta version of TMPEG, TMPGEnc-0.11.20.97.zip with the english patch, there's an option in the MPEG tools that will let you correct the VBV buffer size. Give that a try.

-kwag

rds_correia 01-31-2004 01:31 PM

@All
Don't seem to be following you guys (Kwag/Inc).
Is there a problem with a vbv buffer being so low or not?
Because I should be experiencing muxing problems also (since I'm PAL also) and from a small 5 minutes
clip I did today with ffvfw and headac3he muxing with both mplex and bbmpeg gave me no
under or over flow errors at all.
If I wouldn't want to use VdubMod would there be any other app I could use instead?
@Kwag / Hydeus
Any news from Milan yet?
Do you still need to talk with him?
Would documentation help us here?
I hate :evil: when somebody suddenly disapears from the net...like Muaddib and Jorel...
Cheers

digitall.doc 01-31-2004 01:36 PM

Hi all,
hey incredible, I also didn't run in those problems ever. I don't know if it's a matter of size (you said 352x576). Maybe this codec, the less the resolution, the less the max bitrate and less VBV... do you think this is possible?.
I did my tests at least with 528x576 res., and could multiplex with bbMPEG without a trouble (no over nor under flows). Even I fed once TMPGEnc DVD author with a MPEG2 file without patching, and just got a warning, but did create the IFO and VOB files, that played fine in PowerDVD...
I guess that we have to test, test, test, and try different settings (what about changing in Motion Estimation, EPZS estimation to Adaptive?) in order to get the best of this codec. As I don't have idea how to adjust it, I just wait for any suggestion to test it.

Hydeus 01-31-2004 02:16 PM

I did'nt disapear (few free time, alot of work :evil: ). I also have no reply from Milan, but manual is no use for now, however few bugs need to be squash.

@Incredible
I also have this underflow problem with BBmpg in mux, and this files are jerky playable on standalone (when recorded with VCDEasy). Also the same files burned with Nero are perfect. Any idea why??

And for another thing. When setting postprocessing to full in ffdshow (under input/enable image processing) gave me smaler file with the same quality. Please anybody confim or deny. My eyes are subjective.

Edit: On the other hand, encoding is almost twice slower :(
Edit2: With postpr. and noise, speed increes a litle, but image is litle blured.

Dano 01-31-2004 02:29 PM

@Phil,

Sorry I didn't mean to imply that ffdshow was a decoder, just thought you didn't realize ffdshow's preprocessing filters could be accessed ffrom within ffvfw. I see I was wrong.

Dialhot 01-31-2004 07:02 PM

One question for Kwag or others : I just did a little test with ffvfw and in the end my video doesn't have a constant Q like yours in bitrateviewer.

The value runs from 2.25 to 3.36. Is that because I do not use pulldown (I am doing PAL) ? Or what can be the settings I missed ?

incredible 01-31-2004 09:25 PM

Same in my case! Strange!

You would ask now why my Bitrateviewer doesn't bomb, because in case of small samples it does import it well, but not full long ancoded movies.

http://www.digitalfaq.com/archives/error.gif

Watch the VBV Buffer size and also - although mpeg2 encoding - the (in regular to mpeg1 allocated) LINEAR Quantisation scaling.
(same output when demuxing before!)

vmesquita 01-31-2004 09:49 PM

Quote:

Originally Posted by Dialhot
One question for Kwag or others : I just did a little test with ffvfw and in the end my video doesn't have a constant Q like yours in bitrateviewer.

The value runs from 2.25 to 3.36. Is that because I do not use pulldown (I am doing PAL) ? Or what can be the settings I missed ?

Same thing here, and it's not a PAL issue since I am doing NTSC. But picture quality is still great.

Dialhot 01-31-2004 09:59 PM

Quote:

Originally Posted by incredible
Same in my case! Strange!

Except than my Q curve is more like the yellow one on your snaphop ! In fact both lines look like a montain lansdcape :-)

Quote:

You would ask now why my Bitrateviewer doesn't bomb, because in case of small samples it does import it well, but not full long ancoded movies.
I just have to reinstall my bitrateviwer as it hung as soon as I click on "open" icon :-(

Quote:

Watch the VBV Buffer size
Mine is also 7 and on the snapshop provided bu Kwag, it was also 7 :!: So that not seem to be a problem.

Prodater64 01-31-2004 10:11 PM

Hi: Why the Maximmum I frame interval in usual KVCD Template is 24 or 25 (ntsc or pal), and for ffvfw is 18 or 15?

incredible 01-31-2004 10:13 PM

Well my Q curve does look like influated by an intervall, so where do we have an intervall in our encoding: In the max. I framecount and also within the GOP itself. And I think its a issue of different B and P Frame Quantisation :idea: :idea:, even if its set equal in ffvfw settings.

Maybe that VBV 7 issue will give no Problem on DVD Mode or on diff. Standalones (where in regular 224 should be the one) but when muxing with bbmpg I got many many underflows as one encoding I did, did fit amazing on one CD80 and thats why I tried to mux a SVCD VBR using that.

Quote:

Originally Posted by Prodater64
Hi: Why the Maximmum I frame interval in usual KVCD Template is 24 or 25 (ntsc or pal), and for ffvfw is 18 or 15?

Cause we're doing in here kDVD encodings and thats why we use 18 NTSC and 15 PAL

Dialhot 02-01-2004 12:37 AM

Quote:

Originally Posted by incredible
Maybe that VBV 7 issue will give no Problem on DVD Mode or on diff. Standalones (where in regular 224 should be the one) but when muxing with bbmpg I got many many underflows

I know that ! But I wanted to say that Kwag also have a VBV=7 and DON'T have any underflow ! So that is not the VBV that cause this.

kwag 02-01-2004 11:14 AM

Quote:

Originally Posted by Prodater64
Hi: Why the Maximmum I frame interval in usual KVCD Template is 24 or 25 (ntsc or pal), and for ffvfw is 18 or 15?

Because we're testing ffvfw for making KDVDs. Not KVCDs.

Edit: :oops: was already answered :lol:

-kwag

kwag 02-01-2004 11:19 AM

Quote:

Originally Posted by Dialhot
I know that ! But I wanted to say that Kwag also have a VBV=7 and DON'T have any underflow ! So that is not the VBV that cause this.

Yes this is true Phil. The three movies I've encoded, all have a VBV size of 7.
But all have been progressive 23.976, and then ran through pulldown.exe and then DVDPatcher to patch the header to 8,000Kbps.
When muxed with Mplex, I've set "~DVD" in the muxing option, with all default values.
Multiplexing is flawless, without any underrun or overrruns.

-kwag

incredible 02-01-2004 11:24 AM

There really seems to be a PAL issue 8O
I did some comparisons between 23.976 and 25.000 using ffvfw, cce and TmpgEnc.

Ok, the Pal stream is a bit different in its treatment cause I did set the Slicer to NTSC and PAL GOP specs, therefore the sliced samples where shurely different, but that should not influate the average behavior of the modes I saw as posted here:


http://www.digitalfaq.com/archives/error.gif

But the very worse Q curve in compar. to CCE and Tmpg stands in no relation to the real quality in the video.
But Anyhow ... at the same endfilesize, ffvfw does look a bit better if seen as a whole! But if we would trust totally in bitrateviewer, Tmpg should look 3x worse but it doesn't if seen in the pics below.
(rised gamma/Luma via levels afterwards to compare dark parts)

http://www.digitalfaq.com/archives/error.gif

vmesquita 02-01-2004 12:30 PM

@incredible
This ffvfw screenshot look amazing... 8O What was the blockbuster setting you used? My encodes with ffvfw don't show this straight Q curve... :? I'll post later. :wink:

incredible 02-01-2004 12:45 PM

The pics are 2times scaled! And enlightned by Levels() But I think you did checked this already ;-)

Code:

Blockbuster(method="noise",detail_min=1,detail_max=20,variance=1.0,seed=4326)
This Setting ONLY affects the plain parts and NOT the details/Edges.
You can play with the "variance" values which do affect the noise level.

Also apply that one to your script at the very end before adding the blockbuster and then the borders:

Code:

DctFilterD(4)
DctFilter(1,1,1,1,1,1,0.5,0)

(Only to use at 704,XXX encodings cause they wont be stretched horizontally that much on Tv!!)

Which would mean if seen in the Matrix (here now in TmpgENc)

http://www.digitalfaq.com/archives/error.gif

That gives in my 1% Sample an advantage of compression from 13.886 to 12.898 kbyte Means 100mb less on the whole final encoding, but that also depends on the movie source and its detail quality.

On the Tv later you WON't see that less sharpenes as it even does not affect the sharpeness that much as compared to our MergeLumaBlur commands in the Ma! But its not recommendable when encoding at for example half DVD size (352x480).

kwag 02-01-2004 02:54 PM

Quote:

Originally Posted by incredible

Code:

DctFilterD(4)
DctFilter(1,1,1,1,1,1,0.5,0)


Hi Inc,

Are you aware that DCTFilter is included in ffvfw :?: ;)

http://www.digitalfaq.com/archives/i.../2004/02/5.jpg

-kwag

incredible 02-01-2004 04:05 PM

YEP! But not DCTfilterD() ! :mrgreen:
Without that, only the 2 right collumns would be filtered, and so I did the job as a whole in AVS.

And ... I like scripting :wink:


All times are GMT -5. The time now is 06:20 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.