Portsdown2019 H264 mode will not work

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

Re: Portsdown2019 H264 mode will not work

Post by G8GKQ » Tue Jul 23, 2019 4:31 pm

Hi Zhaofeng

Unless I am mistaken, the camera in your photo is not a Raspberry Pi Camera (it looks like a Waveshare camera). It might be compatible with some modes on the Raspberry Pi (which may be why MPEG-2 does work), but H264 needs a Raspberry Pi Camera V1 or V2. Other "compatible" cameras are not supported in the bespoke H264 encoding software.

Please could you try it with a real Raspberry Pi Camera and let me know how you get on?

Thanks

Dave, G8GKQ

BG0AUB
Posts: 16
Joined: Sat Feb 16, 2019 8:16 pm

Re: Portsdown2019 H264 mode will not work

Post by BG0AUB » Wed Jul 24, 2019 3:32 am

Hi Dave
Maybe that's the real reason.I dug up a picam in the parts box, but I'm not sure if it conforms to H264.Can the C920 camera be tested?

73
zhaofeng BG0AUB
Attachments
PICAM V1.3
PICAM V1.3
微信图片_20190724113133.jpg (150.07 KiB) Viewed 3624 times
微信图片_20190724113126.jpg
微信图片_20190724113126.jpg (132.85 KiB) Viewed 3624 times

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

Re: Portsdown2019 H264 mode will not work

Post by G8GKQ » Wed Jul 24, 2019 9:35 am

Hi Zhaofeng

That PiCam v1.3 should work.

The C920 does not work particularly well for H264 with the LimeSDR at the moment, but we are working on improvements. To test it, you could try selecting "WebCam" as the source (NOT C920) and running H264 333KS 1/2 FEC. That works for a minute or so before it has problems.

Dave, G8GKQ

BG0AUB
Posts: 16
Joined: Sat Feb 16, 2019 8:16 pm

Re: Portsdown2019 H264 mode will not work

Post by BG0AUB » Fri Jul 26, 2019 3:33 am

Bad news.Still no solution.I decided to recompile the SD card once in the test.
Attachments
微信图片_20190726112955.jpg
微信图片_20190726112955.jpg (243.3 KiB) Viewed 3547 times
微信图片_20190726112952.jpg
微信图片_20190726112952.jpg (182.69 KiB) Viewed 3547 times
微信图片_20190726112947.jpg
微信图片_20190726112947.jpg (147.67 KiB) Viewed 3547 times

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

Re: Portsdown2019 H264 mode will not work

Post by G8GKQ » Fri Jul 26, 2019 9:34 am

Hi Zhaofeng

When you select transmit, does the Picture from the Pi Cam appear on the touchscreen?

Dave

BG0AUB
Posts: 16
Joined: Sat Feb 16, 2019 8:16 pm

Re: Portsdown2019 H264 mode will not work

Post by BG0AUB » Mon Jul 29, 2019 6:34 am

Picam is chosen as the signal source, MPG - 2 mode, the LCD display a preview image.H264 mode, no picam preview image.Only Portsdown logo image

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

Re: Portsdown2019 H264 mode will not work

Post by G8GKQ » Mon Jul 29, 2019 2:17 pm

Hi Zhaofeng

As the camera works and previews in MPEG-2, I think that there are 4 possibilities:
  • You have something else plugged into the RPi that is causing a conflict
  • The software has corrupted on your SD Card
  • There is a hardware fault with your RPi
  • You could be having problems because of a botched software update that I issued a few months back (thanks to G4HIZ for reminding me!)
Are you able to build a new SD Card using the instructions here: https://github.com/BritishAmateurTelevi ... /portsdown? That would eliminate 2 of the possibilities.

Dave, G8GKQ

BG0AUB
Posts: 16
Joined: Sat Feb 16, 2019 8:16 pm

Re: Portsdown2019 H264 mode will not work

Post by BG0AUB » Tue Jul 30, 2019 3:56 am

Hi Dave
Thanks for your reply. Which version should I use to compile?

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

Re: Portsdown2019 H264 mode will not work

Post by G8GKQ » Wed Jul 31, 2019 9:09 am

Hi Zhaofeng

Please use the latest version that I released last night.

So download Raspbian Stretch Lite and unzip it, write the image to your SD Card, enable ssh and then boot it up on the RPi and log in through SSH. Then enter these 3 lines:

Code: Select all

wget https://raw.githubusercontent.com/BritishAmateurTelevisionClub/portsdown/master/install.sh
chmod +x install.sh
./install.sh
as described on https://github.com/BritishAmateurTelevi ... /portsdown and let it install.

Dave

Post Reply

Return to “The Portsdown Digital ATV System”