View Full Version : Framerate conversion SDK?
Dan203
11th February 2011, 03:39
Does anyone know of a framerate conversion SDK or LGPL lib that does a decent job converting NTSC<>PAL? I just need something that will take YUV frames in and spit YUV frames out, it doesn't need to decode/encode.
The only commercial one I could find is from MainConcept and it's only available as a DirectShow filter. My program is not DS. I could wrap it, but I'd rather avoid that if I can.
Does FFmpeg have a YUV framerate converter in it? What about the AVISynth filters, are any of them LGPL and capable of being tapped into by other software? Any other suggestions?
Dan
Blue_MiSfit
11th February 2011, 06:07
I'd look at AviSynth, for sure. I'm not sure if the license is actually LGPL, but it's going to give you good results.
Derek
Dan203
11th February 2011, 09:40
I need something that can be used in a commercial application. So it either has to have a commercial license or be LGPL.
Dan
Ajax_Undone
11th February 2011, 10:38
No! you can use AVIsynth in a commercial app so long as you give credit where credit is due.
(You must include a copy of the GPL!)
manono
11th February 2011, 13:19
I just need something that will take YUV frames in and spit YUV frames out, it doesn't need to decode/encode.
If you're doing more than just changing the framerate (like changing the resolution), you'll have to encode.
Dan203
11th February 2011, 21:36
I can't use GPL code, I need something with an LGPL or commercial license. We're willing to pay for a commercial license if anyone knows of a product. Unfortunately the only ones I've found are one from MainConcept, which is DirectShow, and one from YUVSoft which is really, really, slow and can only do integer changes (i.e. doubling, tripling, etc...) so it wont work for NTSC<>PAL. I need something that is relatively quick and produces decent quality when converting between NTSC and PAL.
I understand that a recode is required to change the frame rate.
Dan
LoRd_MuldeR
11th February 2011, 22:40
The GPL explicitly allows commercial usage.
So while you may not incorporate GPL'd code into your own proprietary source code, you may very well use existing GPL tools in your processing chain.
MEnocder or FFmpeg should be able to accept YUV frames from stdin and write the result as YUV frames back to stdout...
(And, if you prefer Avisynth processing, there is AVS2YUV, which can output the result of your AVS script to stdout as "raw" YUV data or YUV4MPEG)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.