On Wed, 2004-07-07 at 22:04 -0300, Rob Shortt wrote: > > http://sault.org/mebox/livetv.php > > Ok, that's impressive!
Thanks. :) > I wonder if it will work with the PS from vdr-streamdev... Assuming mplayer has no troubles with it by itself, then the main issue is going to be how the mpeg timestamps are done. With my ivtv card, timestamps begin at 0 from the time the device is opened. If vdr- streamdev works differently, some extra logic will have to be added to handle that, but I don't think the design needs to be fundamentally changed. > Yes, how about a bmovl2 plugin anyone? Jason, can you make available > any bmovl2 controlling python code you have? Also, the canvas looks > interesting as well. Sure. Tomorrow I'll work on separating out the canvas classes from MeBox so they can stand on their own and do up a few examples. The canvas code, as it is now, is my first crack at it. And you know how it goes: it's not until about the third rewrite that most developers are happy with their code. But it'll give you a good starting point. My stuff uses imlib2, which I've made a python extension for, so I'll release that as well. This wasn't so much due to Not Invented Here syndrome, but rather because PIL and pygame wouldn't fit the bill. (PIL's compositing/blending functions were lacking, and pygame required initializing an X11 window, but since MeBox works entirely through MPlayer this was a problem; I couldn't figure out how to work around that.) My Imlib2 python extension also has some custom code to work with bmovl2, specifically converting RGBA to YV12 (bmovl2 can do this, but it's better to be done outside the mplayer process) and as well some mmap stuff. But Imlib2 isn't required. PIL or pygame will work fine with bmovl2. I just had different requirements. I'll post here once I have something downloadable. > I will have to find some time for hacking this weekend for sure. The > best way for me to test the timeshifting stuff will be to get it working > inside Freevo so if anyone else is working on that please let me know so > I don't duplicate effort. :) It'd be really awesome if you got this working with Freevo. :) I'm not sure how you'll handle the OSD stuff, but if you end up using bmovl2, I'll push harder to get it merged upstream. I posted a patch to mplayer-dev some months ago, but I've added mmap optimizations since then and it hasn't been reviewed. Cheers, Jason.
signature.asc
Description: This is a digitally signed message part
