Log in

View Full Version : huffyuv: cli interface


nekostephan
22nd February 2008, 21:49
Since I have to do encodes quite often, I was wondering whether there is any way to use Huffyuv codec from the command line. All the other operations are done with batch scripts, but as for huffyuv I always have to use VDub.

Is there any way around this?

Ranguvar
22nd February 2008, 22:54
mencoder will encode to HuffYUV :)

nekostephan
26th February 2008, 10:07
Jesus, that was sooooo obvious :D
Thank you.

smok3
26th February 2008, 10:36
you can script virtualdub as well, huff example;
http://somestuff.org/bat/vdubhuff.zip
(this is meant for total commander, but you will get an idea)

nekostephan
27th February 2008, 10:04
Whoa, this looks way too complex for me. Although this might be exactly what I need.

smok3
27th February 2008, 12:53
basic command would be;
d:\path\to\vdub.exe /i "d:\path\to\vdubhuff.script" "d:\path\to\input.avi" "d:\path\to\output.avi"

which is simple enough? you can build from there

the *.script thingy is something you can generate by looking at the syntax of the virtualdub jobs (i think it is a stripped down version a bit)
p.s. jobs file should be at 'virtualdub programdir/VirtualDub.jobs'

nekostephan
29th February 2008, 12:09
This turned out to be less complicated then I thought in the beginning.

Thanks a lot.

nekostephan
29th February 2008, 20:13
To tell the truth VDub hung up my system a couple of times so I settled with mencoder, which is also easier to script.