Camera is working on Linux
#46
(10-19-2016, 10:33 AM)@lex Wrote: Today i got the pine64 camera driver fixed and working fine (s54kec). Thanks to TLim for the necessary info.
I will publish the driver on github and if Longsleep and/or Igor (Armbian) accept it (someone can make a patch) you can have HW encoding with the Pine camera (currently 640x480).

Guvcview (mind it is a WiP) can show video for the following win sizes:

- 640x480
- 1280x720
- 1280x960
- 1920x1080
- 2048x1536
- 2592x1936

Maybe motion can grab images at these resolutions too, i have not tested it yet.

You can test the new driver with Pine camera with HW encoding installing this deb Package: https://github.com/avafinger/ffmpeg-3.1....64_A64_deb
You may need to install some extra libs if you have a different Image or distro. This was taken on Ubuntu Xenial but should work on latest Jessie (not tested)

If anyone is interested in this subject, please post your findings, fix, comments or experience here (good or bad), so others can try without fear.

You can expect this quality:
a) https://drive.google.com/file/d/0B7A7OPB...sp=sharing
b) https://drive.google.com/file/d/0B7A7OPB...sp=sharing

You can change quality using the -qp parameter [1,..,47]

I think it is a good start and is in pair with Android.

Hope you find it usefull.

I needed on longsleep's Ubuntu Xenial:

Code:
wget https://github.com/avafinger/ffmpeg-3.1.4_cedrus264_A64_deb/blob/master/ffmpeg-3.1.4_1.0-1_arm64.deb?raw=true
sudo apt-get install libmp3lame-dev libx264-dev libpulse-dev libv4l-dev libv4l2rds0
sudo dpkg -i ffmpeg-3.1.4_1.0-1_arm64.deb?raw=true
sudo apt-get install libva-drm1 libva-x11-1 libsndio6.1
ffmpeg-3.1.4

So some dependencies need to be added to the DEB file.

Where do I find the latest guvcview for longsleep's Ubuntu Xenial to install (or build)?
  Reply


Messages In This Thread
Camera is working on Linux - by @lex - 06-22-2016, 06:17 PM
RE: Camera is working on Linux - by @lex - 06-22-2016, 08:01 PM
RE: Camera is working on Linux - by dkryder - 06-22-2016, 10:47 PM
RE: Camera is working on Linux - by @lex - 06-23-2016, 10:44 AM
RE: Camera is working on Linux - by xalius - 06-23-2016, 11:01 AM
RE: Camera is working on Linux - by Pander - 06-28-2016, 04:18 PM
RE: Camera is working on Linux - by micko - 06-28-2016, 11:31 PM
RE: Camera is working on Linux - by @lex - 06-29-2016, 05:39 PM
RE: Camera is working on Linux - by micko - 06-30-2016, 12:58 AM
RE: Camera is working on Linux - by Pander - 06-30-2016, 04:02 AM
RE: Camera is working on Linux - by @lex - 06-30-2016, 04:29 AM
RE: Camera is working on Linux - by micko - 06-30-2016, 04:38 AM
RE: Camera is working on Linux - by @lex - 06-30-2016, 03:30 PM
RE: Camera is working on Linux - by micko - 07-01-2016, 01:17 AM
RE: Camera is working on Linux - by @lex - 07-01-2016, 05:55 AM
RE: Camera is working on Linux - by micko - 07-01-2016, 01:26 PM
RE: Camera is working on Linux - by @lex - 07-01-2016, 02:07 PM
RE: Camera is working on Linux - by micko - 07-02-2016, 03:28 AM
RE: Camera is working on Linux - by BigBear59 - 07-01-2016, 10:36 AM
RE: Camera is working on Linux - by @lex - 07-01-2016, 11:02 AM
RE: Camera is working on Linux - by BigBear59 - 07-01-2016, 06:15 PM
RE: Camera is working on Linux - by dkryder - 07-20-2016, 12:17 AM
RE: Camera is working on Linux - by @lex - 07-20-2016, 06:19 AM
RE: Camera is working on Linux - by dkryder - 07-20-2016, 10:46 AM
RE: Camera is working on Linux - by dkryder - 07-20-2016, 03:47 PM
RE: Camera is working on Linux - by @lex - 07-20-2016, 04:40 PM
RE: Camera is working on Linux - by dkryder - 07-20-2016, 05:44 PM
RE: Camera is working on Linux - by @lex - 07-21-2016, 07:42 AM
RE: Camera is working on Linux - by efp1 - 07-26-2016, 11:11 AM
RE: Camera is working on Linux - by HayseedGeek - 08-04-2016, 01:35 PM
RE: Camera is working on Linux - by tllim - 08-05-2016, 11:20 AM
RE: Camera is working on Linux - by Pander - 08-10-2016, 07:19 AM
RE: Camera is working on Linux - by Pander - 08-10-2016, 07:48 AM
RE: Camera is working on Linux - by @lex - 10-19-2016, 10:33 AM
RE: Camera is working on Linux - by Pander - 10-22-2016, 07:48 AM
RE: Camera is working on Linux - by @lex - 10-22-2016, 04:23 PM
RE: Camera is working on Linux - by dkryder - 10-19-2016, 02:36 PM
RE: Camera is working on Linux - by @lex - 10-19-2016, 05:46 PM
RE: Camera is working on Linux - by dkryder - 10-20-2016, 01:40 AM
RE: Camera is working on Linux - by Pander - 10-20-2016, 07:39 AM
RE: Camera is working on Linux - by @lex - 10-23-2016, 05:54 PM
RE: Camera is working on Linux - by Pander - 10-24-2016, 02:45 PM
RE: Camera is working on Linux - by @lex - 10-26-2016, 03:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyone get the camera to work yet? Havensal 16 25,909 09-13-2022, 03:31 AM
Last Post: harryaxe31
  camera port details? gourmand007 6 14,573 03-07-2021, 05:29 PM
Last Post: DippingMyToesIn
  About the camera robopo 11 20,971 03-06-2021, 12:28 AM
Last Post: DippingMyToesIn
  CSI / Camera Module Compatibility? vade 8 16,520 04-03-2020, 05:39 AM
Last Post: Ellesar Dragon
  13MP Camera cable extension saviod 2 5,070 06-21-2019, 06:05 AM
Last Post: saviod
  Camera Sasank 15 26,076 12-13-2018, 09:08 PM
Last Post: Mutani
  Himax 5 Megapixel Camera Module cannot fit into 7″ LCD Touch Screen Panel themyshop 3 6,959 05-10-2018, 04:28 PM
Last Post: tllim
  Webcam vs camera module on pine64+ fkpkot 4 9,843 02-27-2017, 03:57 PM
Last Post: MarkHaysHarris777
  camera module and lcd integration jodybrown99 5 8,828 10-11-2016, 11:35 AM
Last Post: hikaricore

Forum Jump:


Users browsing this thread: 2 Guest(s)