cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
60
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Bret Wittmann on 22-04-2011 02:30:50 AM
I think there may be a bug when compositing hdmi camera input 1 full screen to output 3 composite. It seems to work intermittently at best. I am using the layout commands to control this by updating a frame. Thanks Bret

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Jeremy Justin on 08-05-2011 05:59:15 AM
Bret sent me some additional information that might help...he has not received a response on this yet.  Here it is

"The problem I am having is when I use the xcommands to send HDMI input 1 [presenter camera] to  output 3 composite full screen. I am not in a call, but just using the C60 as a switcher/scalar. I am very familiar with the API as I have been using the C90’s as switchers in our rooms for over a year now. I add the layout, create the frame, then update the frame as needed as described in the API for setting up layouts. I am pretty sure this is not a code error as I am getting the proper feedback from the C60 saying frame updated successfully."

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Jeremy Justin on 24-05-2011 08:50:00 AM
Further information from customer Bret

"Hi Justin –
Here is a picture of the send/receive from the Crestron processor:



As you can see, when I want the Video Conference output to go fullscreen [the first three lines], I unassign the layer from the output. This brings the VTC unit output back to its original state, just like it first appears  out of the box. When I want to assign the camera to the preview monitor, or input 1 to output 3 full screen, I assign the layer to output three [lines 8-10], and update the frame with the proper parameters [lines 10-14]. As you can see, the C60 response replies that it has taken the command just fine.
Please keep in mind that this happens after I have added the layers and updated the frames as described in the “Video Compositor” section of the how to guide on the API – referenced here:
http://developer.tandberg.com/web/guest/howtos/cseries-api/video-compositor

Thanks,
Bret

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: David Bruun-Lie on 24-05-2011 02:47:37 PM
Hi Guys,
sorry for late answer.

Looks like the commands being sent to the codec are the correct ones.
Just be aware that you are only able to assign a layout with one full screen frame with x:0 y:0 width:10000 height:10000 to the composite output  The API will unfortunately NOT give any warning/errors if a layout not following these rules are assigned.

Could this be the issue in the intermittent cases you are describing?

Cheers,
David

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Bret Wittmann on 03-06-2011 12:12:18 AM
Hi David,
I am  only using one frame on this output. After I create it, I am just updating it with a different input, and then either unassigning or assigning it;  So this couldn’t be the issue. Are you able to mock up this problem in your lab over there ?
Thanks,
Bret

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: David Bruun-Lie on 27-06-2011 11:57:22 AM
Bret,
sorry for the late followup. I have just tested this myself now in the lab and I get it to work as intended, routing HDMI1 to composite3 on a C60. Can you describe what you mean by "works intermittently"? In which scenarios does it work/not work?

Cheers,
David

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Bret Wittmann on 27-06-2011 08:49:09 PM
HI David,
Did you use the commands that i used as described in this thread ? As you can see I  am not getting any error messages ..
Thanks,
Bret

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: David Bruun-Lie on 28-06-2011 04:00:00 PM
Bret,
I actually found a bug :-)

The bug is that any layouts that are created with the "layer" set to higher than 1 will not be displayed on the composite output.

So:

The following WILL work:

xcommand Video Layout Add
xcommand Video Layout Frame add layoutId:1 positionx:0 positiony:0 width:10000 height:10000 layer:1 border:off videosourcetype:localinput videosourceId:1
xcommand Video Layout assign callId:1 OutputId:3 layoutid:1 (or better: xcommand Video Layout AssignLocalOutput OutputId: 3 layoutId:1)

So will this:
xcommand Video Layout Add
xcommand Video Layout assign callId:1 OutputId:3 layoutid:1 (or better: xcommand Video Layout AssignLocalOutput OutputId: 3 layoutId:1)
xcommand Video Layout Frame add layoutId:1 positionx:0 positiony:0 width:10000 height:10000 layer:5 border:off videosourcetype:localinput videosourceId:1

However, this will fail (and what is what you are doing):

xcommand Video Layout Add
xcommand Video Layout Frame add layoutId:1 positionx:0 positiony:0 width:10000 height:10000 layer:5 border:off videosourcetype:localinput videosourceId:1
xcommand Video Layout assign callId:1 OutputId:3 layoutid:1 (or better: xcommand Video Layout AssignLocalOutput OutputId: 3 layoutId:1)

Any special reason why you are using layer:5 ? Solution is to use layer:1

Cheers,
David

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Bret Wittmann on 28-06-2011 07:11:29 PM
The API states the following
" Layer: The stacking order of the frames (1-5). Must be unique per frame per layout. Layer 5 will be on top." 

This is for the instructions for adding a layer using xcommands, so I have been using layer 5 since it has priority - it this wrong ?

Thanks for working on this and finally tracking down this bug. I will go over there today and try this fix...
Thanks,
Bret

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: David Bruun-Lie on 29-06-2011 02:07:01 PM
I agree that the text may be somewhat misleading. I have therefore updated the text with a bit more verbose version describing its usage and pitfalls :-)

Cheers,
David

Subject: RE: C60 Presenter camera  input  to composite output
Replied by: Bret Wittmann on 29-06-2011 07:47:42 PM
The fix you provided works when I use layer 1 instead of 5. --
Thanks for the help with mocking it up on your end..
Cheers,
Bret
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links