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 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th April 2004, 23:55   #41  |  Link
ObiKenobi
Guest
 
Posts: n/a
Not yet but I'll set up some passes tonight and test it out. I'll try to post some screenshots either tomorrow or Monday.
  Reply With Quote
Old 25th April 2004, 14:56   #42  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
@atreya2011:

to Q1: more like 100
to Q2: ment maximum Iframe interval (Advanced=>Motion=>Other) so, a value like 240
Selur is offline   Reply With Quote
Old 26th April 2004, 09:30   #43  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
After backing up two of my recent TV captures (X-Files episodes "Via Negativa" and "El Mundo Gira"), I've decided to use my matrix with all analog captures from now, since I'm really pleased with the results. I won't post any screenshots, since I didn't encode these episodes using other matrices. I've encoded both episodes with a constant quantizer of 2 and VHQ=4, all the other settings were the same as the ones I've used with "Redrum". Resulting filesizes are 195 M ("Via Negativa") and 380 MB ("El Mundo Gira") - no wonder, since the "El Mundo Gira" capture was more noisy than the one of "Via Negativa".

This matrix still needs to be tested with DVD source. The K-PAX encode should be finished until Friday .
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 26th April 2004, 10:02   #44  |  Link
Aktan
Registered User
 
Join Date: Feb 2002
Posts: 303
Quote:
Originally posted by Selur
btw. for those who encode animes:
you might also want to check out what happens if you boost b-frame sensivity, set b-frame offset to 0 and ratio to 1.0,.. (oh and set max b-frames to max i-frame distance)

You would sometimes get problems like this: http://forum.doom9.org/showthread.php?s=&threadid=71651
Aktan is offline   Reply With Quote
Old 27th April 2004, 09:43   #45  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Guys, can you remember me? I'm the one who started this thread

Just kidding. I don't mind this DCTune discussion at all - it's very interesting.

Here's another series of screenshots from "Redrum" (HVS - Good Picture, HVS - Best Picture, MPEG, Evil v0.1, Jawor's 1CD):





__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 27th April 2004, 09:50   #46  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally posted by Jawor

Here's another series of screenshots from "Redrum" (HVS - Good Picture, HVS - Best Picture, MPEG, Evil v0.1, Jawor's 1CD):
Since You have source video can You encode them using DCTune based matrix and post screnshots to compare?
dimzon is offline   Reply With Quote
Old 27th April 2004, 11:49   #47  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Quote:
Yea, sorry about that . I've somewhat hijacked the thread in developing my own method for creating matrices.
Oh, I really don't mind.

Quote:
Also, you can stop using the Evil Matrix now - it's served its purpose as a test, and I think my current method far outstripes it in creating a quality encode.
I don't use it anymore. I've just used it in the "Redrum" comparison.
Quote:
I would appreciate it if you try my new method
I'll let you know if I'd try.

Quote:
I know that XviD supports (or at least, used to support) changing quantizations like this, but I think it's not mpeg4 compliant.
You're right, it's not
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 28th April 2004, 07:04   #48  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Here is the long-awaited report concerning the K-Pax encode.

AviSynth script:
Code:
Clip=MPEG2Source("D:\K_PAX\VIDEO_TS\K-Pax.d2v",cpu2="ooooxx")
Clip=Crop(Clip,8,70,-6,-72,align=true)
Clip=Deen(Clip,"c3d",1,6,8)
Clip=UnDot(Clip)
Clip1=Trim(Clip,0,165784)
Clip1=LanczosResize(Clip1,608,256)
Clip2=Trim(Clip,165785,171555)
Clip2=BilinearResize(Clip2,608,256)
Clip3=Trim(Clip,171556,172920)
Clip3=LanczosResize(Clip3,608,256)
Clip=Clip1++Clip2++Clip3
Clip=UnDot(Clip)
Return Clip
I had to use the built-in deringer from mpeg2dec3.dll, because the movie had a lot of visible ringing artifacts (the source DVD is a low-cost edition bundled with a Polish magazine).

XviD Settings:
MSP=6, ChromaME, VHQ=4
Trellis ON, quantizers 2-31
AQ, Qpel, GMC ON
B-frames 3/1.00/1.00
Packed bitstream OFF
"fast" first pass
B-VOP sensitivity 2 (movie), 30 (credits)
Greyscale zone and weight=0.30 for the credits
I left rest of the settings at their default values

Results:
Video filesize 602 MB
Average quantizer = 2.714

quantizers:
2 - 28.1 %
3 - 71.8 %
>8 - 0.1 %

