通过C#从PC通过HDMI控制电视 [英] Controlling TV via HDMI from PC via C#

查看:940
本文介绍了通过C#从PC通过HDMI控制电视的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想从我的电脑控制我的三星电视(Windows 7)。我通过HDMI连接了它(我的显卡直接HDMI输出)。在计算机上,运行C#程序,从电脑到电视播放电影,并自动将声音和视频输出切换到电视。现在我想改进程序,当用户按下播放电影按钮时,我想自动打开电视并将电视视频输入从天线切换到HDMI输入。



电视支持三星Anynet + - 标准,支持更多三星设备的一个遥控器(您只需通过一个遥控器控制您的电视,DVD,相机等)。也许当计算机看起来像三星设备时它会很有用 - 它是由计算机上运行的软件提供的。如果它是一些三星软件,电视会认为PC是三星设备,我可能会使用一些anynet +消息来控制我的电视。这只是我的一个建议。我当然更喜欢winAPI,但我不确定它是否存在。



我可以尝试将特定位发送到HDMI输出...



请问,有没有人知道比这两个建议更友好的解决方案?



谢谢!

Hi,
I would like to control my Samsung TV from my computer (Windows 7). I´ve got it connected via HDMI (my videocard has direct HDMI-out). On the computer, there´s running a C# program, that plays movies from the computer to TV and automatically switches sound and video output to TV. Now I want to improve the program and I want to automatically turn the TV on and switch TV video input from aerial to HDMI-in, when user press the button "Play movie".

The TV supports Samsung Anynet+ - standard, that supports one remote control for more Samsung devices (You just control your TV, DVD, camera and whatever via one remote control). Maybe it would be useful when the computer would looks like Samsung device - it is given by software that is running on the computer. If it would be some Samsung software, TV would thinks that PC is Samsung device and I would maybe use some anynet+ messages to control my TV. This is just one my suggestion. I would prefer winAPI of course, but I´m not sure if it´s exists.

I could maybe try to send a specific bits to HDMI output...

Please, does anybody know about friendlier solutions than these two suggestions?

Thank you!

推荐答案

查看 http://libcec.pulse-eight.com/ [ ^ ]


再次发现了你的帖子(我两年前评论过它)。



我还没有尝试过三星api以及支持哪些电视(你的? )

但它看起来很有趣,同时有很多选项来控制你的电视。



http://developer.samsung.com/samsung-web-api/technical-docs/TV-Control [< a href =http:/ /developer.samsung.com/samsung-web-api/technical-docs/TV-Control\"target =_ blanktitle =新窗口> ^ ]
stumbled over your post again (I commented it two years ago).

I have not tried samsung api yet and which TV's are supported (Yours?)
but it looks interesting and meanwhile there are dozens of options to control your TV.

http://developer.samsung.com/samsung-web-api/technical-docs/TV-Control[^]


看看这个页面http://wiki.kwikwai.com/index.php?title=Using_C#What_you_need



如果您想要其他替代品,请参阅以下内容

我现在对这个链接也非常感兴趣

https://www.facebook.com/mark.harrington.142892



希望其中一些可以帮到你



Mark
Have a look at this page http://wiki.kwikwai.com/index.php?title=Using_C#What_you_need

Or if you want other alternatives see the following
I'm also very interested in this at present link below
https://www.facebook.com/mark.harrington.142892

Hope some of this assist you

Mark


这篇关于通过C#从PC通过HDMI控制电视的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