View Full Version : QCCE/AutoQ and Audio?
tebrt@yahoo.com
27th January 2005, 05:47
Hi! I hope you can help me with this problem. I searched the archives but found nothing related.
I'm using QCCE/AutoQ in CCE 2.67.00.23/EclCCE to find the Q for an avi, and both programs generate the Q, the .vaf and the .m2v, but I do not get the audio file. Here's the script:
clip=AVISource("c:\movie.avi",false)
aud=WAVSource("c:\movie.wav")
AudioDub(clip,aud)
ResampleAudio(48000)
clip1=Trim(1730,36040)
clip2=Trim(74001,182220)
clip1++clip2
MSharpen(12,103,true,false,false)
LanczosResize(720,480)
ConvertToYUY2()
Do I have to generate the audio manually using the Q value or am I mising something in the setup in EclCCE or CCE?
Thanks for your help!
TEBRT
drob
28th January 2005, 16:45
First I think none of the two programs parse the audio to cce, secondly cce is horrible with audio, your much better use toolame and encoding it yourself, lastly even if cce was any good with audio, and AutoQ and Qcce handling it, your script is disabling audio, the ",false" is canceling the audio in the avi file.
tebrt@yahoo.com
28th January 2005, 20:03
Hey drob! thanks for the reply!
First I think none of the two programs parse the audio to cce
Great! So I'm not crazy!
secondly cce is horrible with audio, your much better use toolame and encoding it yourself
The avi is a DivX with a VBR MP3. I was using the AVI to MPEG conversion guide either found here at doom9 or www.videohelp.com, using VirtualDub to extract and convert the audio, then avisynth to frameserve the video and new audio to CCE. It works fine with no a/v async. I'll try toolame as you suggested. (Hmmm...I wonder if I can use the .m2v file from AutoQ and the extracted audio from Vdub together in my authoring program..I probalby tried it but can't remember what I've done over the past few weeks...)
lastly even if cce was any good with audio, and AutoQ and Qcce handling it, your script is disabling audio, the ",false" is canceling the audio in the avi file.
But the next line tells the encoder where to find the new audio file and to resample at 48000. It has worked well, up until QCCE/AutoQ, but I'm always open to new and better ways of doing things, since I'm still on the learning curve.:scared:
Thanks for this and any other advice!
TEBRT
drob
28th January 2005, 21:13
That’s the method I always use, virtualdub, or dubmod to separate the audio (decompress for mp3, or demux for ac3), encode using toolame, then author the m2v with the mp2/ac3.
Yes the second line would have parsed the sound BUT since AutoQ and Qcce deal only with the video side of things nothing goes nowhere so there you have it.
tebrt@yahoo.com
28th January 2005, 22:12
drob,
Do you get any a/v sync issues when encoding the audio outside of your video encoder, espcially with VBR MP3? It took me quite awhile to get that sorted out, and darned if I gotta learn it all over again!!! :D I've been working on this avi for about 1 month and my wife is starting to complain about my obsessive/compulsive need to get this perfect!
Thanks!
TEBRT
drob
28th January 2005, 22:49
No, once you decompress the mp3 to wav, no delay should occur, since you converted into steady constant decompressed bitrate, just open your avi in vdub, go to audio, select full processing mode, next go to compression and select, no compression, lastly go to file and save wav, then encode with toolame,
tebrt@yahoo.com
28th January 2005, 23:42
drob:
I think I did that and I got an MP3-WAV (something like that) that g-spot told me was still VBR. I'll try it again. Also, what should my conversion setting be (i.e., leave at 32000, set at 44100 like the original VBR-MP3 or set at 48000?
Thanks!
TEBRT
Amnon82
29th January 2005, 00:40
Hi tebrt,
You can do it so.
Search the right Q-Value with my program. When You get it start FullEncode. Abort this Encode and DON'T CLOSE AutoQ. (It will delete the ECL-file when You close it).
Go to the folder of AutoQ and look for the Temp-folder.
In it You'll find a AQFULLENC.avs and a AQFULLENC.ecl
Copy this both files into another folder and close AutoQ.
Open the ECL-File with Your editor and change this lines in Your ECL to:
aud_out=1
aud_mode=0
aud_file=<path + name of mpa>
samples_per_sec=48000
stereo=1
brate_idx=9 (9=384, 8=320, 9=256, 8=224)
crc=1
aud_sync=0
Save it and encode this with CCE
tebrt@yahoo.com
2nd February 2005, 03:26
Sorry for the delyed response.
Amnon,
I tried the settings you recommended. At first I got a GetFileAttributes() error. I'm not sure what I did next but suddenly CCE recognized the audio settings and it ran. I was supposed to get a file size about 4.4GB, but instead I got a file size of about 500MB! The audio came out about the same size too. I haven't tried to reproduce the error (no time recently) but I'll fiddle with it.
Thanks to everyone for their help!
TEBRT
Amnon82
7th September 2005, 21:55
AutoQ2 and AutoQ are only coded for m2v-encoding. Most of the user are doing DVD-Rips. They will keep the AC3-Stream. Also CCE has not the best Audio-Encoder build in, so I skipped this function.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.