frame types:
I-frames - 0.98 %
P-frames - 17.11 %
B-frames - 63.39 %
S-frames - 18.51 %

And some screenshots (probably they won't tell you much, since tere's nothing to compare ):







__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 28th April 2004, 12:17   #49  |  Link
SoonUDie
Registered User
 
Join Date: Dec 2003
Posts: 147
Quote:
Originally posted by Jawor
Here is the long-awaited report concerning the K-Pax encode.
Very nice looking! I wish there were comparisons, but with an entire movie I can understand why there aren't
__________________
Stuff was here at some point.
SoonUDie is offline   Reply With Quote
Old 28th April 2004, 19:28   #50  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Quote:
Originally posted by SoonUDie
Very nice looking! I wish there were comparisons, but with an entire movie I can understand why there aren't
Well, I'm quite happy with this encode

@dimzon: Thanks for testing my matrix.
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 1st May 2004, 13:22   #51  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Friends, would you mind if I branch your fabulous DC-Tune discussion into a dedicated new thread? I'm sure lots of people don't even know this discussion is going on here, and also this used to be the thread about Jawor's 1 CD matrix, after all.

Edit: Done. Please continuue the DC-Tune discussion here .
__________________
It's a man's life in Doom9's 52nd MPEG division.
"The cat sat on the mat."
ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl!

Last edited by Teegedeck; 1st May 2004 at 15:08.
Teegedeck is offline   Reply With Quote
Old 6th May 2004, 20:57   #52  |  Link
rlin
Registered User
 
Join Date: Mar 2004
Location: Sweden
Posts: 13
This is interesting

Hello


Im all new to using a quantization matrix, and im not really sure what its about. But as far as i can understand this thread is about "inserting" the best settings for 1CD backups using custom settings for Xvid.

Today i encoded Brotherhood of the Wolf using your matrix and got fairly good results. The picture is however a bit to grainy at times. Should i use a deinterlace filter? Could that help your matrix produce better result? Another thing that went wrong was the target size, the file was about 100 mb to small. My target size was 717 mb and i got a 617 mb file? Ehh my Audio A says 117 mb in g-knot, could that be the problem? In the avi-overhead area is however no audio checked.

Btw, Brotherhood of the Wolf is 2h and 17m, and my screen-res is 640 x 272.

I find this matrix-stuff wery interesting and ill keep testing it, and in the end i might actually understand how it works.


/Skerno
__________________
/ Wath is best in life? Crush the enemies, see them driven before you, hear the lemendation of the women. \
rlin is offline   Reply With Quote
Old 7th May 2004, 21:20   #53  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
Jawor, seems to provide good compression when used for MPEG2. Compression was the only thing tested.
DDogg is offline   Reply With Quote
Old 10th May 2004, 07:08   #54  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Re: This is interesting

Quote:
Originally posted by rlin
The picture is however a bit to grainy at times.
This matrix tends to keep grain indeed.
Quote:
Should i use a deinterlace filter?
Only if you can see interlacing artifacts on your source material.
Quote:
Could that help your matrix produce better result?
To be frank, I have no idea. As a rule of thumb, always deinterlace/IVTC unless you want to keep the interlacing (using the Interlaced encoding option) for playback on an interlaced TV.
Quote:
Another thing that went wrong was the target size, the file was about 100 mb to small. My target size was 717 mb and i got a 617 mb file?
My matrix is really compressible due to high quantizers.
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 10th May 2004, 09:38   #55  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Here's another comparison I made for you, folks. This time I used a low bitrate on a high motion scene to create visible blocking artifacts. The test clip is The Matrix Reloaded (R2, PAL) chapter 20. I used XviD 1.0 RC4, VirtualDubMod 1.5.4.1, AviSynth 2.5.4.

AviSynth script:
Code:
Clip=MPEG2Source("D:\MATRIX_RELOADED_DISC_1\VIDEO_TS\reloaded.d2v")
Clip=Crop(Clip,0,76,-0,-76)
Clip=Deen(Clip,"c3d",1,4,6)
Clip=Crop(Clip,2,0,-0,-0)
Clip=UnDot(Clip)
Clip=LanczosResize(Clip,656,272)
Return Clip
XviD settings:
target bitrate 600 kbps
"fast" first pass
MSP=6, Chroma ME, VHQ=4
maximum I-frame interval 250
Quarter Pixel, GMC, Trellis ON
B-VOPs 2/1.00/1.00
Quantizers 2-31
Packed bitstream OFF
B-VOP Sensitivity 1

