Go to advanced search

by Elliott B
Fri Jan 31, 2020 9:29 am
Forum: Camera board
Topic: /dev/video0 doesn't exist
Replies: 5
Views: 472

Re: /dev/video0 doesn't exist

Ok great, thank you! I found a few v4l2 parameters that work with ffmpeg, but most don't. I am trying to fix the white balance on a Pi NoIR Camera. https://trac.ffmpeg.org/ticket/2305 The image from my Pi NoIR Camera is looking very red. Apparently it's caused by this firmware change https://github....
by Elliott B
Wed Jan 29, 2020 9:41 am
Forum: Camera board
Topic: /dev/video0 doesn't exist
Replies: 5
Views: 472

Re: /dev/video0 doesn't exist

I was on an older Raspbian distro before but now I'm starting fresh on Buster and it is indeed loaded by default. Cool! Are there any good guides written about accessing this camera? I am trying to get video into ffmpeg for streaming. I can adjust resolution and framerate with v4l2-ctl , but it seem...
by Elliott B
Tue Jan 28, 2020 8:02 am
Forum: Raspbian
Topic: Buster bug report thread
Replies: 297
Views: 60576

Re: Buster bug report thread

I'm not sure if you would consider this a bug, but I found an issue with NodeJS versions in the main repo. The installed version of npm warns it's not compatible with this version of nodejs. $ sudo apt-get install nodejs npm $ npm version npm WARN npm npm does not support Node.js v10.15.2 npm WARN n...
by Elliott B
Tue Jan 28, 2020 4:25 am
Forum: Troubleshooting
Topic: LD error compiling ffmpeg
Replies: 0
Views: 97

LD error compiling ffmpeg

I'm trying to compile ffmpeg on a Pi Zero W. I configured with this command: ./configure --prefix=/usr/local --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp make fails with the below e...
by Elliott B
Mon Jan 27, 2020 12:32 am
Forum: Camera board
Topic: /dev/video0 doesn't exist
Replies: 5
Views: 472

Re: /dev/video0 doesn't exist

Nevermind, I figured it out. I had to run

Code: Select all

 modprobe bcm2835-v4l2
by Elliott B
Mon Jan 27, 2020 12:12 am
Forum: Camera board
Topic: /dev/video0 doesn't exist
Replies: 5
Views: 472

/dev/video0 doesn't exist

I'm trying to use a Pi Zero and Noir camera with the homebridge-camera-ffmpeg plugin for HomeKit. It's supposed to grab video like this but the video0 device doesn't exist on my system. What could cause that? I'm running Raspbian Stretch with some tweaks to make a read-only filesystem. ffmpeg -re -f...
by Elliott B
Sun Oct 14, 2018 8:00 am
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 19212

Re: Annotate, any hope for future changes?

Build userland git clone https://github.com/raspberrypi/userland cd userland sudo apt install cmake ./buildme Picamera doesn't support it at the moment - I've created https://github.com/waveform80/picamera/issues/519 so that waveform80 is aware of it and may add it in a future version. Thanks for y...
by Elliott B
Sun Oct 14, 2018 4:05 am
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 19212

Re: Annotate, any hope for future changes?

That's great! Is it possible to use this yet? I see the code changes on GitHub, but I did rpi-update today and I don't think they've included it in the release yet. I checked on my system after the update /opt/vc/include/interface/mmal/mmal_parameters_camera.h and it does not show those settings. So...
by Elliott B
Sun Sep 23, 2018 12:29 am
Forum: Troubleshooting
Topic: sudo asking for password every time
Replies: 8
Views: 2260

Re: sudo asking for password every time

No other files in sudoers.d except readme $ sudo -l [sudo] password for pi: Matching Defaults entries for pi on magpi: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, insults, timestamp_timeout=6 User pi may run the following commands on magpi:...
by Elliott B
Sat Sep 22, 2018 6:44 pm
Forum: Troubleshooting
Topic: sudo asking for password every time
Replies: 8
Views: 2260

Re: sudo asking for password every time

I'm still trying to figure this out. I verified that the sudoers file is being read, because I can add other options, such as insults, and that takes effect immediately. When I run sudo -V I see the correct timeout number that I entered: Authentication timestamp timeout: 6.0 minutes But still sudo p...
by Elliott B
Sun Aug 05, 2018 8:19 am
Forum: Troubleshooting
Topic: timesyncd not working
Replies: 2
Views: 1366

Re: timesyncd not working

Anybody have an idea?
by Elliott B
Tue Jul 31, 2018 6:29 am
Forum: Troubleshooting
Topic: sudo asking for password every time
Replies: 8
Views: 2260

Re: sudo asking for password every time

rpdom wrote:
Tue Jul 31, 2018 5:00 am
The default value for timestamp_timeout is 15 minutes.
Aha thanks. That explains one machine working normally. But the other machine always prompts for a password, whether I set the timeout or omit it.
by Elliott B
Tue Jul 31, 2018 1:52 am
Forum: Troubleshooting
Topic: sudo asking for password every time
Replies: 8
Views: 2260

Re: sudo asking for password every time

