Quantcast KVCD: Bad Encoding ... Why? - digitalFAQ.com Forums [Archives]
  #1  
08-29-2004, 07:39 PM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
i have a few movies lately that when encoded it plays back choppy and blury like it is missing some frames and only has happened to these movies "the matrix , butterfly effect , and taking lives". has anybody experience this problem too? all other movies i tryed comes out fine. this is getting very frustrating cause i encoded 8 times total and getting bad results from dvd sources. i dont understand. how to i overcome this problem? PLEASE HELP!
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  
08-29-2004, 07:46 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by password
i have a few movies lately that when encoded it plays back choppy and blury like it is missing some frames and only has happened to these movies "the matrix , butterfly effect , and taking lives". has anyboy experience this problem too. all other movies i tryed comes out fine. this is getting very frustrating cause i encoded 8 times total and getting bad results from dvd sources. i dont understand. how to i overcome this problem? PLEASE HELP!
Hi: Please post all data needed. Source type, interlaced or progressive, anamorphic or not, source and target fps, encoder, etc., etc., etc.
Reply With Quote
  #3  
08-29-2004, 07:48 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@password,

We need more detail to begin helping you

If your source is DVD, then show your avs script file.
What steps were used, like DVD Decrypter, DVD2AVI (give version),
Moviesatcker settings, etc.

-BP
Reply With Quote
  #4  
08-30-2004, 12:51 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
sorry guys. here it is

ntsc dvd
- interlaced: not interlaced
- dvd decrypter 3.2.3.0
- dvd2avi 1.76 by LOLI.J

DESTINATION:

- KVCD
- Mode: mpeg 1
- Framerate: 23.976
- Resolution: 352x240
- Audiosamplerate: 44.1 khz
- Audio Enc Type: mp2
- Encoding Appl: TmpgEnc
- muxing Appl: BBmpeg
- Authoring Appl: Vcdeasy
- Burning Appl: Nero

Avisynth Version

- 2.5

