From: Dan D. <da...@de...> - 2010-01-22 03:55:41
|
On Thu, Jan 21, 2010 at 7:14 PM, Dan Dennedy <da...@de...> wrote: > I wanted to let you know about something with VDPAU in MLT as it > relates to multiple usage. Basically, when you have a h264 video open > in the app and using vdpau, then rendering fails - at least if you > call 'melt' to do the render on my system. I think VDPAU only likes it > when one app is using it a time. If you add property novdpau=1 to the > producer (safe to supply even when not h264) then it disables usage of > VDPAU. For starters, I recommend that apps offer per-clip and/or > global option to disable VDPAU. Next, I think you should add this > property to the XML passed to melt for rendering. That should help the > rendering to succeed when you still have the project open in the app. > But, make sure you remove that property to the in-memory object tree > to let the user take advantage of VDPAU (unless VDPAU disabled)! Of > course, if you just want to be safe and keep support headache to a > minimum for now, then just always supply novdpau=1 everywhere > indiscriminately. I just added support for an environment variable MLT_NO_VDPAU=1 to disable VDPAU as well. I think that ought to be easier to integrate to a call to render with melt. -- +-DRD-+ |