Quantcast DIKO 0.73-Problema Entre Sample e Full Encode. D2V to KSVCD - digitalFAQ.com Forums [Archives]
  #1  
08-08-2004, 10:55 AM
mcurdoglo mcurdoglo is offline
Free Member
 
Join Date: Aug 2004
Location: Brasil
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Bom Dia a todos.

A predição do sample pelo CCE é feita até que o Qfactor chega a zero.
Então quando deveria encodar o filme inteiro ele passa imediatamente para a próxima fase.
O que estou fazendo errado?
Já mudei o script como o VMesquita indicou em outro post.

No virtualdub dá erro nesta linha dizendo (Script Error: There is no function named "chr"):

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) ")

Edit O script é este :

#########################
# DIKO Generated Script #
#########################
#
# Loading plugins and functions... #
####################################
#
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\asharp.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\atc.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\AutoCrop.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\avsmon25a.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\blockbuster.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\Convolution3DYV12.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\DctFilter.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\GripFit_YV12.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\MPEG2Dec3.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\Sampler.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\STMedianFilter.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\UnDot.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\UnFilter.dll")
LoadPlugin("D:\Arquivos de programas\DIKO\avisynth plugins\VSFilter.dll")
Import("D:\Arquivos de programas\DIKO\avisynth plugins\addaudio.avsi")
Import("D:\Arquivos de programas\DIKO\avisynth plugins\fmin.avsi")
Import("D:\Arquivos de programas\DIKO\avisynth plugins\jdl-interlace.avsi")
Import("D:\Arquivos de programas\DIKO\avisynth plugins\jdl-util.avsi")
Import("D:\Arquivos de programas\DIKO\avisynth plugins\resize.avsi")
#
# Script begins here... #
#########################
#
Mpeg2source("F:\teste\Formiguinhas.d2v")
AssumeFPS(29.97)
WIDESCREEN=0
Overscan=2
source_widescreen=1
WIDTH=544
HEIGHT=480
INTERLACED=false
undot()
asharp(1, 4)
SimpleDVDCrop(false)
SimpleDVDResize(WIDTH, HEIGHT, source_widescreen, widescreen)
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) ")

#
#
## Functions ###

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


SimpleAddBorders(OVERSCAN)
AddAudio()
Converttoyuy2()

E o log do DIKO é este:

12:48:25 - DIKO Free 0.73
12:48:25 - -----------------------------------------------------
12:48:25 - *************************
12:48:25 - * Getting movie info... *
12:48:25 - *************************
12:48:25 - -----------------
12:48:25 - Processing Movie 0:F:\teste\Formiguinhas.d2v+F:\teste\Formiguinhas AC3 T02 3_2ch 448Kbps DELAY 0ms.ac3
12:48:25 - Script Template: scripts\dvd\kwagOptimal.avs
12:48:25 - Parsing D2V File... F:\teste\Formiguinhas.d2v
12:48:25 - First VOB is...I:\ANTZ_SKU5\VIDEO_TS\VTS_01_1.VOB
12:48:25 - Forced Film is... off.
12:48:25 - NTSC Film: 92,257090
12:48:25 - Progressive Width: 720 Height 480 A.R.: 1,777700 Framerate: 29,970000 Frames: 120549
12:48:25 - Audio type: 8192 (AC3), channels: 5 Frequency: 48000 Hz Bitrate 448 kbps
12:48:25 - Audio for this movie won't need to be reencoded! Yes!
12:48:25 - Calculated Audio size: 219,970752 Mb
12:48:25 - ***************************
12:48:25 - * Processing Subtitles... *
12:48:25 - ***************************
12:48:26 - *******************
12:48:26 - * Calculations... *
12:48:26 - *******************
12:48:26 - Total audio space: 219,970752 Mb
12:48:26 - Media Size: 795 Mb
12:48:26 - Media count: 1
12:48:26 - Mux Overhead: 15 Mb
12:48:26 - Remaining space for video: 560,029248 Mb
12:48:26 - Total length: 67,038705 minutes
12:48:26 - Desired Sample Size: 4,438003 Mb QFactor Adjust used: 0,950000
12:48:26 - **********************************
12:48:26 - * Initiating prediction phase... *
12:48:26 - **********************************
12:48:26 - Automatic resolution selection mode:
12:48:26 - DIKO will test and find the highest resolution that can be
12:48:26 - used with a good quality QFACTOR
12:48:26 - Trying 544x480(576)...
12:48:31 - Sample for Movie 0 (using templates\cce\svcd-p.tem). Filesize: 0,736389 Mb
12:48:31 -
12:48:41 - Total Resulting Filesize for this QFactor: 0,736389 Mb
12:48:41 - Encode will be done at 544x480(576)
12:48:41 - Encoding with medium Q factor: 20
12:48:44 - Sample for Movie 0 (using templates\cce\svcd-p.tem). Filesize: 0,777889 Mb
12:48:44 -
12:48:54 - Total Resulting Filesize for this QFactor: 0,777889 Mb
12:48:54 - Sample is smaller than desired sample. QMedium=QMax.
12:48:54 - Encoding with minimmum Q factor: 1
12:48:58 - Sample for Movie 0 (using templates\cce\svcd-p.tem). Filesize: 1,010208 Mb
12:48:58 -
12:49:08 - Total Resulting Filesize for this QFactor: 1,010208 Mb
12:49:08 - -------------------------------------------
12:49:08 - Final Q factor: 1
12:49:09 - *********************
12:49:09 - * Encoding Video... *
12:49:09 - *********************
12:49:09 - Re-Creating movies scripts without sampler for Full Encode
12:49:09 - Encoding... Please Wait this can take many hours depending on your processor.
12:49:09 - Processing Movie 0:F:\teste\Formiguinhas.d2v+F:\teste\Formiguinhas AC3 T02 3_2ch 448Kbps DELAY 0ms.ac3
12:49:13 - ********************
12:49:13 - * Audio extraction *
12:49:13 - ********************
12:49:13 - ---------------------------------------
12:49:13 - ********************************
12:49:13 - * Initiating audio encoding... *
12:49:13 - ********************************
12:49:13 - Processing Movie 0:F:\teste\Formiguinhas.d2v+F:\teste\Formiguinhas AC3 T02 3_2ch 448Kbps DELAY 0ms.ac3
12:49:13 - ------------------

