digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   2CD DivX to Single KVCD has AC3 Audio problems? (http://www.digitalfaq.com/archives/encode/6154-2cd-divx-single.html)

Zyphon 10-17-2003 05:47 AM

2CD DivX to Single KVCD has AC3 Audio problems?
 
Hi Over a month ago i did a DVD Rip of one of my old movies 'Hollow Man' and converted it to DivX in the XviD format to 2CD's for better quality which is normally fine for me but the problem i have now is that my Auido is AC3 (0x2000) which is fine playing on my PC because i have that Codec installed but i wanted to experiment and convert it to one KVCD.

I used DialHots version 3 Script and simple took out the ,false after the AviSource lines as i use Tok and didnt know how i could use 2 external audio MP2 for each of the AVI's and i have no idea of how to write a script that could handle the audio seperately for each avi.

I PM'ed RenalUnit and he was quite helpful in telling me how to deal with multipal AVI Sources and told me how to add them in my script but i dont want to keep bugging him lol so i thought id put this post up and get some ideas on my prob.

The problem is with the AC3 Audio after creating my script:
Code:

#==============================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#==============================================#

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\atc.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Blockbuster.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DctFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Deen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll")

AviSource("C:\Movies\Hollow Man\Hollow_cd1.avi") ++
\AviSource("C:\Movies\Hollow Man\Hollow_cd2.avi")
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
ATC(2,3,5,0.5,false)
GripCrop(HEIGHT, WIDTH, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()

Now when i put that script into Media Player to test it like i always do WMP gave me the following error:
"ACM failed to suggest a compatible PCM format"
"(C:\Movies\Hollow Man\Hollow.avs, line 14"

Like i said the audio is AC3 @ 48Khz bitrate=192Kb/s (96/ch stereo CBR)

Could some one please suggest a script line that i could add to deal with this please as i need the audio to be converted to MP2 now.

Thanks in advance.

Zyphon 10-17-2003 05:53 AM

*UPDATE*

Guys i just converted the AVI sound to a WAV file using AVI to WAV a neat util i think. I will convert these to MP2 files using Headac3e.

Now the only real problem i have is how can i make an AVS script that will make the audio muxes with the video if i use the line AviSource("C:\Movies\Hollow Man\Hollow_cd1.avi",false) how can i multiplex the audio files to their respective video files do i need a audiodub command? im not to familiar with that command and would appreciate an ammended suggestion to my script thanx guys.

EDIT: After converting to WAV i tried to convet to MP2 in Headac3e and got the "Could not find data Chunk!" error, i got this using both VDubMod and AVI to WAV.

Thankfully i did a search on the forum and found a post by EightBall http://www.kvcd.net/forum/viewtopic.php?p=47229#47229

He gave a link to FCCHandlers plugins so hopefully that will help me out so a big thank you to EightBall there, Fingers crossed. :)

PS: I still need to know how i can mux these audio files though. ;)

Dialhot 10-17-2003 06:36 AM

Quote:

Originally Posted by Zyphon
PS: I still need to know how i can mux these audio files though. ;)

When you have a mp2 audio file and a m1v (or m2v if MPEG2) video file, open tmpgenc, menu file -> mpeg tools -> simple multiplex.

Select the two files, check that the muxing format is "VCD (non standard)" or "SuperVideoCd" if you want to do a SVCD and let's go.

Zyphon 10-17-2003 07:09 AM

Thanx 4 your prompt reply Dialhot i appreciate you taking the time to answer my question.

One question about the above script will both avi's be merged or will i have to join them also im TMPGEnc using the Mpeg Tools Merge/Cut tab?

Also i'll be using Tok so i wanted to know if Tok would use both AVI's to predict for the final single 80Min CD.

if not would i have to merge the AVI's within the script and how would i do this please.

Or is there a way to merge the 2 AVI's in the script itself or is that not recommended?

Critter 10-17-2003 07:38 AM

Check this out... hope it helps...

http://www.kvcd.net/forum/viewtopic....ghlight=ac3fix

Dialhot 10-17-2003 07:45 AM

Quote:

Originally Posted by Zyphon
One question about the above script will both avi's be merged or will i have to join them also im TMPGEnc using the Mpeg Tools Merge/Cut tab?

By using "avisource ++ avisource" it's exactly as if you would have merged the two sources in one and gave this one to avisynth. So do not bother.

Quote:

Or is there a way to merge the 2 AVI's in the script itself or is that not recommended?
It is recommanded and that is what you are doing ! (++ = merging operator)

Zyphon 10-17-2003 08:54 AM

Thanx 4 that link Critter just the info i was looking for. ;)

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Zyphon
One question about the above script will both avi's be merged or will i have to join them also im TMPGEnc using the Mpeg Tools Merge/Cut tab?

By using "avisource ++ avisource" it's exactly as if you would have merged the two sources in one and gave this one to avisynth. So do not bother.

Quote:

Or is there a way to merge the 2 AVI's in the script itself or is that not recommended?
It is recommanded and that is what you are doing ! (++ = merging operator)

Again thanx again Dialhot for this important info sorry for my ignorance on this subject but im still a newbie at this scripting stuff and learning all the time.

Thank you all for the help you have given me here. :)

Dialhot 10-17-2003 09:28 AM

We are here to learn and share :-)

Zyphon 10-19-2003 01:41 PM

Quote:

Originally Posted by Dialhot
We are here to learn and share :-)

Thanx 4 helping me on my way. :)


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.