Thanks for the replies, but as I already said, I deleted the 010_010_pi-nopasswd file, and the contents of my sudoers file are at defaults, I just redacted the comment lines for simplicity on the forum. From what I've read, the line Defaults env_reset, timestamp_timeout=4 should make it only ask for...
by Elliott B
Mon Jul 30, 2018 2:27 am
Forum: Troubleshooting
Topic: sudo asking for password every time
Replies: 8
Views: 2260

sudo asking for password every time

I'm not sure how this happened, but my Pi is asking for a password every time I run sudo. I have added the timestamp_timeout to /etc/sudoers like this using visudo, and that didn't seem to make any difference. I also tried it on a separate line. I deleted the default file that came with Raspbian /et...
by Elliott B
Mon Jul 30, 2018 12:46 am
Forum: Troubleshooting
Topic: timesyncd not working
Replies: 2
Views: 1366

timesyncd not working

I noticed recently that my system clock is wrong. It's not a timezone issue, because it's off by 4 days and a few minutes. Running sudo timedatectl status tries for about 20 seconds and then says "Failed to query server: Connection timed out". This might have been caused when I switched to a read-on...
by Elliott B
Thu Jul 26, 2018 8:20 am
Forum: Raspbian
Topic: Why does grep fail here?
Replies: 3
Views: 558

Re: Why does grep fail here?

Aha! Thanks.
by Elliott B
Thu Jul 26, 2018 8:18 am
Forum: Troubleshooting
Topic: Fail2ban with read-only filesystem
Replies: 2
Views: 342

Re: Fail2ban with read-only filesystem

Sure, but this isn't a typical log file. Busybox-syslogd writes to a circular buffer in RAM, and I'm not sure if it is anywhere in the filesystem. I read it with the command logread. I guess I need a way to reference that as a virtual file in /proc or something.
by Elliott B
Thu Jul 26, 2018 8:00 am
Forum: Troubleshooting
Topic: Fail2ban with read-only filesystem
Replies: 2
Views: 342

Fail2ban with read-only filesystem

I have turned by Pi server into a read-only filesystem, and now Fail2ban isn't working because it can't find the SSH log file. I don't want to move auth.log to the tmpfs because it could get very large, but connections do get logged by busybox-syslogd. I'm hoping to find some way to configure fail2b...
by Elliott B
Thu Jul 26, 2018 6:39 am
Forum: Raspbian
Topic: Why does grep fail here?
Replies: 3
Views: 558

Why does grep fail here?

This is weird. Recursive grep cannot find text unless I point to the exact file. I'm logged in as root so it's not a permissions issue. I'm searching for /run and it exists on line number 8. # grep -rn /run /etc/systemd/system/dhcpcd5.service 8:PIDFile=/run/dhcpcd.pid # grep -rn /run /etc/systemd/sy...
by Elliott B
Wed Jul 25, 2018 8:54 am
Forum: Networking and servers
Topic: Securing a streaming camera with iptables on /boot partition
Replies: 0
Views: 160

Securing a streaming camera with iptables on /boot partition

I'm building a headless pi camera which will stream video across the internet using netcat, and I want to make sure it's secure. I will route all traffic through an autossh tunnel, so only the SSH port needs to be open to the internet (forwarding from a nonstandard port on the router). SSH will be s...
by Elliott B
Mon Jul 23, 2018 4:55 am
Forum: Camera board
Topic: picamera vs raspivid
Replies: 0
Views: 453

picamera vs raspivid

I've setup a Pi Zero W as a streaming baby monitor with raspivid and netcat: raspivid -n -ih -t 0 -rot 180 -w 1280 -h 720 -b 1000000 -fps 30 -a 4 -o - | nc -lkv4 8080 It works great, with very low latency and CPU usage less than 1% according to top. I want to try moving to picamera instead in order ...
by Elliott B
Mon Jul 23, 2018 4:45 am
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 19212

Re: Annotate, any hope for future changes?

Is there any way to align / justify the annotation left or right instead of center?
by Elliott B
Sun Jul 22, 2018 4:03 am
Forum: Graphics, sound and multimedia
Topic: Streaming from netcat to VLC
Replies: 2
Views: 2412

Re: Streaming from netcat to VLC

Thanks KnarfB. That syntax does work in VLC on the computer, but the output is choppy and there is bad latency drift. It begins with about 2 seconds latency, and it grows steadily so after a few minutes the latency is over 60 seconds. This must be a problem with VLC, not the server, because latency ...
by Elliott B
Fri Jul 20, 2018 3:30 am
Forum: Other projects
Topic: Pi Zero W case without a GPIO cutout
Replies: 3
Views: 630

Pi Zero W case without a GPIO cutout

Most of the Pi Zero W cases I see online have a large hole cutout for the GPIO header. I'm building a project with the PiCam that doesn't need this header, so I would prefer a fully closed case for better protection. I do need a place to mount the PiCam inside. Why is it so hard to find a case like ...
by Elliott B
Thu Jul 19, 2018 6:50 am
Forum: Raspbian
Topic: systemd service won't run at startup
Replies: 6
Views: 1710

Re: systemd service won't run at startup

Thanks Dougie! That works. I'll have to read up on all those options. I kind of feel weird about using three services instead of one, do you think this is a recommended practice? I realized I just made a mistake of not enabling my service the first time. So if I do it in one forking service as I wro...

Go to advanced search