开发者

How to write a Java program to send signal from a PC to a TV via coaxial cable?

I have a PC with a TV card, it connects to an antenna via a coaxial cable, so at the back of PC there is a coaxial cable connector, the PC is in the basement. 60 feet apart in the living room above there is a big screen TV, the only way I can think of to possibly transfer a signal from the PC to the TV is an existing coaxial cable which extends from the basement all the way to the TV, so I wonder if there is a way to write a Java program to send TV signal streams to the TV via the coaxial cable ? A few points need to be mentioned here :

  1. I've thought of HDMI, but no HDMI line can be 60 feet long.
  2. Can't move the PC closer to the TV.
  3. Don't want to buy extra hardware to transmit signal from PC to TV
  4. I know the coaxial cable connector at the back of the PC is for taking in antenna signal not for output use. What I'm attempting is to use it to output signal.

Is it doable ? If so where can I find some sample Java cod开发者_StackOverflowe ?

Edit : This is just a technical challenge to see how far I can go with Java on the software side, sort of flexing the intellectual muscle, so to speak. Trying to send Internet video stream info from PC to a TV via a coaxial cable between them.


I doubt you can make the TV card input socket output anything without low-level access to the card's firmware and possibly some hardware hacking. Certainly not with Java, and even if you could, there are easier ways to output a video signal from a computer.

Nonetheless, assuming your TV has a tuner (i.e. it's not just a monitor), you can always plug the aerial into the TV as well. All you need is a BNC T-piece (e.g.) and an extra length of cable. That way, your aerial goes to both the TV and the computer. As a bonus, you'll be able to get a different channels on both.

[edit]Having re-read your question, I think I'm barking up the wrong tree. Is what you want to do use your TV card to use your TV as essentially an external monitor? I doubt very much that this is possible. The card isn't designed to transmit a signal - it's designed to receive only (unlike, say, a network adapter, which is two-way). Nice as it would be, having the connectors is only part of the story (an analogy would be trying to use a scanner as a printer - both involve images, but one is for inputting images, while the other is for outputting images). You'll be far easier buying some sort of video over IP system, as has already been suggested by others.


As other people have said, there's no way to do this with the TV in card, as that's built for taking an NTSC (Or ATSC/QAM if it's newer) signal and converting it into a MPEG stream.

I know that an NTSC composite black and white signal (I imagine PAL too, I think the two are similar for luma) with a micocontroller, a few pins, some resistors, and judicious use of cycle counting.

If you can get low level (e.g. bit-banging) control of a parallel port from Java, you might be able to do something similar, if you get the timing tight enough.

However, I see several possible issues:

  1. I don't know if the parallel port can bit-bang fast enough to do this (I know an 8051 running somewhere around 12MHz can barely pull this off)
  2. Any modern multitasking operating system will probably context-switch away to another thread while trying to do this, and throwing off timings.
  3. On top of context switches, I know the garbage collector in .Net (I'm not a java dev, so I'm not sure on the java side of things here), will pause active threads to collect (At least in versions previous to 4, i think that changed in 4), this will, again, affect timing.
  4. I don't know if parallel signals will travel 60ft.
  5. If somehow all of the above prove possible, you have a low resolution, monochrome display (4 digital lines would net you 16 shades of gray on the other end, with the appropriate resistors)


get a modded xbox with XBMC ($50-60 but won't handle high def), an xbox 360, a ps3, a slingbox, or any other network video solution and stream it across your network

edit: for all intents and purposes, it can't be done


It is not possible to output a signal through the PC antenna input. That is a hardware limitation as it has no drivers(transistors, not software).
However it is possible to use the existing coaxial cable to carry a baseband analog video signal to a TV video input. The tuner card in your PC must have a yellow video out RCA connector, many do. You would need a male RCA to female F adapter at each end of the cable. Then you would need a different solution to transport the audio.
Another solution would be to use the PC A/V out RCA connectors to a RF modulator like those which used to come with console video games. Set the TV to channel 3 or 4. No programming required for either solution.


EDIT: NO IT CANNOT BE DONE


Buy an AppleTV and stream what you want across your wireless network.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