Linked by Thom Holwerda on Sun 16th May 2010 12:52 UTC, submitted by mrsteveman1
Thread beginning with comment 424877
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Why not just use built in decoders?
by tyrione on Sun 16th May 2010 20:36
in reply to "RE[2]: Why not just use built in decoders?"
RE[4]: Why not just use built in decoders?
by Tuishimi on Sun 16th May 2010 22:01
in reply to "RE[3]: Why not just use built in decoders?"




Member since:
2006-11-19
I still content that using a set of existing decoders is a lot simpler than writing your own.
Even if you use some existing cross platform decoding library, you still need to tie the out to the windowing system, which is different on OSX, Windows, and X11.
Fine, direct show is being phased out, like I said, I have not been forced to use Windows in a long time, but I'm still assuming that MS gives you a pretty easy way of decoding video. I do know thats it pretty easy to decode a video stream with either the CoreAnimation or QuickTime frameworks, its about 20 - 30 LOC (lines of code) to decode with QuickTime.
Its probably more effort to tie the 3rd party decoder to the native windowing system than it is to use the native decoder. You are also probably shortchanging your users by using a 3rd party decoder as the build in decoders are pretty dammed optimized by Apple and MS. You also have to build, package and deliver any 3rd party libs. On the linux side, just use a package manager to make sure that the existing decoders are installed.