Quantizers for H.263:
average quantizer = 8.685
5 - 0.6 %
6 - 3.3 %
7 - 8.9 %
8 - 24.1 %
9 - 36.5 %
>9 - 26.6 %

Quantizers for MPEG:
average quantizer = 9.044
5 - 0.1 %
6 - 2.0 %
7 - 6.6 %
8 - 17.3 %
9 - 34.7 %
>9 - 39.4 %

Quantizers for Low Bitrate Matrix:
average quantizer = 9.012
5 - 0.1 %
6 - 1.7 %
7 - 6.9 %
8 - 18.6 %
9 - 35.1 %
>9 - 37.8 %

Quantizers for HVS - Good Picture:
average quantizer = 8.731
5 - 0.2 %
6 - 2.1 %
7 - 8.0 %
8 - 26.5 %
9 - 39.5 %
>9 - 23.7 %

Quantizers for HVS - Best Picture:
average quantizer = 9.176
5 - 0.1 %
6 - 1.6 %
7 - 5.7 %
8 - 14.6 %
9 - 34.1 %
>9 - 43.9 %

Quantizers for Jawor's 1CD Matrix:
average quantizer = 8.321
6 - 2.4 %
7 - 12.9 %
8 - 39.9 %
9 - 35.7 %
>9 - 9.0 %

And here are the screenshots (H.263, MPEG, Low Bitrate Matrix, HVS - Good Picture, HVS - Best Picture, Jawor's 1CD Matrix):

Series 1 - The Merovingian
Look at these interesting blocking patterns on Merv's face and on the wall








Series 2 - Debris
Blocking artifacts in the dust cloud and on parts of the marble statue flying around






__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 10th May 2004, 09:39   #56  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Series 3 - Anti-Gravity
Compare the blocking artifacts behind the guy's butt and above his sword








Series 4 - Neo vs. A Bad Guy
Blocks and mosquitos all over the frame






__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 10th May 2004, 09:44   #57  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Quote:
Originally posted by DDogg
Jawor, seems to provide good compression when used for MPEG2. Compression was the only thing tested.
No wonder, since I used high coefficients. I designed this matrix to provide good compressibility.

Thanks for testing my matrix
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 10th May 2004, 14:02   #58  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Here's another series of screenshots from The Matrix Reloaded comparison (H.263, MPEG, Low Bitrate Matrix, HVS Good Picture, HVS Best Picture, Jawor's 1CD Matrix):

Series 5 - Cutting Edge
Even more blocky than the previous series





__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor is offline   Reply With Quote
Old 11th May 2004, 03:04   #59  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
@ Jawor

I wanna make sure you dont miss this !!!

Just coz your matrix got some real good results...


Bye
__________________

Visit my IRC channel

Last edited by Soulhunter; 11th May 2004 at 03:06.
Soulhunter is offline   Reply With Quote
Old 12th May 2004, 07:10   #60  |  Link
Jawor
Ex-ter-mi-nate!
 
Jawor's Avatar
 
Join Date: Jan 2004
Location: www.videoaudio.pl
Posts: 218
Here's another test: Star Trek: First Contact (R2, PAL) chapter 4. This chapter has some static scenes with panning and a scene full of smoke and shaky camera movements during the space battle. I was particularly curiuos how do the matrices cope with the smoke, so I took just one series of screenshots.

AviSynth script:
Code:
Clip=MPEG2Source("D:\DVD_VIDEO\VIDEO_TS\first_contact.d2v")
Clip=Crop(Clip,2,74,716,432,align=true)
Clip=Tweak(Clip,sat=0.75,bright=15)
Clip=Deen(Clip,"c3d",1,4,6)
Clip=UnDot(Clip)
Clip=LanczosResize(Clip,640,272)
Clip=UnDot(Clip)
Return Clip
XviD settings:
target bitrate 500 kbps
"fast" first pass
Qpel, GMC, Closed GOV, Trellis ON
B-VOPs 2 / 1.50 / 1.00
B-VOP Sensitivity 2
AQ, interlaced encoding, packed bitstream, Turbo, chroma optimizer, greyscale OFF
MSP=6, ChromaME, VHQ=1
Quantizers 2-31
maximum I-frame interval 250

The first five screenshots (H.263, MPEG, HVS Good Picture, HVS Best Picture, Jawor's 1CD Matrix):

Look at the blocky cloud on the left and notice that the rest of the frame looks much better.






Be patient, some other matrices are currently being tested with this clip.
__________________
Please excuse if my English is crappy.

Archive of my Xvid builds

http://www.videoaudio.pl
Jawor 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 16:21.


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