Quantcast KDVD: How to Fix these Blocky Scenes? - digitalFAQ.com Forums [Archives]
  #1  
06-13-2006, 06:08 AM
hawk123 hawk123 is offline
Free Member
 
Join Date: Sep 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
I have tried to compile 6 Hours DVD into a single DVDR.

Here is what I have done:
1) Rip the dvds into Harddisk.
2) Demux the movies into its elementary files (.m2v, ac3, .sup ) using PGCDemux.
3) Load the .m2v files into Virtualdub MPEG2 (latest version) and then frameserve it to TMPGEnc Plus.
4) In TMPGEnc Plus, I made some modifications to the standard DVD-NTSC (16:9) template that come with the program since I would like to keep the movie in 29.97kps, the following is the modifications I have done to the template:
a) MPEG Settings tab - Bitrate: 2195 kps
- Motion search precision: Highest Quality (Very slow)
b) Quantize matrix tab - using the matrix provided in the KVCD Official Specification for KVCD and KDVD.
5) Then, encoded. It tooks me about 3 ~ 4 hours for encoding a 50 min movie.

The output is however dissatisfied at some scenes. Examples are as follows:

Scene 1:

Scene 2:


As you can see, the scenes are blocky, especially when it come to a scene that has a mix of black and fire. What could be the problem?
Anyone know what is my problem please help me to solve it.

TQ in advance.
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  
06-13-2006, 06:59 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For me the defaults in your snapshots all lie on interlacing/pulldown issue.

All your process is wrong. IF you simply put the demuxed streams in virtualmod to frameserve tmpgenc, you are completly screwed up by the interlacing.

Maybe it's possible to set correctly tmgenc and virtualdub to deal correctly with that, but you should use DGIndex and a proper avisynth script (or simply use the d2v file as source in tmpgenc, it can use it).

Note: you won't put 6 hours of fullscreen material on a single disc. widescreen (letterboxed) may be but not fullscreen.
Reply With Quote
  #3  
06-13-2006, 08:10 AM
hawk123 hawk123 is offline
Free Member
 
Join Date: Sep 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
TQ for the reply, Phil.

Yup, the movie is letterboxed.

Could it be done by just appliying deinterlaced filter in the Virtualdub or TMPGEnc?
The main reason I import the demuxed stream into virtualdub is that I'm a newbie and I have no any IT and script writing background. It already took me days just to try to write a proper and working avisynth scripts to do that. Second, I would like to add a logo on the movie and to have it appears on certain scenes. As I know Avisynth don't have any logo filter, but it can imports virtualdub logo filter into it. Again, its script is far more than what I can understand.

Is there any way to do this with a promising result?
Reply With Quote
  #4  
06-13-2006, 08:20 AM
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
Try to understand what Phil just said.
Get loose of VDub framserving.
Use DGIndex and AVISynth to properly frameserve your movie into Tmpgenc or any other software encoder.
In the mean time try to understand how AVISynth works.
With AVISynth you can always apply some filters to deinterlace your source.
Cheers
__________________
Rui
Reply With Quote
  #5  
06-13-2006, 08:54 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 rds_correia
In the mean time try to understand how AVISynth works.
Or if you don't want to go there, as I said you can use the d2v file produced by DGIndex as source in tmpgenc.

For me the situation should be :
1/ the DVD is a pulled down movie : set DGIndex to "Force film", encode in tmpgenc in progressive (24 fps) and use pulldown.exe (or Dopulldown if you prefer or graphical interface). Then you will have a proper 29.97 stream to do you KDVD.

2/ altenatively, you can ask to tmgenc to do the pulldown by itself (use "29.970 (internally 23.976)" setting for output)

3/ or you source is trully interlaced, then you set DGIndex to "honor pulldown", and you encode in interlaced mode (29.970) in tmpgenc.

but learning avisynth will be a much better idea

Edit: the logo can also be dealed with avisynth, but not directly with tmpgenc.
Reply With Quote
  #6  
06-13-2006, 10:08 AM
hawk123 hawk123 is offline
Free Member
 
Join Date: Sep 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you for all your replies.

