Title: | Multimedia Services |
Notice: | Latest kit is always in hitujr::"/pub/" |
Moderator: | BGSDEV::MORRIS |
Created: | Fri Jul 02 1993 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 505 |
Total number of notes: | 2097 |
\+----------------------- Beginning of Screener's Text -----------------------+ \<s2><xxwkvm >unix 4.0b cust is having problems w/ mulimedia services \+--------------------------- End of Screener's Text --------------------------+ Will post the following note to the BGSDEV::MULTIMEDIA_SERVICES notes conference to see if anyone can give us some ideas about what might cause the hang situation that he is seeing. What follows is what will be posted: I have a customer who has taken the viddualrecord.c program and modified it to act as a backend to a frontend program which runs in another process and has a gui user interface. He is using shared memory to effect the communication between the 2 processes. This arrangement works fine for a while but at various points the video card appears to stop streaming and his backend program hangs at the mmeWaitForCallbacks call. He is aware that this is probably caused by a problem that he has introduced but he would like to know if anyone has any ideas what would cause the AV321 card to stop streaming. My guess would be that he has overwritten some memory somewhere that is essential to the proper operation of the card. I suggested that he start pulling things out of the code until it stops failing and he is in the process of doing this but he would like to know if anyone has had similar experiences and what circumstances might cause the card to stop streaming. He is running MME V2.2 under Digital Unix 4.0b and has a AV321 full video supreme card in his alpha workstation. Another question that he has regards the recording and displaying of black and white video. He is currently using color because it can be recorded and displayed using dual buffers, but he would like to use black and white because of the space savings and his application only needs black and white information. However, black and white seems to be limited to only one buffer so that he cannot record and display simultaneously. Is this actually true, and if so, has anyone found a workaround?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
497.1 | It's a bug | BGSDEV::MORRIS | Tom Morris - Light & Sound Engineering | Tue Apr 01 1997 00:50 | 17 |
The bug is someplace in their programs, but I could only begin to guess where. They need to debug it. One thing to watch for is that the MMS library is not thread safe, so all calls must be protected by a mutex. The whole scheme will require careful design and verification by the programmer to make sure that they don't introduce races. The easiest way to record black and white is to capture YUV and through away the U&V (chrominance) compenents. In other words, only keep every other pixel. I'm not sure why dual buffers are required. Why can't the same buffer be used for the screen and the file if the formats are the same? Dual capture is for capturing two *different* formats simultaneously. Tom |