40 likes | 59 Views
C90 の Video 設定. ###Video の出力設定 ### xconf video out //monitor *c xConfiguration Video Output HDMI 1 MonitorRole: First *c xConfiguration Video Output HDMI 3 MonitorRole: Second *c xConfiguration Video Output DVI 2 MonitorRole: First *c xConfiguration Video Output DVI 4 MonitorRole: Second
E N D
C90のVideo設定 ###Videoの出力設定### xconf video out //monitor *c xConfiguration Video Output HDMI 1 MonitorRole: First *c xConfiguration Video Output HDMI 3 MonitorRole: Second *c xConfiguration Video Output DVI 2 MonitorRole: First *c xConfiguration Video Output DVI 4 MonitorRole: Second *c xConfiguration Video Output Composite 5 MonitorRole: First ###Videoの入力設定### xconf video Input //Connector *c xConfiguration Video Input Source 1 Connector: HDMI *c xConfiguration Video Input Source 2 Connector: HDMI *c xConfiguration Video Input Source 3 Connector: DVI *c xConfiguration Video Input Source 4 Connector: HDMI *c xConfiguration Video Input Source 5 Connector: DVI ###モニタロール### *c xConfiguration Video Monitors: Single 従来のComposite出力 Composite 5にselfviewしか表示されない HDMI 1 Composite 5
C90のOutput 4からInput 5にケーブル接続(DVI-DVI) 以下のコマンド入力 xCommand Video Layout Reset xCommand Video Layout Add LayoutId: 1 xCommand Video Layout AssignLocalOutput LayoutId: 1 OutputId: 5 xCommand Video Layout Frame Add LayoutId: 1 FrameId: 1 PositionX: 0 PositionY: 0 Width: 10000 Height: 10000 Layer: 1 Border: Off VideoSourceType: localInput VideoSourceId: 5 Output 4と同等の出力になる HDMI 1 Composite 5
起動時に上記コマンド入力したいのでscripts.dに設定起動時に上記コマンド入力したいのでscripts.dに設定 [tandberg:/user/scripts.d] $ cat c90_comp.tsh #!/usr/bin/env tsh xCommand Video Layout Reset xCommand Video Layout Add LayoutId: 1 xCommand Video Layout AssignLocalOutput LayoutId: 1 OutputId: 5 xCommand Video Layout Frame Add LayoutId: 1 FrameId: 1 PositionX: 0 PositionY: 0 Width: 10000 Height: 10000 Layer: 1 Border: Off VideoSourceType: localInput VideoSourceId: 5 [tandberg:/user/scripts.d] $ ll total 1 -rwxr-xr-x 1 root root 324 Dec 11 01:24 c90_comp.tsh [tandberg:/user/scripts.d] $ C90再起動後、従来のComposite出力に戻る Composite 5にselfviewしか表示されない HDMI 1 Composite 5
HDMI 1 Composite 5 作成したスクリプトが有効なのか確認 [tandberg:/user/scripts.d] $ tsh <c90_comp.tsh Welcome to TANDBERG Codec Release TC5.1.5.297625 SW Release Date: 2012-11-16 OK *r VideoLayoutResetResult (status=OK): ** end OK *r VideoLayoutAddResult (status=OK): LayoutId: 1 ** end OK *r VideoLayoutAssignLocalOutputResult (status=OK): ** end OK *r VideoLayoutFrameAddResult (status=OK): FrameId: 1 ** end OK Failed to read: Inappropriate ioctl for device [tandberg:/user/scripts.d] $ Output 4と同等の出力になる エラーメッセージ表示するが、 画面は期待通りの出力なので スクリプトは間違えていない様子