Logo by AGUS - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 23, 2024, 04:51:55 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Xvid settings  (Read 4405 times)
0 Members and 1 Guest are viewing this topic.
Madman
Fractal Molossus
**
Posts: 678



« on: October 13, 2011, 06:53:10 PM »

I'm trying to find the optimal settings for a crisp and sharp image while making movies in VirtualDub with the Xvid codec. Until now I always end up with compression artifacts or noise. I've tried single pass with everything on max Q and double pass to let VirtubalDub decide, to no avail. I don't really understand all the other dials and knobs (like bitrate claculator, zones, etc). Any tips or tricks are very welcome!
Logged

All I want is a warm bed, a kind word and unlimited power (Ashleigh Brilliant)
panzerboy
Fractal Lover
**
Posts: 242


« Reply #1 on: December 05, 2011, 12:26:24 PM »

I strongly suggest you use two pass.
Unless your videos have constant complexity and motion, a fixed bitrate will hit the wall and not provide enough bits for the fast moving complex scenes and waste bits in the slow simple scenes.

Firstly in virtual dub drop down the the video menu set the fast recompress option.
This avoids an unnecessary colorspace conversion and degradation, unless you're using filters.
Again in the video menu select compression, select your Xvid codec and click configure.
If your doing HD you may want to change the profile @ level to unlimited, otherwise you may be limited to the bitrate you can select.
Select the encoding type to be  "Twopass - 1st pass".
Ok, Ok back to virtualdub and from the file menu "Run video analysis pass".
There should be an Xvid status, make a note of the average bitrate that it shows when the video analysis is done.
Back to video menu, compression, configure and select encoding type of twopass - 2nd pass.
If need be click the Target size (kbytes) to change it to Target Bitrate.
Enter in the average bitrate from the Xvid status and I guarantee you'll see no compression artifacts.
Often you can get away with half of the average bitrate, especially if the average bitrate was crazy high, like 30,000Kbs.
ok, ok back to virtualdub and now you can save as avi.

The bitrate you need will depend on the complexity and swiftness of movement.
For my mandelbrot zooms I've used from 15,000Kbps to 7,000Kbps for 720p 30frame/sec videos.
I once had an extremely detailed, fluff all over the screen, mandelbrot zoom that had an average bitrate of 50,000Kbps.
I tried slowing it down to really boring speed but still couldnt get the bitrate under 35,000Kbps, so I abandoned it.
Fractals can be a worse case scenario for video codecs.
They assume there will be variation in detail and motion so they can steal some bits from low bitrate scenes to improve the appearance of the high bitrate scenes.
So you might give a thought to not trying for the most complex detailed fractal you possibly can.

My other suggestion is to try H.264, theres an open source version called X264.
You can get similar results to Xvid with half the bitrate.
It may quadruple your encoding time, its much harder on the CPU.
It doesnt have the nice status of Xvid to tell you the bitrate so you may have to experiment.
Remember you only have to run the 1st pass once, you can run the 2nd pass as many times as you like.
My poor old Pentium D can't quite serve the frames up fast enough in Windows media player and stutters quite bad, though VLC plays much better.
I use H.264 now because the file sizes to upload to YouTube are 1/2 to 1/4 the size of my Xvid videos.
I believe H.264 is YouTube's native format so they may mess (extra comprssion) with your video less if your bitrate is suitably low (5,000Kbps?).

That being said, with XVID you have the option of editing in virtualdub with direct stream copy setting, as long as you cut to key frames.
This means you don't have to recompress and suffer a generation degradation.
You just can't do that with H.264 because it puts keyframes in seemingly random places.
It does this so it can reference previous keyframes again, think of a dialogue scene between two actors.
The camera alternates between the two people so when the scene returns to a actor it can use the previous keyframe again. clever!

Of course the best way to do editing is with uncompressed video, and that's another story.

Logged
slon_ru
Iterator
*
Posts: 167



WWW
« Reply #2 on: December 05, 2011, 03:33:52 PM »

I make video with Xvid set "target quantizer"  to "2" (~16.000 kbps) or with h264 set Bitrate to VBR target=8000-15000. imho h264 make FullHD video quality better.
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Stereo settings Mandelbulb 3d bengvc 12 3544 Last post February 15, 2012, 11:23:13 PM
by Jesse
Anyone else noticed problems with Advanced Settings dialog box? Fractal eXtreme simon.snake 1 4919 Last post May 30, 2013, 10:56:34 PM
by kallisti
Keeping settings across projects Mandelbulb 3d rurik2000 0 1462 Last post February 24, 2014, 02:26:32 AM
by rurik2000
stereo settings and 360 panorama Mandelbulb 3d barcud 1 3851 Last post October 25, 2014, 02:23:36 AM
by NickVenden
stereo settings question mndelbulb 1,9,8 Mandelbulb 3d Frank Krischick 1 1380 Last post January 04, 2015, 09:22:00 AM
by Rathinagiri

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.141 seconds with 24 queries. (Pretty URLs adds 0.008s, 2q)