Quantcast [DIKO] AVI com Dois Áudios - digitalFAQ.com Forums [Archives]
  #1  
06-18-2004, 11:28 AM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
Caros colegas,

Comecei a pouco a usar o DIKO e estou surpreso com a facilidade para
a conversão que esse programa oferece.

Mas estou enfrentando um problema aleatório com o áudio.

Pela segunda vez em vídeos diferentes ele codifica o áudio com o
dobro do tamanho.
O vídeo tinha 75 min e indiquei no DIKO o áudio a 128 kbps o que deveria resultar algo em torno de 66 mb mas o DIKO criou um arquivo com 131 mb com birate de 128.
-Da primeira vez por inexperiência deletei tudo e fiz na mão mas agora estou um pouco inseguro e desejo ajuda para saber o que está acontecendo?

Para esclarecer: aproveitei o vídeo convertido e converti o áudio novamente separado e mutiplexiei e ele ficou muito bom.
Ou seja, o problema foi apenas com o áudio que acabou gerando um arquivo final V+A = 851 mb (mpg).

Segue o arquivo Movie0.avs desse processo, gerado pelo DIKO:

#########################################

#########################
# DIKO Generated Script #
#########################
#
# Loading plugins and functions... #
####################################
#
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\asharp.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\Convolution3DYV12.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\DctFilter.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\MPEG2Dec3dg.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\STMedianFilter.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\UnDot.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\UnFilter.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\VSFilter.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\atc.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\AutoCrop.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\avsmon25a.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\blockbuster.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\GripFit_YV12.dll")
LoadPlugin("C:\Arquivos de programas\DIKO\avisynth plugins\Sampler.dll")
Import("C:\Arquivos de programas\DIKO\avisynth plugins\addaudio.avsi")
Import("C:\Arquivos de programas\DIKO\avisynth plugins\fmin.avsi")
Import("C:\Arquivos de programas\DIKO\avisynth plugins\jdl-interlace.avsi")
Import("C:\Arquivos de programas\DIKO\avisynth plugins\jdl-util.avsi")
Import("C:\Arquivos de programas\DIKO\avisynth plugins\resize.avsi")
#
# Script begins here... #
#########################
#
Avisource("D:\Infantis\HPFP-1dub.avi",false)
AssumeFPS(23.976)
WIDESCREEN=0
Overscan=2
source_widescreen=0
WIDTH=528
HEIGHT=480
converttoyv12()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
DivXResize(WIDTH, HEIGHT, 0, "LanczosResize",WIDESCREEN)
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
DivXBorders(HEIGHT,OVERSCAN)
AddAudio()
MonitorFilter
Converttoyuy2()
#############################################
__________________
Ray
BC/SC
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-18-2004, 04:59 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Poste o logfile.txt que vc acha na pasta do DIKO.
Reply With Quote
  #3  
06-18-2004, 05:25 PM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
Caro vmesquita,

não tem arquivo logfile.txt na pasta.
Já havia percebido isso e por isso postei o aquivo movie0.avs.

Os arquivos presentes na pasta de destino são:
- functions.txt
- list.lst
-movie0.vaf
- movies.ecl
- plugins.txt

mais os arquivos mp2, mpv, mpg.

Já procurei para ver se havia algo a configurar no DIKO para gerar esse arquivo logfile e não encontrei???????

O que fazer?
__________________
Ray
BC/SC
Reply With Quote
  #4  
06-18-2004, 05:27 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
O arquivo fica na pasta de instalação do DIKO, não na pasta de trabalho.
Reply With Quote
  #5  
06-18-2004, 06:09 PM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
Lamento, mas tudo é nova para mim.
Obrigado pela paciência.

Aí vai o log.txt
##########################
00:02:58 - D.I.K.0. (DivX in - KDVD Out) Freeware - version 0.62 by VMesquita
00:02:58 - -----------------------------------------------------

00:02:58 - Program Starting...
00:02:58 - *************************
00:02:58 - * Getting movie info... *
00:02:58 - *************************
00:02:58 - -----------------
00:02:58 - Processing Movie 0: D:\Infantis\HPFP1-dub.avi

