Hey, I am working a page where you can download youtube videos and convert them online (and the users can download as mpg, avi, or even mp3 files).

I use youtube-dl script and ffmpeg to do the job.
But the thing is the result's quality is not that good.

Honestly, this idea was based on the vixy.net. And I think vixy.net has a very nice converter engine. Fortunately their code is open for public.

I tried to implement vixy.net code but it didn't even compile properly. It had something to do with avformat.h file. Does anybody know how to use their code?

BTW, the page is www.youtubehack.net. It's very simple and still new :P