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?
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?
- PICAM V1.3
- 微信图片_20190724113133.jpg (150.07 KiB) Viewed 1478 times
- 微信图片_20190724113126.jpg (132.85 KiB) Viewed 1478 times
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.
- 微信图片_20190726112955.jpg (243.3 KiB) Viewed 1401 times
- 微信图片_20190726112952.jpg (182.69 KiB) Viewed 1401 times
- 微信图片_20190726112947.jpg (147.67 KiB) Viewed 1401 times
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!)
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