00:02:58 - Processing Movie 0: D:\Infantis\HPFP1-dub.avi
00:02:58 - -----------------
00:02:58 - ************************************************** ************
00:02:58 - * Audio extraction, getting audio info and Generating script *
00:02:58 - ************************************************** ************
00:02:58 - Extracting audio from the movie with AVI2WAV. Command-line:
00:02:58 - avi2wav\avi2wavcmd.exe "D:\Infantis\HPFP1-dub.avi" "D:\Videos\Para comprimir\extract0a.wav"
00:04:10 -
00:04:10 - Getting Audio Format...85 - MP3
00:04:10 - Audio is MP3, 2.0 AC3 with different frame-rate, or you chose to use MP2, audio will be reencoded.
00:04:10 - Calculated Audio size: 68.3307 Mb
00:04:10 - ---------------------------------------
00:04:10 - Total audio space:68.3307 Mb
00:04:10 - Media Size: 795 Mb
00:04:10 - Media count: 1
00:04:10 - Mux Overhead:15 Mb
00:04:10 - Remaining space for video: 711.669 Mb
00:04:10 - Total length: 72.8861 minutes
00:04:10 - Generating script for movie 0 based on : scripts\avi\DialhotV4.avs
00:04:11 - Desired Sample Size: 7.42064 Mb
00:04:12 - QFactor Adjust used: 1
00:04:12 - **********************************
00:04:12 - * Initiating prediction phase... *
00:04:12 - **********************************
00:04:12 - Encoding with maximmum Q factor: 40
00:04:12 - Creating new ECL...
00:04:12 - Encoding sample for movie0...
00:04:12 - Adding to ECL movie 0 based on : templates\cce\svcd-p.tem
00:11:14 - Filesize: 6.8068Mb
00:11:14 - Total Resulting Filesize: 6.8068Mb
00:11:14 - Encoding with medium Q factor: 20
00:11:14 - Creating new ECL...
00:11:14 - Encoding sample for movie0...
00:11:14 - Adding to ECL movie 0 based on : templates\cce\svcd-p.tem
00:18:10 - Filesize: 9.01766Mb
00:18:10 - Total Resulting Filesize: 9.01766Mb
00:18:10 - Sample is bigger than desired sample. QMedium=QMin.
00:18:10 - -------------------------------------------
00:18:10 - Running Interaction 1 with Q factor 34
00:18:10 - QMax:40 - (6.8068 Mb) - QMin:20 - (9.01766 Mb)
00:18:10 - Creating new ECL...
00:18:10 - Encoding sample for movie0...
00:18:10 - Adding to ECL movie 0 based on : templates\cce\svcd-p.tem
00:25:05 - Filesize: 7.31557Mb
00:25:05 - Total Resulting Filesize: 7.31557Mb
00:25:05 - -------------------------------------------
00:25:05 - Fine tuning QFactor using a big sample
00:25:05 - --------------------------------------
00:25:05 - Generating script for movie 0 based on : scripts\avi\DialhotV4.avs
00:25:05 - Creating new ECL...
00:25:05 - Encoding sample for movie0...
00:25:06 - Adding to ECL movie 0 based on : templates\cce\svcd-p.tem
00:43:33 - Filesize: 36.0404Mb
00:43:33 - Total Resulting Filesize: 36.0404Mb
00:43:33 - Percentual Difference: -0.028645 %
00:43:34 - Using QFactor 34 difference would be: -2.8645%
00:43:34 - % - 1 Q point equals 2.3%
00:43:34 - Final Q factor: 33
00:43:34 - Re-Creating movies scripts without sampler for Full Encode
00:43:34 - Generating script for movie 0 based on : scripts\avi\DialhotV4.avs
00:43:34 - Encoding... Please Wait this can take many hours depending on your processor.
00:43:34 - Processing movie 0: D:\Infantis\HPFP1-dub.avi
00:43:34 - Adding to ECL movie 0 based on : templates\cce\svcd-p.tem
05:26:05 - Enabling pulldown flag... Command-line:
05:26:05 - pulldown.exe "D:\Videos\Para comprimir\movie0.mpv" "D:\Videos\Para comprimir\pd_movie0.mpv"
05:33:37 - Pulldown Sucessfull. Deleting original file and renaming the pulled-down one.
05:33:57 - ********************************
05:33:57 - * Initiating audio encoding... *
05:33:57 - ********************************
05:33:57 - Processing Movie 0: D:\Infantis\HPFP1-dub.avi
05:33:57 - ------------------
05:33:57 - Using BeSweet to transcode, change FPS or frequency as needed. Command-line for file1:
05:33:57 - besweet\besweet.exe -core( -input "D:\Videos\Para comprimir\list.lst" -output "D:\Videos\Para comprimir\movie0.mp2" -logfilea "C:\Arquivos de programas\DIKO\./log.txt" -2ch ) -ssrc( --rate 44100 ) -ota( -fs 48000 -g max) -mp2enc( -m d -b 128 )
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 Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 06/18/04 , 05:33:59.

