View Full Version : AVISynth to FFMPEG
jdobbs
10th January 2004, 15:42
Is anyone using Avisynth to feed video into FFMPEG for encoding? If so, could you give me an example command line or method?
Thx.
jdobbs
11th January 2004, 14:43
Nobody?
sh0dan
11th January 2004, 15:20
Is there a binary somewhere?
Wilbert
11th January 2004, 15:27
http://www.hydrogenaudio.org/index.php?showtopic=17281
Look up the post of Bonzi on 01-09-'04.
jdobbs
11th January 2004, 15:48
Is there a binary somewhere?
Do you meant of FFMPEG? Look here (http://ffmpeg.sourceforge.net/)
I'm specifically interested in looking at FFMPEG's quality in outputting to MPEG-2.
Wilbert
11th January 2004, 16:39
That's an old binary.
PowerMacG4
11th January 2004, 17:24
Grab CVS source from
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
And then use Mingw32 / MSYS (http://sourceforge.net/project/showfiles.php?group_id=2435) to compile. It is pretty easy.
MfA
11th January 2004, 21:07
FFMPEG doesnt use the VFW framework does it? So how would you connect it to avisynth?
BoNz1
11th January 2004, 21:45
Originally posted by MfA
FFMPEG doesnt use the VFW framework does it? So how would you connect it to avisynth?
No it does not use vfw so ATM there is no way you can input avisynth into ffmpeg. If someone could create support for avisynth that would obviously make ffmpeg much more useable for windows users. Here is the mailing list for ffmpeg http://sourceforge.net/mailarchive/forum.php?forum_id=1506 But, avisynth doesn't need the vfw framework to make it work though does it? I mean the Helix Producer obviously doesn't use vfw framework and avisynth works through directshow I suppose. Maybe we should try out mencoder (which allows use of libavcodec and XviD among other things) first though before taking a lot of effort to try to get avisynth to work in avisynth.
avih
11th January 2004, 22:54
1. ffmpeg moved back to mplayer control. cvs as well iirc.
2. you can always use mencoder (win32 version available), which uses ffmpeg. latest compiled version for win32 is 1.0pre3, from 2003-12-09
BoNz1
11th January 2004, 23:07
Originally posted by avih
1. ffmpeg moved back to mplayer control. cvs as well iirc.
Yup, this is where my build came from, no worries I know the one of sf is outdated. But thanks for the reminder again, should save some people some frustration :).
bill_baroud
11th January 2004, 23:46
hmm i didn't read anything about FFMPEG, but afaik, you can use Avisynth to create a 'fake' avi ... so if FFMPEG can read avi for encoding (it should no ?) there is no reason it can't work :confused:
it's Avisynth who's handling the vfw stuff no ?
well correct me if i am wrong (and i must be ;) )
bilu
12th January 2004, 02:19
May be useful, direct access to avisynth without VFW using avilib from linux (includes source for windows):
http://forum.doom9.org/showthread.php?s=&postid=278284#post278284
Bilu
Doom9
5th February 2005, 17:05
just wondering if there has been any development in that area over the past year.
Inc
8th February 2005, 09:41
Milan did build a patch so mencoder can decode avisynth files. So maybe thats also the way to get ffmpeg working with avs files!?
If youre interested, Ill look for that patch an post it in here.
pawl
10th February 2005, 04:40
I've used avs2yuv to pipe input to ffmpeg(Jan cvs), and it worked fine. I think stdin input was broken for a while.
Don't remember it exactly, but it goes something like:
avs2yuv input.avs - | ffmpeg -f yuv4mpegpipe -i - output.(whatever)
EDIT: I guess -f yuv4mpegpipe has to come before -i -
dragongodz
10th February 2005, 05:51
dont expect to see FFMpeg supporting avs nativly it just wont happen. why ? read the mailing list sometime and see how people get crapped on when just asking about compiling or linking under Windows. a VERY anti-Windows crowd. other patches have been suggested in the past for Windows specific things, they were rejected in no time flat.
so the only way you can expect to use FFMpegs encoding is through other programs using avcodec such as QuEnc or the patched version of Mencoder that incredible mentioned.
pawl
11th February 2005, 01:27
Originally posted by dragongodz
dont expect to see FFMpeg supporting avs nativly it just wont happen. why ? read the mailing list sometime and see how people get crapped on when just asking about compiling or linking under Windows. a VERY anti-Windows crowd. other patches have been suggested in the past for Windows specific things, they were rejected in no time flat.
so the only way you can expect to use FFMpegs encoding is through other programs using avcodec such as QuEnc or the patched version of Mencoder that incredible mentioned.
...or you can use avs2yuv and pipe it to ffmpeg ;)
Platform specific things should stay out of ffmpeg since it is intended to be cross platform, don't ya think? It wouldn't be hard to make ffmpeg read avs directly, but it would work exactly like avs2yuv already does.
dragongodz
11th February 2005, 11:42
Platform specific things should stay out of ffmpeg since it is intended to be cross platform, don't ya think?
nice thought...total bollocks though. :D
fact is there are already platform specific compiler directives, platform specific codecs support etc etc etc yet the mention of windows and any suggestion that would help with it etc throws SOME of the people on the mailing list in to a frenzy of windows slagging and derision.
i can understand why AVS support would be rejected but other ideas in the past, such as compiler directives, that have been rejected with "GCC for windows doesnt need it and we are not interested in any other compilers windows has", is a different matter.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.