Audio streaming with H264 and VGA/HDMI adapter
I purchased a VGA to HDMI adapter along with my Tinypilot Voyager 2A. I am to get an HDMI machine to stream audio ok but if I use a machine with the VGA to HDMI adapter it doesn’t work most of the time. On a few occasions, it plays audio out of the blue. Any ideas on how to proceed?
- 7 replies
- In reply torobotechmaster⬆:
Hi @robotechmaster, thanks for your question!
Unfortunately, audio streaming isn't supported when using most VGA adapters with your TinyPilot. This is because VGA is a video-only interface and doesn't support any audio interfacing unlike HDMI which is a multimedia interface.
I just did a quick test on my own device just to confirm this. As expected, using only HDMI works. However, with the VGA to HDMI adapter, TinyPilot can't stream audio from the target machine because VGA doesn't encode any audio to pass along to your TinyPilot's HDMI input.
The VGA adapter we sell does have a 3.5mm audio input jack. So you should be able to connect your PC's headphone port to the VGA adapter to send audio via HDMI to your TinyPilot that way. Are you using the 3.5mm input jack on your VGA adapter?
- RIn reply torobotechmaster⬆:@robotechmaster
hello yes I am. I am using your VGA to Hdmi adapter. Currently the 3.5 mm jack is plugged in to my sound card's audio out. Hence the occasional sound. I can try another VGA to Hdmi adapter to see if it works. I also did try the speaker out on the sound card as well but same results.
Interesting! Thanks for confirming that you're using the 3.5mm jack. It's rare for anyone to use the 3.5mm audio jack on their VGA adapter, so I'm not sure whether anyone else has had a similar experience. From my own tests, I haven't been able to get audio working using my VGA adapter.
When you use only HDMI, are you using the same sound card? If you are, it suggests an issue with the VGA adapter or the VGA adapter's sound input.
Could you test your 3.5mm jack cable work with other devices to check whether it's working as expected? I'm wondering whether it could be a cable issue.
- Progresswith handling this problem
When you mentioned a sound card, I definitely thought it could be a much older machine. Have you tested the audio out via the sound card to check that it's working correctly without the VGA adapter e.g., by connecting speakers / headphones to the sound card?
If your 3.5mm cable works as expected when it's not connected to your VGA adapter that suggests your VGA adapter may be causing this intermittent audio issue.
I tried streaming audio with my VGA adapter again today - and I've managed to get it working. So I can confirm that audio streaming does work with our VGA adapter.
Please keep me updated with the results of you cable test and other experiments.