Ryde with Analog Input

Discussions about the new Ryde "Set-top Box" Style Digital ATV Receiver
Post Reply
M0DTS
Posts: 456
Joined: Sun Feb 24, 2008 9:03 pm

Ryde with Analog Input

Post by M0DTS » Wed Sep 16, 2020 5:57 pm

Odd topic, yeah i know, but...

I was looking at using one Raspberry Pi4 to do multiple tasks in GB3KM.
The concept is using the USBTV0007 Easycap to take in Composite video and output this on HDMI with the correct aspect ratio, this does a better job than the Composite>HDMI converters off ebay etc.
The original idea was to use two easycaps on one pi4 with two instances of mplayer, unfortunately i could not find any means to select the display for video out.
Fortunately there is an option for this in vlc :-)

To display an easycap input on HDMI1 port simultaneous with the Ryde receiver on HDMI0 you can use this command, simples!
vlc v4l2:///dev/video0:width=720:height=576 --mmal-display=hdmi-2

One unfortunate problem is that it does not always show the noise like it did with mplayer when i last tested it, maybe a v4l2 update broke that... :-(

Rob
M0DTS

M0DTS
Posts: 456
Joined: Sun Feb 24, 2008 9:03 pm

Re: Ryde with Analog Input

Post by M0DTS » Thu Oct 15, 2020 12:51 pm

A the post above i'm using both HDMI outputs for GB3KM, but also need to use separate sound for the Ryde bit...
I needed Audio separate from the HDMI, from what i have read it seems that the PWM used for the IR remote causes problems with using the on board headphone output.
I added one of the white usb audio dongles, uncommented and modified this line right near the end of player.py:
vlcArgs += '--aout alsa --alsa-audio-device hw:CARD=Device,DEV=0 '

Now have video on HDMI and sound on the usb device from Ryde Rx.

Rob

MW0RUD
Posts: 35
Joined: Fri Apr 24, 2020 3:09 pm

Re: Ryde with Analog Input

Post by MW0RUD » Thu Oct 15, 2020 1:03 pm

Hi Rob,
There is a rough plan to make audio output properly configurable in the future, its issue #46. If you learn anything interesting it would be handy if you could stick it in the issue for reference when I get that far.
Tim

Post Reply

Return to “The Ryde Digital ATV Receiver”