Log in

View Full Version : Can ffmeg take AVS and output uncompressed AVI?


photoguy123
23rd October 2007, 18:44
Shouldn't creating an uncompressed AVI from an AVS be simple using FFMEG?

This is what I'm trying:

FFMPeg.exe -i Input.avs -y -benchmark -acodec copy -f rawvideo -pix_fmt rgb24 output.avi

It outputs a file that looks the right size (big), but is unreadable by VDub or AVISynth.

Any ideas appreciated,
PG

foxyshadis
23rd October 2007, 22:54
-f avi

J_Darnley
23rd October 2007, 23:20
foxyshadis is correct, -f rawvideo will output the raw video stream without any container (or audio). You should really use -vcodec rawvideo to make the command something like:

ffmpeg -y -benchmark -i input.avs -acodec copy -vcodec rawvideo -pix_fmt rgb24 output.avi

photoguy123
24th October 2007, 03:34
Wow J_Darnley thank you, it worked!

I tried so much web searching and just couldn't find the answer.

Foxyshadis, -f avi does not work. For some reason that triggers the "FMP4" codec to be used. However thank you for your reply, it is appreciated.

Best regards,
PG