Log in

View Full Version : Chain Avisynth between capture and compressing


hatte
29th March 2007, 03:38
What should I do to acheve the subj?

It would be great to crop, resize and deinterlace before (pre)encoding...

Already tried to use directshowsource ("video.grf") with simple "capture - crossbar - render". Faced 2 difficulties: Avisynth requires quantity of frames defined, and afaik there're no loseless commandline encoders (x264 q = 0 showed gray screen for some reason).

Generally I'm not against VfW. Long time ago I've tried ffdshow's avs includes but it didn't work either - something with crop/resize.

Waiting for your ideas.

Pookie
29th March 2007, 05:49
"and afaik there're no loseless commandline encoders"

ffmpeg -i file.avs -vcodec huffyuv -y output.avi

or

ffmpeg -i file.avs -vcodec rawvideo -acodec pcm_s16le -y output.avi


several other lossless codecs available :)

foxyshadis
29th March 2007, 15:08
For x264 lossless you could also try the experimental AVCSource, but you'll get better encoding and decoding speed and usually smaller size out of ffmpeg/mencoder with ffv1.