View Full Version : Trying to use CCE instead of TMPEnc...
torok
21st April 2004, 01:55
I got the video all set up. It draws from an AVISynth script in the right format. But I am still left with no audio. TMPEnc is really nice and muxes it all in for you. Is there any way to get this done without grabbing the PCM from my file, encoding it manually with TooLame, then muxing it back together? It seems like an aweful lot of work considering how many files I have to encode. Thanks for the help!
torok
21st April 2004, 20:27
Okay, I gather from the 40 views and no posts that this ain't gonna happen. If I HAVE to do the audio and video seperatly, what do you think the best way would be? Keeping the number of steps to a minimum is what I'm going for here.
Does your AviSynth script output audio? If yes, is the sampling rate correct (you can use a ResampleAudio command at the end of your script). You can create the audio in CCE, but tooLAME is a better encoder. So I'd prefer to use BeSweet to encode (and maybe resample) the audio part.
bb
torok
25th April 2004, 17:41
Yea, I'm just stripping the audio with V-Dub -- using AVISynth with resampleAudio(48000) -- and then encoding with a seperate program. I figured out that I don't have to mux it back together, so that saves a step.
You could post your AviSynth script, and tell which kind of source file you have, and I might be able introduce new ideas.
bb
torok
30th April 2004, 15:55
Sure, here's what I currently have. The source is a TV capture.
LoadPlugin("Decomb511.dll")
LoadPlugin("Convolution3D.dll")
AVISource("tmp.avi")
Crop(8,0,0,0)
Trim(1179,4605) + Trim(6424,21656) + Trim(27162,46217) + Trim(52310,53300)
Telecide(order=1,guide=1,post=2,vthresh=40)
#Decimate()
Convolution3D (0, 32, 128, 32, 128, 10, 0)
BicubicResize(720,480)
ResampleAudio(48000)
GetLeftChannel()
Ok, I do the trimming in VirtualDub, then save the WAV file. I crop and resize, and then I save a VCF file (Save processing settings), making sure that the checkbox in the bottom left corner of the save dialog is checked. Then I use my tiny program vcf2avs_gui to convert the vcf file into an AviSynth script (AVS), which it does including the trims, crops, and resize statements, and optionally a telecide and a convolution3d command. For DVD creation I often add an AddBorders manually.
I convert the WAV file via BeSweet using the BeSweet GUI, or I use the ffmpeg GUI or AC3Machine to get 2-ch dolby digital.
The AVS gets fed into my favourite MPEG-2 encoder, which I use for the video only. My authoring software (DVDlab) eats elementary streams, so there's no need for a muxer.
If I want to create a DivX video, I use VirtualDub to encode the AVS instead, and use LAME (from the BeSweet GUI) to get good quality MP3.
bb
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.