Mark Adams wrote: > > Ok so I have to use layers for optimal results - that I get. But I > don't understand why the decoder would report frame errors when I > try to blit the decoded frame. > > > Without knowing a little more about where your data is coming from, I > couldn't say. If you're trying to play something from a digital TV > tuner and you can't keep up, that'll cause problems. Alternatively, > it could be an unrelated problem. > > Also I just tried my first layer implementation ever - and I still get > > the Frame errors - but no pictures at all. > > > Try some of the DirectFB test apps with the overlay layer and see if > they work first. You can get any app to display on the overlay by > using the primary-layer option (see man directfbrc). > > I might be a bit hung up on the wording in the README. Even though > should use layers - I should still blit from mpegfb[x], right? > > > Yes. > > I guess I can trust I have the right chip, no? > > > I've no idea. Tell me what hardware you're using. Of the VIA chips, > only the CLE266 has the V1 overlay layer that you need to use the > hardware decoder directly. The later chips don't have this and > require different functionality that is there in the hardware but not > currently supported by the DirectFB unichrome driver. > > uhm... I just read some of your earlier posts on the internet. > They seem to rotate around TV output - I am not using tvout, that > has nothing to do with the issue, right? > > > TV out is a separate issue. > > Mark > If someone is struggling with this as I was: Using layers as Mark indicates indeed did the trick. I no longer have any problems (except) I have to do something about the audio ;) The playback is more or less smooth now. And cpu usage is in the range 35-50% - very cool indeed.
Thomas _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
