Electronic – Select between two sources with transistors

relaytransistorsvoltage-source

I'm sorry if this has been asked before but I can't find useful data on this matter.

I have two sources of data and I want to select one of them using transistors.

If I had to guess I'd make the circuit below.
Sadly I never had any electronics courses so maybe I'm missing something obvious here but as I can't find anything about my goal on internet I'd rather ask here.

I just heard about SSRs and they seem to be the best solution for my needs, but I still want to know about how to do this with transistors if this is possible.

Thanks

Circuit

Vout is bottom-right

Edit:
The sources are composite video signals

Best Answer

If you're selecting between two sources of binary digital data, you should be looking for a digital multiplexer. If you're selecting between two analog signals you should be looking for an analog multiplexer. There are dozens of part numbers of either type available from the major IC vendors, depending on the details of your requirements.

Buying either of these circuits as an IC will probably be lower cost (after accounting for assembly costs) and almost certainly be more reliable and give more consistent results than constructing them out of transistors.