21: HOW TO USE THE A/V OUTPUT OF THE PI
If you have any PI with an AV port (any PI except a first generation PI) and want to use the composite Video (A/V) for composite video and analog sound, you need an A/V cable, like this one:
Please note that there are many cables which look exactly like this one but which do NOT work. This is because the internal wiring varies from one cable to another, and you must ensure you are using a cable which is correctly wired for use with the Pi.
This is a picture listing the most common A/V cables, and their wiring:
The Raspberry Pi can use cables designed for the iPod, or for the Microsoft Zune, but can also work with some camcorder cables. The Pi does not work with cables for any of the systems that have pin 1 as GND.
As in the picture above, the tables below count, from sleeve (1) to tip (4) of the four pole 3.5mm jack plug.
A real "Raspberry PI model B+" 4-pole 3.5mm A/V output jack cable uses:
B+ wired cable
1 Video out---2 GND---3 Right audio---4 Left audio
Only Zune Cables are exactly right, because the Pi want to keep left and right audio in the right place, and for some reason iPod cables have those swapped.
The most common, and reasonably compatible, cable that is on the market now uses the iPod wiring:
iPod wired cable
1 Video out---2 GND---3 Left audio---4 Right audio
Note that you can make this cable 100% compatible by switching the two audio channels, that is the white and red RCA plugs. Its possible that in future software releases, when the system detects you are using a B+ with composite video, the software will swap the audio channels automatically.
A common cable that is also on the market now and often very cheap, is normally called a "camcorder cable"
1 Right audio---2 GND---3 Video out---4 Left audio
Note that you can use this cable by switching the video
channels, that is the yellow
When using a "camcorder" cable, try plugging in the red RCA plug of the cable into the yellow RCA receptacle of your TV and see if you get a picture, if so you can put the yellow plug in the red receptacle, and the white plug into the white receptacle.
Note that no cable you try to use should be able to damage your Pi, so you should be able to try them out in safety.
If you don't want to risk buying the wrong cable, you can buy this one from Adafruit: https://www.adafruit.com/product/2881
or this one from kiwi electronics: https://www.kiwi-electronics.nl/raspber ... -1-5-meter
The iPod-compatible cable below has also been confirmed to work, it does not require the camcorder swap.
Note that instead of such an A/V cable, you could also use an adapter like the picture below. Note that the same reservations as for the cables apply, it might not work, or the signals may come out of the wrong plugs. Also, normally it's more of a hassle to use and more expensive, but you might have one lying around you can try:
you can find more info in the Pictorial Buying Guide