PiCapture › PIVIDEO not working
Tagged: pivideo serial
- This topic has 10 replies, 2 voices, and was last updated 3 years, 3 months ago by
mwlinder.
-
AuthorPosts
-
November 10, 2017 at 12:37 pm #1436
contact
ParticipantHello setup:
RPI3
raspbian 4.9
python 2
i2C1 connexion tested (detected board addr 40)Hello
I follow exactly what is indicated in the manual pdf, but there is an error and PIVIDEO no work.
I always get this error message:
pi@raspberrypi:~ $ pivideo –q
Traceback (most recent call last):
File “/usr/local/bin/pivideo”, line 7, in <module>
from pivideo import main
File “/usr/local/lib/python2.7/dist-packages/pivideo.py”, line 27, in <module>
import serial
ImportError: No module named serialNovember 10, 2017 at 1:14 pm #1437mwlinder
KeymasterIt appears that your python installation is missing the serial port interface. You should be able to install it using pip:
sudo pip install pyserial
We should identify this as a prerequisite in our PiVideo package, but haven’t because it is a part of the standard raspbian distribution. I will look at this for a future release of PiVideo.
November 10, 2017 at 2:27 pm #1438contact
Participantok thank you
November 10, 2017 at 2:50 pm #1439contact
ParticipantNo there’s no this error but another:
pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: — — — — — — — — — — — — —
10: — — — — — — — — — — — — — — — —
20: — — — — — — — — — — — — — — — —
30: — — — — — — — — — — — — — — — —
40: 40 — — — — — — — — — — — — — — —
50: — — — — — — — — — — — — — — — —
60: — — — — — — — — — — — — — — — —
70: — — — — — — — —
pi@raspberrypi:~ $ pivideo –v
usage: pivideo [-h] [–verbose] [–port {i2c0,i2c1,serial}]
[–address ADDRESS]
[–source {auto,video1,video2,video3,svideo,component,hdmi}]
[–skip {off,on}]
[–query {all,ready,running,lock,source,effect,led,version,id,cmd,skip}]
[–effect {none,bw,colors,nomsg}] [–led {normal,min,off}]
[–edid [EDID]] [–update UPDATE] [–force FORCE]
[–config {none,restore,save,reset}] [–command COMMAND]
[–script SCRIPT]
pivideo: error: unrecognized arguments: –v
pi@raspberrypi:~ $ pivideo –q –v
usage: pivideo [-h] [–verbose] [–port {i2c0,i2c1,serial}]
[–address ADDRESS]
[–source {auto,video1,video2,video3,svideo,component,hdmi}]
[–skip {off,on}]
[–query {all,ready,running,lock,source,effect,led,version,id,cmd,skip}]
[–effect {none,bw,colors,nomsg}] [–led {normal,min,off}]
[–edid [EDID]] [–update UPDATE] [–force FORCE]
[–config {none,restore,save,reset}] [–command COMMAND]
[–script SCRIPT]
pivideo: error: unrecognized arguments: –q –vNovember 10, 2017 at 2:54 pm #1440contact
ParticipantI’m trying to see the firmware version, I have hold picapture HD (s/n 0717-00094) that work perfect in our app, with no lag, and last orderer one s/n 1617-20260 give us 4 seconds lag on our application…..
I want to put the same firmware on the new one than the old one.
Please help me.
November 10, 2017 at 3:22 pm #1441mwlinder
KeymasterI believe that the command you need is:
pivideo -q all -v
“query” requires a parameter, and “all” shows everything including the version.
November 11, 2017 at 5:34 am #1442contact
ParticipantHello, this worked perftly, thank you, I resolved my lag issue by activating skip param.
November 11, 2017 at 5:35 am #1443contact
ParticipantThere is possible to set video processor to start even if there is not camera connected to it?
November 11, 2017 at 8:58 am #1444mwlinder
KeymasterThe PiCapture board requires a valid video source before sending video data to the Raspberry Pi. This allows the PiCapture to “scan though” the various video sources and resolutions to look for a signal.
November 13, 2017 at 4:16 am #1445contact
ParticipantOk this is the standard, but I need that video processor start even if no video signal is in HDMI and I need that until video signal is detect on HDMI that picapture output an image (mir or logo). I always input 1080p 30fps in HDMI. We never use the other input.
There is possible to set scrip that make that on the video processor?
November 13, 2017 at 8:50 am #1446mwlinder
KeymasterA firmware change to PiCapture would be required to generate a video signal with no input.
If you could explain a bit more about what you are trying to accomplish we may be able to help. Please feel free to email: contact@lintestsystems.com
-
AuthorPosts
- You must be logged in to reply to this topic.