On Wednesday 26 Apr 2006 10:59, Nicolas Huillard wrote: > Laz a écrit : > > Nothing really to report yet: I now have a working-ish version of > > libsoftmpeg which uses the hardware decoder. It no longer needs to > > have things running as root (which is always nice!) and I eventually > > got it working with the demo app (plays back an MPEG2-TS file), > > albeit quite jerkily! > > Congratulations ! > Feel free to submit code to the ML (directfb, softdevice), to give a > chance to test.
Still a bit early for that, I'm afraid! > If you modified libsoftmpeg, you can also upload your mods to the > DirectFB CVS repository, to have a broader audience. I think DOK was > interested (2005-09) in adding hardware support to the MPEG2 video > provider in DirectFB. If he can do this using your modified > libsoftmpeg, you will get much more testers and maybe developers. That would be good. As it stands, libsoftmpeg does both the decoding and displaying of an MPEG stream as separate threads (still not worked out whether it will do MPEG1 as well as MPEG2...). The decoded frames end up in DirectFB surfaces which are then flipped. I'm sure it would be much simpler if I removed the display thread (or made it optional) and let something else do the actual flipping step. I may also remove all traces of avcodec from my version so that it would then only work with CLE266 (and CLE400?) chips. At the moment, there are huge chunks of code which are ignored due to #defines. > > I'll need to do a bit more testing with this and then I'll try to > > work it into an output method for softdevice. > > Great ! > I just though about something : if your code is a new output method, it > will only handle MPEG1/2, preventing from using softplay to decode DivX > et al. Maybe it's better implemented as an alternate decoder for the > directfb output method, giving a chance to still use current libavcodec > for other codecs. I thought softplay was pretty much stand-alone and used ffmpeg to decode stuff: softdevice also uses ffmpeg but only decodes MPEG streams. > > I doubt I'll get much done before the weekend, though... > > Live your life, keep up the good work, and try to build a supporting > community around your project. :) Cheers, Laz _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
