Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd October 2008, 15:00   #1  |  Link
tobinaka
Registered User
 
Join Date: Aug 2008
Location: Japan
Posts: 45
Visualizing x264's AQ effects with AviUtl (MixAQ/OreAQ patches)

A Japanese x264 builder Seraphy developed aq-debug option, which puts out AQ log aside from video and stats outputs. And you can visualize this AQ log on the video by MBs, and can simulate by changing AQ values, using AviUtl with some plug-ins.



AviUtl is a free-software video editor for windows, developed by KEN-kun.

Seraphy's patches and AviUtl are provided in Japanese, so I prepared a guide to try them (all the authors gave me OKs):


-- Guide to visualize AQ effects --

1. Get aviutl99f.zip from the URL just below and unzip into AviUtl 0.99f. The dir "aviutl99f" will be made.
http://spring-fragrance.mints.ne.jp/aviutl/ (KEN-kun's AviUtl website)

2a. Get MP4Plugin_20080928.rar from the URL just below and unrar into MP4 plug-in for AviUtl.
http://seraphy.fam.cx/~seraphy/program/x264/MP4Plugin/ (Seraphy's website)
2b. Move "mp4export.auf" and "mp4input.aui" to the dir "aviutl99f" from the dir "MP4Plugin_20080928".

3a. Get AQDebug_20080812.zip from the URL just below and unzip into AQ-debug plug-in for AviUtl.
http://seraphy.fam.cx/~seraphy/progr...AQDebugPlugin/
3b. Move "AQDebug.auf" to the dir "aviutl99f" from the dir "AQDebug_20080812".

4a. Get enu.zip from "downlaod the english patches here" below "or, if it doesn't work:" in the URL just below and unzip into English filter for AviUtl.
http://www.geocities.com/fredledingo/aviutl.htm (AviUtl Tips and Tricks in English)
4b. Move "enu098d.aul" to the dir "aviutl99f" from the dir "enu".
4c. Download "aviutl.ini" from the URL just below to the dir "aviutl99f" for making it easier to use AviUtl in English.
http://www.tobinaka.com/files/aviutl.ini

5. Get aqdebug_samples.rar from the URL just below and unrar into 2 MP4 videos and 2 AQ logs. Don't rename them.
http://www.tobinaka.com/files/aqdebug_samples.rar

6. Double-click and run "aviutl.exe" in the dir "aviutl99f".
6a. To open "AQ Debug" window, choose "Setting" at the menu bar and check "AQ Debug" (maybe already checked and opened).
6b. Activate "AQ Debug" plug-in by checking the top-right box of the "AQ Debug" window. (You can activate it by choosing "Filter" at the menu bar and check "AQ Debug".)

7. Drag and Drop MixAQ.mp4 or OreAQ.mp4 on AviUtl window. And you see AQ effects on the video. You can also simulate it by changing AQ values.

Try and see it!

(the samples uses Nippori-Honsha's Flash anime "Jirocho 3gokushi".
http://homepage3.nifty.com/humu/iai2.htm
You can also get the uncompressed AVI from the URL just below. Use it as an example for anime encoding if you want.
http://www.mediafire.com/?sharekey=a...db6fb9a8902bda )


-- To put out AQ log --

To put out AQ log, use --aq-debug option. It's available at seraphy's MixAQ and OreAQ patches. (To read AQ log in AviUtl, you need MP4 plug-in, AQ Debug plug-in and need to make the filenames of mp4 and AQ log into the same like "mooo.mp4" and "mooo.aq" in the same dir.)

You can get MixAQ-patched and OreAQ-patched x264s from the URL just below:
http://seraphy.fam.cx/~seraphy/progr...1%BE%E3%81%91/

They includes the diffs and x264 plug-ins for AviUtl. To use x264 plug-in, move "x264gui.auo" and "x264gui.ini" to the dir "aviutl99f". (You can put the plug-ins into the dir "Plugins" at the dir "aviutl99f".)

Seraphy's other diffs:
http://seraphy.fam.cx/~seraphy/program/x264/src/


-- MixAQ and OreAQ --

I've already explained how to use MixAQ and OreAQ in Current Patches thread:
http://forum.doom9.org/showthread.ph...41#post1172141
http://forum.doom9.org/showthread.ph...41#post1172941

MixAQ use VAQ and Haali's AQ at the same time or either one. You can use the negative value for VAQ. "-VAQ +HAQ" is for Anime encoding. You can use only VAQ with --aq2-strength 0 or only HAQ with --aq-strength 0. That helps you use AQ Debug with normal VAQ.

OreAQ has been developed because MixAQ takes many bits to encode. OreAQ save bits better than MixAQ with the slight quality lost.


For futher information, see longhelp. I hope this post help and motivate x264 users and developers. Thanks!

Last edited by tobinaka; 25th October 2008 at 02:28. Reason: Correct some mistakes.
tobinaka is offline   Reply With Quote
Old 23rd October 2008, 16:12   #2  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Awesome! Gotta try this soon. Thanks for the guide
Ranguvar is offline   Reply With Quote
Old 24th October 2008, 23:05   #3  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,169
Thanks, this looks really interesting. The url on #5 is wrong though, it should be http://www.tobinaka.com/files/aqdebug_samples.rar
Zarxrax is offline   Reply With Quote
Old 25th October 2008, 02:41   #4  |  Link
tobinaka
Registered User
 
Join Date: Aug 2008
Location: Japan
Posts: 45
Quote:
Originally Posted by Ranguvar View Post
Awesome! Gotta try this soon. Thanks for the guide
If you have some difficulties to try them, ask me here or by PM. Visualizing AQ effects on the video by numeric values, this AQ-debug patch is really worth trying and helpful to tune your AQ. Let me know how you think of it after using it!

Quote:
Originally Posted by Zarxrax View Post
Thanks, this looks really interesting. The url on #5 is wrong though, it should be http://www.tobinaka.com/files/aqdebug_samples.rar
What a silly mistake I did!
I edited immediately. Thanks!
tobinaka is offline   Reply With Quote
Old 30th March 2013, 13:29   #5  |  Link
nickintheforest
Registered User
 
Join Date: Apr 2011
Posts: 8
All links are dead now
nickintheforest is offline   Reply With Quote
Old 26th February 2018, 03:07   #6  |  Link
TomArrow
Registered User
 
Join Date: Dec 2017
Posts: 6
Does anyone have this? I'd love to try it, but as the former poster said, all links seem dead.
TomArrow is offline   Reply With Quote
Old 24th March 2018, 22:58   #7  |  Link
Great Dragon
Registered User
 
Great Dragon's Avatar
 
Join Date: Feb 2005
Location: Ukraine, Lviv
Posts: 121
https://github.com/jpsdr/x264/releases
Great Dragon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.