digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: ACM failed to suggest a compatible PCM format? (http://www.digitalfaq.com/archives/avisynth/2147-avisynth-acm-failed.html)

Reno 01-14-2003 10:10 PM

Avisynth: ACM failed to suggest a compatible PCM format?
 
I'm at a loss here. I'm new to Avisynth, so go easy on me, guys.

What have I screwed up this time?? :?

Script:

-----------------------------------------------------------------------------

LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\MPEG2DEC.dll")
LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\LegalClip.dll")
LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\Blockbuster.dll")
LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\FluxSmooth.dll")
LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\Sampler.dll")
LoadPlugin("C:\PROGRAM FILES\Fit CD and Avisynth Filters\GripFit_Preview.dll")
avisource("C:\Documents and Settings\Steve\Desktop\K19.The.Widowmaker.DVDRip.D ivX-DiAMOND.CD1.avi")
ConvertToYUY2()
LegalClip()
GripFit( width=528, height=480, overscan=1)
FluxSmooth()
LegalClip()
#Sampler(length=24)

##stuck ConvertToYUY2() In there to see if it would help.##
------------------------------------------------------------------------------------

Ahh yes, the wonderful world of the video encoder newbie. Perhaps I'll do something less frustrating, like playing Age of Mythology on maximum hardness against five opponents. :x

SansGrip 01-14-2003 10:19 PM

Re: ACM failed to suggest a compatible PCM format (??)
 
Quote:

Originally Posted by Reno
I'm at a loss here. I'm new to Avisynth, so go easy on me, guys.

Try this:

Code:

avisource("C:\Documents and Settings\Steve\Desktop\K19.The.Widowmaker.DVDRip.DivX-DiAMOND.CD1.avi", false)
That stops Avisynth trying to load the audio too, which won't work in this instance because it's probably AC3. You'll need to extract it with VirtualDub (using "Direct stream copy" mode) then rename it to "whatever.ac3" then load it into HeadAC3he and convert to an MP2.

urban tec 01-14-2003 10:23 PM

Hi Reno,

PCM points to audio, try this addition to the avis ource line

avisource("C:\Documents and Settings\Steve\Desktop\K19.The.Widowmaker.DVDRip.D ivX-DiAMOND.CD1.avi",false)

This will load the video only, if this works then the problem is the audio in the divx, you probaly dont have the required codec installed. If you get an application called Gspot you can open the divx with it and it will tell the codec used for audio and if it is installed, you could also try extracting the audio with vitualdub to wav and use this as the audio source. Make sure to set audio to full proccessing the do file save wav.

urban tec 01-14-2003 10:29 PM

Man you need to get up early to beat Sansgrip and Kwag to a reply :lol: :lol: :lol:

Reno 01-14-2003 10:29 PM

You guys are the greatest.

I would be SO lost without this forum...

Reno 01-14-2003 10:31 PM

BTW, it worked.

Duh :roll:

SansGrip 01-14-2003 10:57 PM

Quote:

Originally Posted by urban tec
Man you need to get up early to beat Sansgrip and Kwag to a reply :lol: :lol: :lol:

8O :mrgreen:.

kwag 01-14-2003 11:02 PM

Quote:

Originally Posted by urban tec
Man you need to get up early to beat Sansgrip and Kwag to a reply :lol: :lol: :lol:

And SansGrip usually beats me by posting just one minute in advanced :mrgreen:

SansGrip 01-14-2003 11:04 PM

Quote:

Originally Posted by kwag
And SansGrip usually beats me by posting just one minute in advanced :mrgreen:

SansGrip spends way too much time reading forums 8).

Boulder 01-15-2003 05:15 AM

Quote:

Originally Posted by SansGrip
SansGrip spends way too much time reading forums 8).

OT: Fluctuating temporally between The Real Life(tm) and these forums, eh?

Does anyone know why Avisynth can't decompress audio off some of my AVIs that have MP3 audio in them? Is there a specific format it just doesn't support? The audio plays fine when played with Media Player Classic but when I load the clip with AVISource, I get the same error message as stated above.

urban tec 01-15-2003 07:25 AM

Quote:

BTW, it worked.
That's great :)


Quote:

Does anyone know why Avisynth can't decompress audio off some of my AVIs that have MP3 audio

Just guessing but I think it may be VBR mp3 it has a problem with

Quote:

And SansGrip usually beats me by posting just one minute in advanced
Yeh dont you feel like a dufus when you post the same thing a minute later :D

Quote:

SansGrip spends way too much time reading forums .
And we reap the rewards, you do an awsome job Sansgrip. You must have a very understanding wife :) :)

SansGrip 01-15-2003 08:30 AM

Quote:

Originally Posted by Boulder
OT: Fluctuating temporally between The Real Life(tm) and these forums, eh?

Pretty much ;).

IgotUbabe 11-20-2003 12:59 PM

I got the same messege as reno. The audio, according to Gspot, is "0x0055(MP3) ID'd as MPEG-1 Layer 3" and it plays fine. I only want to merge the 2 parts of this avi together without having to resync a/v. What can I do?

Also, when I used the above suggestion(...name.avi" , false) it worked fine but when I tried to save it in vdub(using direct stream), the file size became much too large. Any chance i can keep the file size about the same as it is was?

my script
-------------

part1 = AVISource("C:\Folders\moviePT1.avi" , false).AssumeFPS(23.976)

part2 = AVISource("C:\Folders\moviePT2.avi" , false).AssumeFPS(23.976)

AlignedSplice(part1, part2)

Dialhot 11-20-2003 03:33 PM

Why use avisynth when vdub can do the job ?

OPen vdub, load the first avi, load the second one by selecting "append avi segment" in file menu. Put video and audio on "Direct Stream Copy", save the avi. That's it.

IgotUbabe 11-20-2003 04:39 PM

Vdub doesn't seem to append. Every time I try and then f7, it only saves part 1. I have tried other avi joiners with an "unrecognized format" for the result.

I tried avisynth as another option (read in a thread somewhere). The error avisynth gave me leads me to believe that the audio needs converting before I can properly join the files(I hope not).

Is there a way to merge these files without seperating the audio? Or if I seperate them, how do I interleave/multiplex the audio back in?

Dialhot 11-20-2003 04:53 PM

I always use Vdub for joining so trust me, it does.

In your case I assume that your two avi don't have the same parameters (framerate ?) and so, you won't find any tools to merge them without reencoding.

rendalunit 11-20-2003 06:56 PM

another option would be to separate the audio from the two avi's with Goldwave. Open the first. Open the second. Copy and paste the second to the first. Save wav. file. Encode to mp2.

Then in the avisynth script, make the two clips the same so they can be joined for video encoding. Example:

part1=avisource("movie1.avi",false).bilinearresize (352,240).assumefps(23.97)
part2=avisource("movie2.avi",false).bilinearresize (352,240).assumefps(23.97)
movie=part1+part2
limiter(movie)

then mux the video and mp2 file as usual

Goldwave won't separate Ac3 audio from a clip though (i don't think so)

IgotUbabe 11-20-2003 09:01 PM

I'll try the goldweave, rendalunit, and the script.

As for Vdub, I think the prob was my computer
(400celeron) since I took the files to another computer and it joined them just fine. Maybe its time to reinstall the os..

Thanks for the tips, this is a great forum.


All times are GMT -5. The time now is 09:17 PM  —  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.