Script used

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\DVD_VIDEO\THE_MATRIX\DVD2AVI_Proje ct_file.d2v")
#
undot()
asharp(1, 4)
Gripcrop(352, 240,overscan=1,source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
Reply With Quote
  #5  
08-30-2004, 05:55 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by password
sorry guys. here it is

ntsc dvd
- interlaced: not interlaced
- dvd decrypter 3.2.3.0
- 1.75 by LOLI.J
1 - When you said 1.75, is it DVD2AVI? If it is yes, you need to update to 1.76 or 1.77dg.

2 - You don't mention source fps. It can to be 29.970 and if it isn't interlaced, then is telecined. You must to do inverse telecine if it is the situation.
Reply With Quote
  #6  
08-30-2004, 05:58 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 Prodater64
1 - When you said 1.75, is it DVD2AVI? If it is yes, you need to update to 1.76 or 1.77dg.
He does a mistake. The "loli" version is the 1.77.3 and that is a correct version to use.
Reply With Quote
  #7  
08-30-2004, 02:58 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@password,

What settings were used with dvd2avi for audio and video.

-BP
Reply With Quote
  #8  
08-30-2004, 03:10 PM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
oops i use the dvd2avi 1.76 by LOLI.J version and the settings are defalt
Reply With Quote
  #9  
08-30-2004, 09:32 PM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
Prodater64 wrote
Quote:
2 - You don't mention source fps. It can to be 29.970 and if it isn't interlaced, then is telecined. You must to do inverse telecine if it is the situation.
i am encoding at 23 fps and dvd2avi says it is not interlaced. i dont understand telecline part.
Reply With Quote
  #10  
08-30-2004, 09:52 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by password
i am encoding at 23 fps and dvd2avi says it is not interlaced. i dont understand telecline part.
I'm beg your perdon, don't understand you.
You are encoding to 23.976, but from? DVD2AVI say you your source fps (framerate).
Reply With Quote
  #11  
08-30-2004, 10:08 PM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
dvd2avi says it is not interlaced and 29.970 fps so if i understand right i have to change to inverse telecine in TEMPGEnc , right?
Reply With Quote
  #12  
08-30-2004, 10:34 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by password
dvd2avi says it is not interlaced and 29.970 fps so if i understand right i have to change to inverse telecine in TEMPGEnc , right?
Yes, it is.

http://www.kvcd.net/forum/viewtopic.php?t=9808

http://www.kvcd.net/forum/viewtopic....telecine#93943

Quote:
Originally Posted by Incredible
Telecide, Decimate are part of the decomb-package to be found at:
http://www.avisynth.org/warpenterprises/
Reply With Quote
  #13  
08-31-2004, 02:01 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
thanx Pro but, do i have to edit my script? if so, what exactly do i add and exactly where?
Reply With Quote
  #14  
08-31-2004, 03:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Do you read the post of Pro ? He gave you links where ALL is said !
(the second one).

You can also encode it in 29.970 and don't bother with the fps change even if it is not optimal.
Reply With Quote
  #15  
08-31-2004, 05:05 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
i am not trying to convert to pal and my source is not an .avi so where am i supposed to put this

Avisource(D:\Your_Path_to\Your_29.97fps_AVI_File.a vi)
Telecide()
Decimate()
LanczosResize(....PAL Resolution out of FitCD or Moviestacker....)
AssumeFPS(25.000, true)
SSRC(44100)

or this

Avisource(D:\Your_Path_to\Your_23.976fps_AVI_File. avi)
LanczosResize(....PAL Resolution out of FitCD or Moviestacker....)
AssumeFPS(25.000, true)
SSRC(44100)

into this

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\Decomb511.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\DVD_VIDEO\THE_MATRIX\DVD2AVI_Proje ct_file.d2v")
#
undot()
asharp(1, 4)
Gripcrop(352, 240,overscan=1,source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
Reply With Quote
  #16  
08-31-2004, 05:12 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 password
Avisource(D:\Your_Path_to\Your_29.97fps_AVI_File.a vi)
Telecide()
Decimate()
LanczosResize(....PAL Resolution out of FitCD or Moviestacker....)
AssumeFPS(25.000, true)
As you are not doing PAL, you just have to remove the "assumeFPS" line. That is a legitimate question (forget also the SSRC line)

For the rest, I think you can figure by your own where the lines have to be added and adapt the script by yourself. I don't think it isn'thard to understand that "Avisource" is the equivalent to "Mpeg2Source" when you source is an avi and not a DVD.

Else I strongly suggest you to read a little bit avisynth pages here :
http://www.avisynth.org/index.php?page=YourFirstScript
You already added the loadplugin line, just continue
Reply With Quote
  #17  
08-31-2004, 05:35 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
thanx Phil i just took a look at dvd2avi and this is what i got in the statistics window

aspect ratio: 16:9
frame rate: 23.976fps
video type: film
frame type: progressive

i was almost possitive the frame rate before was 29.97 fps
there was a few time i used dvd2avi and got 23.976 and thought it was an error and closed the program and reloaded the .vob again and got 29.79
(do you think thats my problem that dvd2avi saved it as 29.97 fps when it was supposed to be 23.976?)

P.S. my script should look like this, right?

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\Decomb511.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\DVD_VIDEO\THE_MATRIX\DVD2AVI_Proje ct_file.d2v")
#
LanczosResize()
undot()
asharp(1, 4)
Gripcrop(352, 240,overscan=1,source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
Reply With Quote
  #18  
08-31-2004, 05:40 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 password
thanx Phil i just took a look at dvd2avi and this is what i got in the statistics window

aspect ratio: 16:9
frame rate: 23.976fps
video type: film
frame type: progressive

i was almost possitive the frame rate before was 29 fps
That is the indication of something that has a soft 3:2 pulldown.
Check the source with DVDPatcher, and you will be sure.

In this case, you don't have to do anything on the fps because your source IS 23.976, and so have the correct framerate !

Quote:
P.S. my script should look like this ,right?
No
You use 2 resizer

Trust me, stop doing blindly things you read but not understand a little. Go on avisynth site and read a little the doc. You won't lose your time.
Reply With Quote
  #19  
08-31-2004, 05:55 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
sorry Phil but i dont know what exactly to read
Reply With Quote
  #20  
08-31-2004, 06:43 AM
password password is offline
Invalid Email / Banned / Spammer
 
Join Date: Nov 2003
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
HURRRAY!!!! found my problem. i ran dvd2avi and saved the project and the frame rate was at 23.976 (last time it saved at 29.97) and did a test encoded and it was all good. thanx for everyones help
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Looking at getting an encoding rig buzz86 Video Encoding and Conversion 3 04-29-2006 07:07 AM
Encoding: Vcd vs kvcd almightythermos Video Encoding and Conversion 1 07-22-2004 09:19 AM
Encoding My First KVCD! dredj Video Encoding and Conversion 23 07-01-2003 12:27 PM
KVCD: Encoding at 4:3 or 16:9? Adder Video Encoding and Conversion 5 01-29-2003 10:27 AM
How can I get CCE to use one of the kvcd templates for encoding? jrv331 Video Encoding and Conversion 1 11-14-2002 02:55 PM

Thread Tools



 
All times are GMT -5. The time now is 07:26 AM  —  vBulletin © Jelsoft Enterprises Ltd