12:49:13 - Using BeSweet to transcode, change FPS or frequency as needed. Command-line:

12:49:13 - besweet\besweet.exe -core( -input "F:\teste\list.lst" -output "F:\teste\movie0.mp2" -logfilea "F:\teste\log.txt" -2ch ) -azid( -s surround2 -g max -L -3db ) -ota( -fs 48000 -g max) -mp2enc( -m d -b 112 )
BeSweet v1.5b28 by DSPguru.
--------------------------
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 08/08/04 , 12:49:13.

besweet\besweet.exe -core( -input F:\teste\list.lst -output F:\teste\movie0.mp2 -logfilea F:\teste\log.txt -2ch ) -azid( -s surround2 -g max -L -3db ) -ota( -fs 48000 -g max) -mp2enc( -m d -b 112 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : F:\teste\list.lst
[00:00:00:000] | Output: F:\teste\movie0.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +---------------------
[00:00:00:000] | Input : F:\teste\Formiguinhas AC3 T02 3_2ch 448Kbps DELAY 0ms.ac3
[00:00:00:000] | Output: F:\teste\movie0.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 8.051dB
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:000] | Output Stereo mode: Dolby surround 2 compatible
[00:00:00:000] | Total Gain: 0.000dB, Compression: None
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 112
[00:00:00:000] | Channels Mode : Dual Channel
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------



Obrigado a todos.
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-08-2004, 05:09 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Prezado colega ! Obtive exatamente o mesmo erro ao codificar os meus projetos D2V. Fazendo uma busca pelas threads (e confirmando com o grande VMesquita, o mesmo confirmou o que tinha achado: Vc deve consertar a linha

Quote:
SimpleDVDCrop()
no script template do Kwag (subpasta scripts/DVD/) para

Quote:
SimpleDVDCrop(INTERLACED)
Não precisa (e talvez não funcione) colocar o argumento false na função citada, já que na hora de gerar o script a mesma assume o valor false (quando for o caso, por exemplo, NTSC progressivo).

[]´s

Danpos
Reply With Quote
  #3  
08-08-2004, 05:13 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Corrigindo o meu post anterior, o caminho é o abaixo (coloquei o outro seguindo a notação em unix ...)

Quote:
12:48:25 - Script Template: scripts\dvd\kwagOptimal.avs
[]´s

Danpos
Reply With Quote
  #4  
08-08-2004, 05:39 PM
mcurdoglo mcurdoglo is offline
Free Member
 
Join Date: Aug 2004
Location: Brasil
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Muito obrigado, Danpos!

Vou fazer a correção.

[]'s Marco
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Problema com KSVCD ScorpionBr Conversão e Codificação de Vídeo (Português) 5 09-15-2004 09:24 AM
Pode haver conflito entre DIKO e DVD2SVCD? Billldubrasil Conversão e Codificação de Vídeo (Português) 1 08-16-2004 06:17 AM
Ksvcd gerado pelo diko com problema no Dvd Philco lincoln.paulino Conversão e Codificação de Vídeo (Português) 3 08-14-2004 08:28 AM
No Diko, qual a diferença entre a legenda SVCD CVD Fixas? Buga Conversão e Codificação de Vídeo (Português) 3 07-19-2004 04:22 PM
Diferença entre KVCD e KSVCD... Murdoc Conversão e Codificação de Vídeo (Português) 3 06-13-2004 01:20 AM

Thread Tools



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