10-22-2016, 07:48 AM
(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)?