Re: [Redbutton-devel] Small changes to rb for Fedora 9
Brought to you by:
skilvington
|
From: Andrea <mar...@go...> - 2008-06-11 19:57:54
|
Simon Kilvington wrote: > not sure why the audio does not play in News Multiscreen - it works for > me - the error you get seems to suggest it is trying to open an audio > stream that does not exist - if you run rb-browser with the -v flag and > send me a log of the output, I'll see if I can work out what is going > wrong will try that. > xvideo output - this has been on my todo list for a long time - if you > want to implement it I would be very pleased ;-) you should be able to > base the code on videoout_xshm - I've been thinking it may be better to > also have a function in the videoout_* codes to overlay the MHEG scene > on the video - if we can feed YUV frames to xvideo rather than having to > convert them to RGB first, then it may turn out better to convert the > MHEG scene to YUV and composite that on the YUV video then feed the > result to xvideo - the scene will change a lot less often than the video > so there should be a lot less RGB->YUV conversion going on I have understood a little how videoout_xshm works, comparing it to _null. A you mention below, I still have to understand how the overlay of the MHEG over the video works. > so we would basically have a function in videoout_* called something > like "set_overlay" that gets called each time the MHEG scene changes - > then each time we show a video frame we composite the current overlay > on to it > need to think more about that but thanks for the hints. A couple of other points: 1) sometimes the rb-download is not fast enough to read from dvr and it gets an overflow. you might try to set the DMX_SET_BUFFER_SIZE which (from 2.6.26) works for the dvr too. One could always open the dvr and set a bigger buffer (default is just less than 2 MB) 2) why not use a video engine like xine? I should be possible to add overlay, more or less in the same way as subtitles are added to the video. what do you think? Thanks Andrea |