VMesquita.com
*
* HOME   FORUM   DOWNLOAD   ARTICLES   SEARCH   LOGIN   REGISTER
Welcome, Guest. Please login or register.
Did you miss your activation email?

Search:     Advanced search
Pages: [1]
Print
Author Topic: How can I configure DIKO not to process audio  (Read 4305 times)
techreactor
Full Member
***
Posts: 208


View Profile
« on: 11 de October de 2005, 02:18 »

I do not want DIKO to process audio (since its AC3 and I have extracted it seperately).

I have calculated the available MB's (after deducting AC3 audio file sizes) and I do not want DIKO to process audio from the files.

How do I configure it now............can I change some setting in the .ini's to do that.
Logged
Prodater64
Moderator
Hero Member
*****
Posts: 2194



View Profile
« Reply #1 on: 11 de October de 2005, 04:26 »

I do not want DIKO to process audio (since its AC3 and I have extracted it seperately).

I have calculated the available MB's (after deducting AC3 audio file sizes) and I do not want DIKO to process audio from the files.

How do I configure it now............can I change some setting in the .ini's to do that.

You can try the following.
Configure your project and press start button.
Then a little popup will ask you if you want to encode and you need to press start again.
Before pressing that button go to DIKO folder and edit diko.ini file.
Look at the end for some instructions as CR_...extract_audio (I don't remember exactly now).
Set all that audio related instructions = 0 (zero) (or 1 I don't remember now what number activate and inactivate the audio extraction and codification).
Once saved, you cant go ahead and press the start button.

Logged

VMesquita.com
« Reply #1 on: 11 de October de 2005, 04:26 »

 Logged
techreactor
Full Member
***
Posts: 208


View Profile
« Reply #2 on: 11 de October de 2005, 06:21 »

Okay I found it in the end of the diko.ini, just for the benefit of other :

Origianlly its
Code:
CR_AudioExtractionDone=0
CR_VideoEncodingDone=0
CR_AudioEncodingDone=0
CR_MuxAVS=0

To fake the audio coding flag (so that DIKO thinks its already processed), change it to 1 :

Code:
CR_AudioExtractionDone=1
CR_VideoEncodingDone=0
CR_AudioEncodingDone=1
CR_MuxAVS=0
Logged
Prodater64
Moderator
Hero Member
*****
Posts: 2194



View Profile
« Reply #3 on: 11 de October de 2005, 06:50 »

Okay I found it in the end of the diko.ini, just for the benefit of other :

Origianlly its
Code:
CR_AudioExtractionDone=0
CR_VideoEncodingDone=0
CR_AudioEncodingDone=0
CR_MuxAVS=0

To fake the audio coding flag (so that DIKO thinks its already processed), change it to 1 :

Code:
CR_AudioExtractionDone=1
CR_VideoEncodingDone=0
CR_AudioEncodingDone=1
CR_MuxAVS=0

Thanks for putting this point clear.
It seems to me that this is the first thread related with this question and you explained very well my unclear explanation.
Logged

techreactor
Full Member
***
Posts: 208


View Profile
« Reply #4 on: 11 de October de 2005, 07:33 »


Thanks for putting this point clear.
It seems to me that this is the first thread related with this question and you explained very well my unclear explanation.


Thanks Prodater, couldnt have done it without your help.
Logged
Fingerbob
DIKO Gold registred user
Full Member
*
Posts: 198


keep your friends close, but your enemies closer.


View Profile
« Reply #5 on: 11 de October de 2005, 14:13 »

Can someone just quickly clarify whether DIKO still makes allowance for the audio size even though it isn't encoding it?  Or does it maybe not set aside any audio space (i.e. filling it up with extra space for video)?
Logged

"Never let anyone know what you are thinking."
Prodater64
Moderator
Hero Member
*****
Posts: 2194



View Profile
« Reply #6 on: 11 de October de 2005, 14:33 »

Can someone just quickly clarify whether DIKO still makes allowance for the audio size even though it isn't encoding it?  Or does it maybe not set aside any audio space (i.e. filling it up with extra space for video)?

Do think about it:
When you set the project DIKO calculates the target video size agree with DIKO configuration.
DIKO always include audio in its calculations as you cant configure it to do not encode audio (you can't not even in Gold version).
The trick i exposed is a DIKO Gold recovery function. We have luck that VMesquita include the same code in DIKO free (and i hope he keep it after i posted this trick here ) Wink. When DIKO Gold crash, you can recover part of your work and this is the reason that CR_ (Crash Recovery) flags are presents in DIKO.ini.
You could also to encode only audio with this trick, but for that it is better "DIKO only audio" program.
Logged

VMesquita.com
« Reply #6 on: 11 de October de 2005, 14:33 »

 Logged
Fingerbob
DIKO Gold registred user
Full Member
*
Posts: 198


keep your friends close, but your enemies closer.


View Profile
« Reply #7 on: 11 de October de 2005, 14:47 »

Thanks Pro.  That's exactly what I wanted to know.  It just wouldn't make sense as a tip if the video expanded to fill the left over space.

So, in essence, its the polar opposite of your DIKO Audio Only tool.  It would seem that we can now do both.

Although, since audio doesn't really take much time to encode in comparison to video, my feeling is that you might as well just let it encode the audio (whether you want it or not) and delete if required.  You get the same end product without the need to do anything fiddly.  Cool
Logged

"Never let anyone know what you are thinking."
Prodater64
Moderator
Hero Member
*****
Posts: 2194



View Profile
« Reply #8 on: 11 de October de 2005, 15:06 »

Although, since audio doesn't really take much time to encode in comparison to video, my feeling is that you might as well just let it encode the audio (whether you want it or not) and delete if required.  You get the same end product without the need to do anything fiddly.  Cool

Many times i do video tests with DIKO (short samples).
Several times i encoded a whole movie and for some reason it didn't like to me (undersize, to much oversize, avs filtering, etc.).
Last days im testing DIKO-AQE compatibility.
It is a headache to have to wait audio encode finish.
Logged

techreactor
Full Member
***
Posts: 208


View Profile
« Reply #9 on: 11 de October de 2005, 22:17 »

Thanks Pro.  That's exactly what I wanted to know.  It just wouldn't make sense as a tip if the video expanded to fill the left over space.

So, in essence, its the polar opposite of your DIKO Audio Only tool.  It would seem that we can now do both.

Although, since audio doesn't really take much time to encode in comparison to video, my feeling is that you might as well just let it encode the audio (whether you want it or not) and delete if required.  You get the same end product without the need to do anything fiddly.  Cool

Well I was trying to fill up the audio space with Video in one of my tests while using AC3 sound encoded seperately. But what I did is to let DIKO encode first (with audio), Stop DIKO in 5-10 sec, open the log file and note down the space in MB's, audio is using, . Increase the media size by the same amount so that now the space is fully occupied by Video and carry on with the same process as above, use the audio file from outside of DIKO.(but u have to calculate so that your externally processed file also fits in the media)

BTW,the  Sad test failed, see >>>here<<<
« Last Edit: 11 de October de 2005, 22:19 by techreactor » Logged
Prodater64
Moderator
Hero Member
*****
Posts: 2194



View Profile
« Reply #10 on: 12 de October de 2005, 06:53 »


Well I was trying to fill up the audio space with Video in one of my tests while using AC3 sound encoded seperately. But what I did is to let DIKO encode first (with audio), Stop DIKO in 5-10 sec, open the log file and note down the space in MB's, audio is using, . Increase the media size by the same amount so that now the space is fully occupied by Video and carry on with the same process as above, use the audio file from outside of DIKO.(but u have to calculate so that your externally processed file also fits in the media)

BTW,the  Sad test failed, see >>>here<<<

I don't understand you.
Let's say.
You have a ready audio = 300 Mb
So, you must to configurate DIKO as usual, Media Size = 4482, overhead 180, and configurate audio as usual, if your ready audio is ac3 keep it ac3 with the same kbps as your ready audio in DIKO, if you ready audio is mp2, change to mp2 options/kbps in DIKO.
You don't need to increase media size in the way you did.
Just do encode and you final video will have 4002 Mb. 4002+300+180=4482 Mb.

Now if you would want 2 audio for your project you need to calculate the audio size of second track and substract it from media size.
But be carefull if your ready audio was obtained. let's say, with dgindex or dvd2avi, that audio is sync with original video fps.
If you plain a system change that ready audio is useless.
« Last Edit: 12 de October de 2005, 06:55 by Prodater64 » Logged

Pages: [1]
Print
Jump to:  

56836 Posts in 8348 Topics by 7461 Members Latest Member: - koshka1959 Most online today: 36 - most online ever: 160 (02 de October de 2008, 03:40)
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Oxygen / TinyPortal v0.9.8 © Bloc / hosted by BlueHost
Valid XHTML 1.0! Valid CSS!