Portsdown 4 Update with Customisable Test Cards

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
Post Reply
G8GKQ
Site Admin
Posts: 2807
Joined: Sun Mar 22, 2009 1:21 pm

Portsdown 4 Update with Customisable Test Cards

Post by G8GKQ » Mon Nov 01, 2021 2:19 pm

I have recently released a Portsdown 4 update (202110300) that introduces the capability to select one of up to 12 Test Cards (including 7 that are user-customisable) for transmission. These are selected from a new Menu accessed from Menu 3. Full details are on the Wiki: https://wiki.batc.org.uk/Portsdown_Test_Cards

Thanks to the loan of a camera from Tony G0AZQ I have also introduced full support for the Logitech C930e WebCam.

The bug preventing the use of alternative audio sources when using a webcam with a Pluto has also been fixed.

Please report any new bugs here.

Dave, G8GKQ

ON0CTV
Posts: 1
Joined: Sat Nov 06, 2021 7:58 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by ON0CTV » Sat Nov 06, 2021 8:02 pm

Just installed image last update.

About sound, When you select MPEG2, you have always the testcard sound dual beep.
I have select the easy cap sound source but no way. with mpeg2 dual beep, in h264 no sound at all.

Output Lime Mini.

73's

on8ge
Posts: 20
Joined: Mon Mar 09, 2015 9:20 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by on8ge » Sun Nov 07, 2021 7:31 am

Good morning,

First of all, i tried to make a brand new install on sd card using wiki, the raspberry shows batc portsdown wallpaper instead of the usual command screen.

I dont now if there is something missing but seems to be. Does I install for the screen 7inch after fresh install ?

After, i clone a working sd card of F5JDI, and put it in rpi4. It works. Check update, put Last version and tried in dvbs2 mpeg2 sr500 on 437mhz with testcard. All is ok. Now i choose, video from easycap, and sound from easycap. Video is ok, sound still coming from beep, not from easycap.
I change to h264, video ok, no sound anymore from beep, but no one from easycap.

Any idea ?

Best 73,

Pierre ON8GE

on8ge
Posts: 20
Joined: Mon Mar 09, 2015 9:20 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by on8ge » Sun Nov 07, 2021 6:09 pm

Good evening,

Some test tonight. 3d sound usb dongle reconized by alsa. Choosed usb mic as audio source . No way...

I have easycap connected and usb 3d sound on rpi.

Any idea ?

Best regards

on8ge
Posts: 20
Joined: Mon Mar 09, 2015 9:20 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by on8ge » Mon Nov 08, 2021 7:50 am

Here is setup, LimeSDR Mini, easy cap, 3D sound dongle, pi cam with PI4 last version.

about MIC input :

pi@raspberrypi:~ $ arecord -l
**** Liste des Périphériques Matériels CAPTURE ****
carte 1: Device [USB PnP Sound Device], périphérique 0: USB Audio [USB Audio]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 2: usbtv [usbtv], périphérique 0: USBTV Audio [USBTV Audio Input]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0

3D sound detected as card 1 and easy cap audio in detected as card 2.

about SPEAKER output :

pi@raspberrypi:~ $ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Headphones [bcm2835 Headphones], périphérique 0: bcm2835 Headphones [bcm2835 Headphones]
Sous-périphériques: 8/8
Sous-périphérique #0: subdevice #0
Sous-périphérique #1: subdevice #1
Sous-périphérique #2: subdevice #2
Sous-périphérique #3: subdevice #3
Sous-périphérique #4: subdevice #4
Sous-périphérique #5: subdevice #5
Sous-périphérique #6: subdevice #6
Sous-périphérique #7: subdevice #7
carte 1: Device [USB PnP Sound Device], périphérique 0: USB Audio [USB Audio]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0


In alsa.conf, I modified default sound card with :

defaults.ctl.card 1 (changed 0 to 1)
defaults.pcm.card 1 (changed 0 to 1)

in proc/asound/cards, we have :

0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
1 [Device ]: USB-Audio - USB PnP Sound Device
C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.4, full spe
2 [usbtv ]: usbtv - usbtv
USBTV Audio at bus 1 device 6


No sound input for any source, I have selected easy cap or usb mic, no way to have sound on my transmission in H264.

Help ?

on8ge
Posts: 20
Joined: Mon Mar 09, 2015 9:20 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by on8ge » Mon Nov 08, 2021 8:15 am

Found the problem...

in scripts av2.sh, you have

USBOUT_AUDIO_DEV="$(aplay -l 2> /dev/null | grep 'USB Audio Device' | cut -c6-6)"

But my dongle seems to be USB PnP Sound Device, there is also a 3D Sound version with the CMEDIA...

Then the command need to be

USBOUT_AUDIO_DEV="$(aplay -l 2> /dev/null | grep 'USB PnP Sound Device' | cut -c6-6)"

to have the "1" returned.

Maybe add this version in the scripts ?

G8GKQ
Site Admin
Posts: 2807
Joined: Sun Mar 22, 2009 1:21 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by G8GKQ » Mon Nov 08, 2021 12:37 pm

Pierre

The Portsdown is designed to work with the recommended hardware. I simply do not have time to support non-recommended hardware. You have identified one file where the change would need to be made; in fact it would need changing in about 10 files. The correct audio dongle was clearly specified in CQ-TV 271 and they cost less than 5 Euros each:
Audio Dongle.JPG
Audio Dongle.JPG (51.58 KiB) Viewed 2870 times
The same principle applies to the Ryde receiver and the Langstone transceiver: ONLY USE THE RECOMMENDED HARDWARE!

Sorry to be blunt, but there are only so many hours in the day!

Dave, G8GKQ

on8ge
Posts: 20
Joined: Mon Mar 09, 2015 9:20 pm

Re: Portsdown 4 Update with Customisable Test Cards

Post by on8ge » Mon Nov 08, 2021 5:54 pm

Hello Dave,

Of course I understand your point of view. I just ordered the dedicated sound card. Now will wait for it.
During testing, I confirm the Logitech 930 ok sound and video without problem.
For Pi cam, there is a big delay between video and sound (4sec) in H264.

More is the FEC, it will minimize the case...

For the rest, I am testing but it is fine at this time.

Good work and thanks for it.

Post Reply

Return to “The Portsdown Digital ATV System”