Quantcast FFmpeg: FFvfw Video Codec - Page 8 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #141  
01-29-2004, 06:23 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
To use, do I:

Rip with Decrypter?
Use AVS script with Telecide,Decimate,Filters as usual?
What do I load into VDub?

I know how to set up in VDub, just don't understand how to create the source.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #142  
01-29-2004, 06:56 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Nick

No hard to treat captures now, please! We are not at that step in the state here right now.

Just do a test on a clear and very good NTSC DVD Source using "forced Film" in DVD2Avi to obtain a 23.976 fps stream and by this generating a simple script WITHOUT telecining etc. further explanations you see in some posts more above (read the thread from the beginning to the end).
Reply With Quote
  #143  
01-29-2004, 06:56 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, just to be complete:
Tmpgenc gave me a SSIM of 81.33. Higher than CCE, but still below FFVFW. Maybe CCE got so low score because somehow softs the picture, making it different from the original.
Reply With Quote
  #144  
01-29-2004, 07:23 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I encoded my sample from the Lawnmover man using the noise parameters Kwag suggested on FFVFW. The file got real big, jumping from 33.594kb (without noise) to 67.112kb (more than double). Quality is better, but at this cost, I think it's not worth it.
Reply With Quote
  #145  
01-29-2004, 08:01 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Try to play with blockbuster() as yesterday (ok, I was working with that older build of ffvfw) I figured out that it cooperates very good with the ffvfw engine.

Find the optimal settings in blockbuster that stairs won't appear after encoding and also that most of the added noise will be quantisized off during encoding, means filtered out! By this my resulted filesizes did only grew up by ca. 1-2%.

As I also see in Kwags and mine samples, that ffvfw engine produces excellent edges/Details, but gots its problems in areas mention by me above. And thats a quatisation problem. We could say "ok, so the encoder does allocade more! quantisation to fast/complex parts within a whole frame, where on the other hand he provides less quant. on low movement picture parts within a frame" (which you also can set in CCE), but thats not logic as plain surfaces and dark/dark gray plain surfaces do sometimes also suffer. And thats I think the "secret" of that engine as it allocades quantisation in a different way as TmpgEnc or CCE ... so it could be just a matter of priority of quantisation where every encoder gots its on specs. and ways
Reply With Quote
  #146  
01-29-2004, 09:08 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
When I attempt to load simple avs for force film output from DVD2AVI:

## DLL Section ##
LoadPlugin("c:\video\dlls\MPEG2DEC3.dll")
mpeg2source("h:\ff\sw2.d2v"


I get "Couldn't locate decompressor for format 'YV12' (unknown)" from VirtualDub.

Should I download a YV12 codec and install? Where can I find this?

If I load a single VOB rip, it seems ok. Only when I try to use AVS script.

Also, as the source is 16:9, I am setting to this in ffmpeg. The DVD is anamorphic. Should I be setting to 16:9 and is there anything else I should be doing?

With DVDPatcher, what settings should I use?
Reply With Quote
  #147  
01-29-2004, 09:16 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nicksteel
Should I download a YV12 codec and install? Where can I find this?
You never did any DVD before ?
Yes you need a YV12 codec and Xvid is a perfect one. So even if you do not plan to do any xvid in your life you must install it.
Reply With Quote
  #148  
01-29-2004, 09:33 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by nicksteel
I get "Couldn't locate decompressor for format 'YV12' (unknown)" from VirtualDub.
Should I download a YV12 codec and install? Where can I find this?
Even you never did reencode a DVD, your PVR250 mpeg2 captures also come out as YUV 4:2:0 means YV12 to avisynth, and thats what I also don't understand like Phil above!
Quote:
If I load a single VOB rip, it seems ok. Only when I try to use AVS script.
Also, as the source is 16:9, I am setting to this in ffmpeg. The DVD is anamorphic. Should I be setting to 16:9 and is there anything else I should be doing?
With DVDPatcher, what settings should I use?
Sorry, but first this is NOT ffmpeg, we're talking here about ffvfw. And you should use Moviestacker as THAT one is responsable for correct 16:9 or 4:3 resized outputs via Avisynth code.

By using Moviestacker you will open a moviestacker generated avs in Virtualdub and safe there (as AVI) the new mpg by using fast recompress and the ffvfwmpeg4 codec at mpeg2 settings and data output to external mpeg file only. As explained some postings more above.

As explained by Kwag, you only use DVD patcher AFTER demuxing that outputted mpg to m2v to set a DVD compilant max bitrate in the header so the DVD auth. appl. does accept the stream.
Reply With Quote
  #149  
01-29-2004, 09:53 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Now the ffvfw: To me it seems that the noise adding even does make the surfaces like her arm a little bit uneasy BUT as seen as a whole the picture looks more natural! Look at her skin and it just "seems" to be more detailed (her eyes).
Exactly
And BTW, you might want to drop the noise value I suggested above by one or two points, to 7 or 6. I encoded the complete movie without noise and with noise, and without noise the video stream is 1,268,647KB and with a noise value of 8 it's 1,840,642KB. But the quality is AWESOME with noise
Quote:

Well we could now start a philosophy which one is better, the added noise one or the left as it is one of the ffvfw samples. But my conlcusion is that I do agree that in case of YOUR samples the ffvfw do look best!
Yep. Visually, ffvfw's encode is the most pleasing picture
And again, the motion estimation and colors of this CODEC are just EXCELENT

-kwag
Reply With Quote
  #150  
01-29-2004, 09:56 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by vmesquita
I encoded my sample from the Lawnmover man using the noise parameters Kwag suggested on FFVFW. The file got real big, jumping from 33.594kb (without noise) to 67.112kb (more than double). Quality is better, but at this cost, I think it's not worth it.
Hi Vmesquita,

Drop the noise to 6 or 7.
But I'm sure that when you encode the complete movie, the final size will not be twice the size of the same encode, without noise applied

-kwag
Reply With Quote
  #151  
01-29-2004, 09:58 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
YEP! But there's still the problem that most of the participants do not match your quality of quantisation even when using same settings, well as said, two possibilities could be responsable for this:

1. Update to the newest build of ffvfw needed (and that I'll figure out this evening)

2. For a good quantisation the weather is too cold in europe now compared to Puerto Rico or Brazil
Reply With Quote
  #152  
01-29-2004, 10:03 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
@incredible,

I retract from my previous comment about 3 B frames being better quality that 2.
The last sample screenshots, and the Sample #3, were encode with 2 B frames.
With 3 B frames, I can see more visible DCT blocks.
So it seems 2 B frames (IBBP) is the best overall quality setting for this CODEC.

-kwag
Reply With Quote
  #153  
01-29-2004, 10:04 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible

2. For a good quantisation the weather is too cold in europe now compared to Puerto Rico or Brazil
LOL
Reply With Quote
  #154  
01-29-2004, 10:08 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by nicksteel
Should I download a YV12 codec and install? Where can I find this?
You never did any DVD before ?
Yes you need a YV12 codec and Xvid is a perfect one. So even if you do not plan to do any xvid in your life you must install it.
Of course I do DVD and KVCD (using a lot of your advice!). I have never before installed Xvid and have had no YV12 problems using any avs script going into TMPGEnc. I just downloaded Xvid and installed. Now VirtualDub will accept the AVS. Thanks.

Incredible, I think this is the correct thread and I'm not talking about MovieStacker. Thanks.
Reply With Quote
  #155  
01-29-2004, 10:11 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by kwag
@incredible,
I retract from my previous comment about 3 B frames being better quality that 2.
The last sample screenshots, and the Sample #3, were encode with 2 B frames.
With 3 B frames, I can see more visible DCT blocks.
So it seems 2 B frames (IBBP) is the best overall quality setting for this CODEC.
I do totally agree afterwards as my samples yesterday showed best quality and compression when using 2 B Frames. Or my outputs do change every day in their behaviour

Or we should do try using 1 Bframe as it to me seems that in fast moving scenes I frames in some cases come out smooth and detailed where the following B Frames (sometimes) in these cases got Blocks.
This normally stays for a very hard Non-Intra quantisation of B and P Frames! So we also should figure out those B and P Frame parameters
Reply With Quote
  #156  
01-29-2004, 10:16 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Here are a couple of screenshots from my previous encode. One fast action scene, and one dark scene.




-kwag
Reply With Quote
  #157  
01-29-2004, 10:30 AM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
This encoder is sweet. I did an encode of a PVR-250 cap of Earth Final Conflict (from the SciFi channel) and the result was the best looking encode I have ever done, including DVD backups. I used Kwag's settings with 2 B frames and the MA script using lanczosresize at 704 x 480 with 2 blocks of overscan. I was shooting for a one cd encode and ended up with a 550 Mb .m2v even at 100 quality. I have been trying for a long time to get acceptable quality from STNG caps from Spike TV channel but the noise from this channel and the complexity of this show made me give up after a long time of trying all sorts of things. I was so impressed with the quality from the SciFi channel (which is a very clean source) I figured I would see what ffvfw could do with a noisy source. I know this might be hard to believe but the quality of the STNG was actually better than the EFC encode The only problem was the file size was over so I am reencoding it by adjusting the Quality to 95 based on sampler results. This should result in a slightly undersized file but I think greater accuracy can be gained by adjusting the quantisizers as well. This encoder seems to really like Kwag's MA script.
__________________
-Dano
Reply With Quote
  #158  
01-29-2004, 10:36 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dano
The only problem was the file size was over so I am reencoding it by adjusting the Quality to 95 based on sampler results. This should result in a slightly undersized file but I think greater accuracy can be gained by adjusting the quantisizers as well.
Hi Dano,

How about simply running ReJig (Requant) on your .m2v
Then, you don't have to re-encode
Worth a try
Quote:
This encoder seems to really like Kwag's MA script.
Yes it does, and even without the MA script, just with the notch the matrix, it seems to compress very well
BTW, forgot to say that the last sample (Sample #3) and the last screenshots (taken from that encode), were encoded without the MA script

-kwag
Reply With Quote
  #159  
01-29-2004, 10:37 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
(Maximum quality) and MAX bitrate set to 8,000Kbps
So I made a test with ffvfw CODEC, and I turned on "Enable Image Processing" on Input, and added "Noise" .
Check the following options:

Noise
New noise algorithm(avih)
Uniform Noise
Set Luminance noise strength to 8
Set Chroma strength to 0
How did you turn on "Enable Image Processing"?

I downloaded and installed ffdshow-20020617.exe from the site given on the "Input" screen, but still cannot enable.
Reply With Quote
  #160  
01-29-2004, 10:48 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@nicksteel
Visit this thread and grab the latest ffvfw and ffdshow:
http://www.kvcd.net/forum/viewtopic.php?t=8824
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG vs FFVFW vs Mencoder ? bilu Video Encoding and Conversion 561 04-15-2004 06:16 AM
FFMPEG: Observation about ffvfw poerschr Video Encoding and Conversion 28 02-24-2004 05:50 PM
FFMPEG: Ffvfw - What is video buffer verifier and what is it matter? Prodater64 Video Encoding and Conversion 1 02-23-2004 07:46 AM
FFMPEG: Do ffvfw and mencoder/ffmpeg give the same results? Razorblade2000 Video Encoding and Conversion 4 02-06-2004 04:23 PM
FFMPEG: XMPEG 5.03 and ffvfw kwag Video Encoding and Conversion 2 02-05-2004 10:57 AM




 
All times are GMT -5. The time now is 09:34 PM  —  vBulletin © Jelsoft Enterprises Ltd