Quantcast FFmpeg: FFvfw Testing Results/Concerns - digitalFAQ.com Forums [Archives]
  #1  
03-03-2004, 02:05 PM
poerschr poerschr is offline
Free Member
 
Join Date: Feb 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
WELCOME TO FFVFW WORLD!!!!

I have decided to post a new thread that only relates to FFVFW, as the other thread seems to be foucsed upon MEncoder exclusively.

I believe that I have solved a problem that I ran into with blocks created around low bitrate areas within frames. Notice that I did not say low bitrate scenes, as ffvfw sections off areas within frames and applies a heavy compression. At low bitrates this is not a problem, but for the higher bit rates of DVDs, it proved to be too ugly for me to stand. The setting of spatial complexity masking seems to solve this, higher settings create less blocks. Confirmation of these results will be posted sortly tonight...

Also, one of the advantages of doing a two pass encoding is being able to tailor the final file sizes to an appropriate lenght that matches the amount of data used up by the stream. For example, for BluePlanet episode 1 first pass ended up being around 1,300,000 KB in length, while BluePlanet episode 2 ended up being only 502,000 KB in length. Rather than having both of the files encoded at, say, 800 MB, would can tailor the file sizes to give extra data to the much large episode 1. That way constant quality is preserved, rather than adjusting the Q level in CCE or TMPGence (for example).
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
  #2  
03-04-2004, 06:30 AM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Poeschr,

I'v experienced the same 'ugly' blocks you ran into (high and low bitrate encodings). Both Mencoder and ffvfw gave me those blocks on flat survaces. A post by Marcellus gave me a direction in which to search for a sollution. Marcellus wrote that he thought that the blocks were due to 'over quantizing' of flat survace's and that he wished he could use min_quantizer=1. With mencoder I tried it and no blocks! But maybe more interesting is the fact that when I turned of 'trellis' the blocks were also gone. I believe trellis is doing a to good job in quantizing (over quantizing) the frames. The filesizes went up whithout trellis ofcourse....

Maybe you could try this with your settings in ffvfw (I only tried Mencoder sofar. ffvfw is so sloooooow compared to Mencoder.)

Tinus
Reply With Quote
  #3  
03-04-2004, 01:15 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by staigerpaip
(I only tried Mencoder sofar. ffvfw is so sloooooow compared to Mencoder.)

Tinus
You bet staigerpaip
I wonder why since both are based on the same code
Hope we can find that out with Milan's help.
Cheers
__________________
Rui
Reply With Quote
  #4  
03-04-2004, 02:02 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Mencoder is compiled under the GCC ports MinGW/Cygwin, while FFVFW is compiled under Visual C++. And I read a while ago the FFVFW developer (forgot his name) saying that libavcodec (the commom part of mencoder and FFVFW) gets a lot slower when compiled in Visual C++.
Reply With Quote
  #5  
03-04-2004, 06:29 PM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
I have to specify the 'ugly' blocks a little bit more. My findings are the combination of trellis with low bitrates. With dvd specs there are no notible blocks. With svcd specs (min-300, max-2500, avg-1000) combined with trellis the blocks are VERY notible on flat surfaces.
Reply With Quote
  #6  
03-05-2004, 01:36 PM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by staigerpaip
I have to specify the 'ugly' blocks a little bit more. My findings are the combination of trellis with low bitrates. With dvd specs there are no notible blocks. With svcd specs (min-300, max-2500, avg-1000) combined with trellis the blocks are VERY notible on flat surfaces.
Try this on FFVFW as a replacement for trellis, it's faster and may work better:

Input -> Enable Image processing -> Blur & NR -> denoise3d 4,3,6 -> HQ

And this solved me a B-frame problem is a nasty anime stream I have (nasty = interlaced, blended fields, high motion, very complex scenes)

Motion Estimation -> Me pre-pass -> Allways

Note: my feedback comes from mencoder testings.

Bilu
Reply With Quote
  #7  
03-06-2004, 04:00 AM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, I know. I follow your posts in the mencoder tread close. Very interesting. I'm not testing ffvfw anymore, just mencoder. I also abandoned trellis. To slow and blocky (I'm testing SKVCD). Thaks for the tip on the prepass. I also have difficuties with the b-frames (pictures is not solid between b-frames. I get see-sick watching it ) If I have some results, i will post them in the mencoder thread.

Greet's,

Tinus
Reply With Quote
  #8  
03-07-2004, 12:45 PM
poerschr poerschr is offline
Free Member
 
Join Date: Feb 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
yes testing confirms it..turning off trellis q reduses the blocks...
Reply With Quote
  #9  
03-11-2004, 12:11 PM
poerschr poerschr is offline
Free Member
 
Join Date: Feb 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Did some testing with "rate distoration.." found large blocky scenes at highbitrates...recommend using the default value of "fewest bits" - especially at DVD resolutions
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: Curious about H.263 in ffvfw poerschr Video Encoding and Conversion 14 02-25-2004 07:54 PM
FFMPEG: Observation about ffvfw poerschr Video Encoding and Conversion 28 02-24-2004 05:50 PM
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

Thread Tools



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