I will try to work on Avisynth script writing.
Reply With Quote
  #7  
06-14-2006, 04:19 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
2195 kbps is also very little for a complex scene, like scenes with fire are.
Reply With Quote
  #8  
06-19-2006, 01:27 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
2195 kbps is also very little for a complex scene, like scenes with fire are.
with low BR's try using autoqmatenc with QmatOp as active.
Reply With Quote
  #9  
06-19-2006, 03:08 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 supermule
with low BR's try using autoqmatenc with QmatOp as active.
Please, KVCD dealed with low bitrate YEARS before libav codec derived craps came to life. And BTW 2200 is really not a low bitrate, I'm doing KDVD with such bitrate right now with absolutly no problem, and no blocks (not in fullscreen nevertheless).
Reply With Quote
  #10  
06-19-2006, 06:40 AM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Well 2200 is average bitrate for this movie. IMO MPEG2 use certainely very higher local bitrate for this specific scene. But don't forget that for very complexe and long high motion scence (like fire or water motion) even 9 Mbps for average can not help. Probleme here is simply vbv saturation for DVD standard ... and not MPEG2 itself (libavcodec, CCE or other MPEG2 encoder will not solve this problem simply because quantizer is very high to respect vbv specifications)
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
Reply With Quote
  #11  
06-20-2006, 01:48 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Sagittaire
simply because quantizer is very high to respect vbv specifications)
Thats why I said enable QmatOp, its optimizing the matrix based on video.
Reply With Quote
  #12  
06-22-2006, 01:42 AM
gamma gamma is offline
Free Member
 
Join Date: Nov 2003
Location: Rotterdam (The Netherlands)
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
I think the best shot is to use HCenc with the notch.
Qmatop function is a nice initiative, but for lower bitrate encodes the notch is just always better IMO.
Reply With Quote
  #13  
06-22-2006, 08:13 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by gamma
I think the best shot is to use HCenc with the notch. Qmatop function is a nice initiative, but for lower bitrate encodes the notch is just always better IMO.
I disagree to this, with QmatOp, AQM can go way below than HCenc and results are better.
Reply With Quote
  #14  
06-22-2006, 08:18 AM
gamma gamma is offline
Free Member
 
Join Date: Nov 2003
Location: Rotterdam (The Netherlands)
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by supermule
Quote:
Originally Posted by gamma
I think the best shot is to use HCenc with the notch. Qmatop function is a nice initiative, but for lower bitrate encodes the notch is just always better IMO.
I disagree to this, with QmatOp, AQM can go way below than HCenc and results are better.
That's interesting, seems like I have to do some tests
What version are you using?
Reply With Quote
  #15  
06-26-2006, 02:53 AM
supermule supermule is offline
Free Member
 
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by gamma
Quote:
Originally Posted by supermule
Quote:
Originally Posted by gamma
I think the best shot is to use HCenc with the notch. Qmatop function is a nice initiative, but for lower bitrate encodes the notch is just always better IMO.
I disagree to this, with QmatOp, AQM can go way below than HCenc and results are better.
That's interesting, seems like I have to do some tests
What version are you using?
AQM 0.33.0.4, I saw that the 0.33.0.5 has some problems with dark movies(as per AQM forum), as a new routine has been introduced in the latest ver, and it hasnt worked as expected.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdvd: movement in scenes jerky? khusru Video Encoding and Conversion 8 03-08-2004 12:17 PM
water scenes seems pretty blocky and not clear? the_ray Video Encoding and Conversion 0 11-13-2003 06:04 AM
TMPGEnc: Why do Preview Window scenes already look blocky? Jellygoose Video Encoding and Conversion 8 02-04-2003 12:13 PM
getting a blocky video during high action scenes? eladbern Video Encoding and Conversion 1 06-16-2002 10:05 PM
KVCD: Underwater scenes really blocky? syk2c11 Video Encoding and Conversion 1 06-12-2002 04:20 AM

Thread Tools



 
All times are GMT -5. The time now is 07:06 PM  —  vBulletin Jelsoft Enterprises Ltd