besweet\besweet.exe -core( -input D:\Videos\Para comprimir\list.lst -output D:\Videos\Para comprimir\movie0.mp2 -logfilea C:\Arquivos de programas\DIKO\./log.txt -2ch ) -ssrc( --rate 44100 ) -ota( -fs 48000 -g max) -mp2enc( -m d -b 128 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\Videos\Para comprimir\list.lst
[00:00:00:000] | Output: D:\Videos\Para comprimir\movie0.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +---------------------
[00:00:00:000] | Input : D:\Videos\Para comprimir\extract0a.wav
[00:00:00:000] | Output: D:\Videos\Para comprimir\movie0.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Dual Channel
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[02:25:46:308] Conversion Completed !
[02:25:46:308] Actual Avg. Bitrate : 125kbps
[01:01:03:000] <-- Transcoding Duration

Logging ends : 06/18/04 , 06:35:02.


06:35:02 - Renaming movie 0 files to its final name...
06:35:03 - Processing Movie 0
06:35:03 - ------------------
06:35:03 - Muxing audio and video with mplex. Command-line:
06:35:03 - "dvdauthor\mplex.exe" -f 4 -o "D:\Videos\Para comprimir\0 - HPFP1-dub.mpg" "D:\Videos\Para comprimir\0 - HPFP1-dub.mpv" "D:\Videos\Para comprimir\0 - HPFP1-dub.mp2"
#############
__________________
Ray
BC/SC
Reply With Quote
  #6  
06-18-2004, 06:47 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Vc ainda tem este arquivo de audio de 133 Mb? Tente reproduzí-lo e veja se o som está normal ou "slow-motion".

EDIT: Esqueci: O seu filme tem dois audios? Pq se tiver ele irá criar uma arquivo "com os dois ao mesmo tempo". Neste caso vc tem q remover um audio antes.
Reply With Quote
  #7  
06-18-2004, 06:53 PM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
Lamento,
mas após postar o log.txt deletei os arquivos... e não uso a lixeira....

parece que estou sem sorte.

Encontraste algo no log.

Isso já aconteceu antes e considerei como um erro ocasional deletei tudo
e não dei importância mas agora retronou a acontecer.

Da vez anterior eu deletei todos os arquivos e mandei processar via DIKO
novamente e tudo saiu certo.
__________________
Ray
BC/SC
Reply With Quote
  #8  
06-18-2004, 07:06 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Mas vc verificou se o AVI de origem tinha 2 audios?
Reply With Quote
  #9  
06-18-2004, 07:22 PM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
Putz....

tens razão, ele tem 2 áudios.

então deduzindo:- o DIKO não trabalha com 2 áudios.

Devo isolar o áudio de preferência no VirtualDubMod?

Se tiver 2 áudios ele converte os dois simultaneamente?

Vivendo e aprendendo!

Duas coisas aprendi, se for isso que ocorreu:

1. em um post anterior soube que se a resolução original do vídeo não for múltiplo de 16 o processo dá erro;

2. agora 2 áudios ele não reconhece o 1 stream, ou seja, o áudio não desejado deve ser desabilitado para o DIKO processar corretamaente.


Isso está correto?

Fazem 2 semanas que comecei a usar esse programa desenvolvido por você e aos poucos vou conhecendo sua peculiaridades.

Se não estiver correto em minhas conjecturas corrija-me, por favor.

Abraços.
__________________
Ray
BC/SC
Reply With Quote
  #10  
06-18-2004, 07:31 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by ray
1. em um post anteriro sopube que se a resolução original do vídeo não for múltiplo de 16 o processo dá erro;
Isso o DIKO cuida automaticamente, não se preocupe.
Quote:
2. agora 2 áudios ele não reconhece o 1 stream, ou seja, o audio não desejado deve ser desabilitado.
Sim, vc precisa remover 1 dos audios. Isso é necessario pois o AVI2WAV, programa usado na extração de audio, reconhece os dois audios como 1 só e fica a maior doideira.
Reply With Quote
  #11  
06-18-2004, 07:38 PM
ray ray is offline
Free Member
 
Join Date: Jun 2004
Location: Brasil
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ray
O aprendizado as vezes é feito por caminhos tortuosos.

Obrigado pela atenção e ajuda na resolução dos problemas.


Abs.,
__________________
Ray
BC/SC
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AVIs com 2 Audios no DIKO 0.76 B2 cazuza Conversão e Codificação de Vídeo (Português) 3 09-13-2004 02:17 PM
DIKO 0.74 conversão em dois arquivos, não dividiu! Buga Conversão e Codificação de Vídeo (Português) 2 08-15-2004 11:20 AM
Extraindo dois Audios de AVI lindinha Conversão e Codificação de Vídeo (Português) 12 06-17-2004 02:57 PM
:: Fazendo KSVCD com dois audios :: BJ Conversão e Codificação de Vídeo (Português) 12 04-08-2004 10:06 AM
Como fazer KVCD com dois audios + legenda desligavel Raivos Conversão e Codificação de Vídeo (Português) 1 02-09-2004 06:20 AM

Thread Tools



 
All times are GMT -5. The time now is 02:22 PM  —  vBulletin © Jelsoft Enterprises Ltd