Solar Led lights

solar panel

Allnice Mini Submersible Water Pump(240L/H, 4.8W) 12v Electric Brushless Submersible Fountain Pump with 9.8ft High Lift Outdoor Water Pump with 1.4ft Power Cord for Aquarium, Pond, Hydroponics

2.2V LED: 0.044 Watts, 20MA
3.3V LED: 0.066 Watts, 20MA

https://www.renogy.com/

Master Controller

The master controller is a hardware/software combination that controls and monitors physical devices.  Using a USB device switch states are detected and lights/relays are activated.

Master: if studio not active mute red/blue/white.
Change the way green works.

studio active
on: master connected, sql connected, a2 connected
flash: master connected, sql or a2 not connected
double: master not connected
off: slave not running

studio inactive
on: master connected
off: master not connected
also red/blue/white off

todo:
switch lights
motion/light box
add switches to bench box
sump pump switch

bench box
7 lights
7 switches & 7 lights

aux box
motion sensor
light sensor

goal:

pin desc
0 ADC0
1 ADC1
2 Relay0 white
3 Relay1 yellow
4 Relay2 red
5 Relay3 blue
6 Relay4 green
7 Relay5 yellow bottom
8 Relay6 blue bottom buzzer
9 SW0 t1 broadcast
10 SW1 p1 applause
11 SW2 p2 laughter
12 SW3 p3 jukebox
13 SW4 p4
14 SW5 t2 motion
15 SW6 t3 sump pump

2 ADC inputs
photocell IO0
POT IO1

7 relays
7 lights red/green/yellow/blue/white/unk

7 switches w/ lights?
toggle broadcast
push random applause
push random laugh
push jukebox silent
motion sensor
sump pump IO15
one more

hardware bit definition:
2 adc (0-1) 7 lights (2-8) 7 switches (9-15)

iodirMask 1111 1111 1111 1111
iodirValue 1111 1110 0000 0011
light mask 0000 0001 1111 1100
switch mask 1111 1110 0000 0000

gpio lights 20mA
color changing: 3.2V
@ 5V
2.0-2.2V red, yellow @ 2.2V = 140Ω (150Ω)
3.0-3.2V white,blue,green @ 3.2V = 90Ω (100Ω)
@ 12V
2.0-2.2V red, yellow @ 2.2V = 490Ω (510Ω)
3.0-3.2V white,blue,green @ 3.2V = 440Ω (470Ω)
3.4V white 3mm = 430Ω (470Ω)

Maximum current drawn by digital circuitry 300mA
Maximum IO source current : IO0 – IO7 2mA
Maximum IO sink current : IO0 – IO7 2mA
Maximum IO source current : IO8 – IO15 8mA
Maximum IO sink current : IO8 – IO15 8mA
Recommended Impedance of Analog Voltage Source 2.5KΩ

Switch
DD: Pin No.2 of the header marked as ICSP. This pin has VDD always available and can source more current compared to an IO port. VDD=3.3V. Using this recommendation uses 33 mA

Ohm’s Law
E = I x R
I = E / R
R = E / I
E=Volts
I=Current
R=Resistance

 

Voltage Divider

LED Resistance Calculator

Thermistor
00C = 273.15 Kelvin
(C × 9/5) + 32
10KΩ @ 25°C @ 77°F
12.6KΩ @ 20°C @ 68°F
8KΩ @ 30°C @ 86°F

float steinhart;
steinhart = average / THERMISTORNOMINAL; // (R/Ro)
steinhart = log(steinhart); // ln(R/Ro)
steinhart /= BCOEFFICIENT; // 1/B * ln(R/Ro)
steinhart += 1.0 / (TEMPERATURENOMINAL + 273.15); // + (1/To)
steinhart = 1.0 / steinhart; // Invert
steinhart -= 273.15; // convert to C

Motion sensor
off:
on:

Zone Minder

Upgrade cameras

IP cameras w/ POE $1000

Ethernet cable
$109 500′ outdoor

16 port (8 w/POE) Ethernet switch
$115 Linksys LGS116P 80 Watts

Computer $1000
2 ethernet
32 meg ram
loads of HD space

matomo

Server Version: Apache/2.4.39 (Unix) OpenSSL/1.1.1c mod_fcgid/2.3.9 PHP/7.3.7
Matomo version: 3.11.0
MySQL version: 10.3.15-MariaDB-1
WP-Matomo 1.0.22 is successfully connected to Matomo 3.11.0. You are running a WordPress 5.2.2 blog network (WPMU). WP-Matomo will handle your sites as different websites.

ffmpeg->rtp

Having trouble with the swarm & choppy video.

Starting at the top, we throw this to janus:
/opt/ffmpeg/bin/ffmpeg -ss 00:00:00 -re -i file:///usr4/mydetv/webm/archive.org/Drive-inIntermission2/Drive-inIntermission2.ogv.vp8-opus.webm -vcodec copy -an -f rtp rtp://10.11.1.96:5024 -acodec copy -vn -f rtp rtp://10.11.1.96:5022

on mac, play file:
ffplay -protocol_whitelist “file,rtp,udp” -i /private/nfs/a6/usr6/mydetv/webm/clips/fireworks.mp4.vp8-opus.webm -strict -2
not choppy

/opt/ffmpeg/bin/ffmpeg -re -i /usr4/mydetv/webm/archive.org/TarzanoftheApes1918AndyDivx_512kb.mp4.vp8-opus.webm -vcodec copy -an -f rtp rtp://10.11.1.96:5124 -acodec copy -vn -f rtp rtp://10.11.1.96:5122

swarm – lowest common denominator

I’m looking to feed all those fringe devices.
https://caniuse.com/#feat=webm

Once again, I give up. Seems the only way to do it is create fragmented mp4’s and send them so the browser can play the current live piece instead of playing from the beginning. We’ll just wait for webm to be supported everywhere.

wait wait, maybe DashCast.

sudo apt-get install make pkg-config g++ zlib1g-dev firefox-dev libfreetype6-dev libjpeg62-dev libpng12-dev libopenjpeg-dev libmad0-dev libfaad-dev libogg-dev libvorbis-dev libtheora-dev liba52-0.7.4-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavresample-dev libxv-dev x11proto-video-dev libgl1-mesa-dev x11proto-gl-dev linux-sound-base libxvidcore-dev libssl-dev libjack-dev libasound2-dev libpulse-dev libsdl1.2-dev dvb-apps libavcodec-extra-53 libavdevice-dev libmozjs185-dev

DashCast -vf video4linux2 -v4l2f mjpeg -vfr 30 -vres 1280×720 -v /dev/video0 -af alsa -a plughw:2,0 -conf dashcast.conf -live
DashCast -vf video4linux2 -v4l2f yuyv422 -vfr 30 -vres 720×480 -v /dev/video0 -af alsa -a plughw:2,0 -conf dashcast.conf -live

DashCast -av out.mpg -seg-dur 500 -live-media

*** I did try… Did the conversions fine but then had no way to live stream it to the browser.

Steps: decide on the container (mp4) and codecs, perhaps h264 and aac
janus can’t ‘do’ aac, le’s try opus

ffmpeg -i input.mov  -acodec aac -strict -2 output.mp4

ffmpeg -i people -c:v libx264 -preset slow -crf 22
ffmpeg -y -i /private/nfs/a6/usr4/mydetv/videos/clips/people.mp4 -c:v libx264 -b:v 512k -c:a libfdk_aac -b:a 128k -pass 1 -f mp4 out.mpg
ffmpeg -y -i /private/nfs/a6/usr4/mydetv/videos/clips/people.mp4 -c:v libx264 -b:v 512k -c:a libfdk_aac -b:a 128k -pass 2 -f mp4 out.mpg

ffmpeg -i people -c:v libx264 -preset slow -crf 22
ffmpeg -y -i /private/nfs/a6/usr4/mydetv/videos/clips/people.mp4 -c:v libx264 -b:v 512k -c:a libfdk_aac -b:a 128k -pass 1 -f mp4 out.mpg
ffmpeg -y -i /private/nfs/a6/usr4/mydetv/videos/clips/people.mp4 -c:v libx264 -b:v 512k -c:a libfdk_aac -b:a 128k -pass 2 -f mp4 out.mpg

ffmpeg -y -i /usr4/mydetv/videos/clips/people.mp4 -c:v libx264 -b:v 512k -c:a aac -b:a 128k -pass 2 -f mp4 out.mp4

gstreamer

https://gstreamer.freedesktop.org/
https://github.com/GStreamer/gstreamer

for mac:
brew install gstreamer

debian

Goal: swarm can use
tried:
apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

failed!

tried
apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-pulseaudio

******
apt-get install automake autopoint libtool bison flex
apt-get install gtk-doc-tools liborc-0.4-0 liborc-0.4-dev libvorbis-dev libcdparanoia-dev libcdparanoia0 cdparanoia libvisual-0.4-0 libvisual-0.4-dev libvisual-0.4-plugins libvisual-projectm vorbis-tools vorbisgain libopus-dev libopus-doc libopus0 libopusfile-dev libopusfile0 libtheora-bin libtheora-dev libtheora-doc libflac++-dev libavc1394-dev libraw1394-dev libraw1394-tools libraw1394-doc libraw1394-tools libtag1-dev libtagc0-dev libwavpack-dev wavpack

for linux roll your own:
https://gstreamer.freedesktop.org/documentation/frequently-asked-questions/git.html

a6 Ubuntu 16.04.5 LTS \n \l

what a pain, the doc’s first line to install dependencies tries to install gstreamer! I don’t want to install it, I just want to build it. alk about the chicken and the egg!

so here is what I did:
sudo apt-get install gtk-doc-tools liborc-0.4-0 liborc-0.4-dev libvorbis-dev libcdparanoia-dev libcdparanoia0 cdparanoia libvisual-0.4-0 libvisual-0.4-dev libvisual-0.4-plugins libvisual-projectm vorbis-tools vorbisgain libopus-dev libopus-doc libopus0 libopusfile-dev libopusfile0 libtheora-bin libtheora-dev libtheora-doc libflac++-dev libavc1394-dev libraw1394-dev libraw1394-tools libraw1394-doc libraw1394-tools libtag1-dev libtagc0-dev libwavpack-dev wavpack
and I did this:
sudo apt-get install libasound2-dev libavcodec-dev libavformat-dev libswscale-dev

but still no joy, so I admitted defeat and
sudo apt-get install libgstreamer1.0-0

and then the same crap with the plugins, gave up for now

revisited 12/21/2018
I gave up on not installing gstreamer from packages. So a gstreamer exists in /usr/local/bin and another one I copiled myself in /opt/gstreamer

apt-get install gstreamer1.0-0
apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad

export PKG_CONFIG_PATH=/opt/gstreamer/lib/pkgconfig
./autogen.sh –prefix=/opt/gstreamer –enable-gtk-doc –enable-iso-codes –enable-orc
./autogen.sh –prefix=/opt/gstreamer –disable-gtk-doc
my version is shit, had to change /opt/gstreamer/lib/pkgconfig/gstreamer-1.0.pc
from
prefix=/opt/gstreamer
libexecdir=${exec_prefix}/libexec
exec_prefix=${prefix}
to
prefix=/opt/gstreamer
exec_prefix=${prefix}
libexecdir=${exec_prefix}/libexec

hauppauge pvr-350

v4l2-ctl –log-status

v4l2-ctl -d /dev/video0 –set-standard=ntsc
v4l2-ctl -d /dev/video0 –set-ctrl=mute=0
v4l2-ctl -d /dev/video0 –set-input 1
v4l2-ctl -d /dev/video0 –set-audio-input 1
v4l2-ctl -d /dev/video0 –set-ctrl=video_bitrate=8000000,video_peak_bitrate=12000000
v4l2-ctl -d /dev/video0 –set-ctrl=audio_layer_ii_bitrate=13

phomlish@a2:~$ v4l2-ctl –log-status

Status Log:

[2226091.504363] ivtv0: ================= START STATUS =================
[2226091.504370] ivtv0: Version: 1.4.3 Card: Hauppauge WinTV PVR-350
[2226091.562698] tveeprom 2-0050: Hauppauge model 48132, rev K168, serial# 7336201
[2226091.562704] tveeprom 2-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
[2226091.562709] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[2226091.562713] tveeprom 2-0050: audio processor is MSP4448 (idx 27)
[2226091.562716] tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
[2226091.562720] tveeprom 2-0050: has radio, has IR receiver, has no IR transmitter
[2226091.562724] saa7115 2-0021: Audio frequency: 48000 Hz
[2226091.564756] saa7115 2-0021: Input: S-Video 0
[2226091.564763] saa7115 2-0021: Video signal: broadcast/DVD
[2226091.564766] saa7115 2-0021: Frequency: 60 Hz
[2226091.564769] saa7115 2-0021: Detected format: NTSC
[2226091.564772] saa7115 2-0021: Width, Height: 720, 480
[2226091.564776] saa7115 2-0021: Brightness: 128
[2226091.564781] saa7115 2-0021: Contrast: 64
[2226091.564785] saa7115 2-0021: Saturation: 64
[2226091.564788] saa7115 2-0021: Hue: 0
[2226091.564791] saa7115 2-0021: Chroma AGC: true
[2226091.564794] saa7115 2-0021: Chroma Gain: 40 inactive volatile
[2226091.564800] saa7127 2-0044: Standard: 60 Hz
[2226091.564802] saa7127 2-0044: Input: normal
[2226091.564805] saa7127 2-0044: Output: S-Video + Composite
[2226091.564807] saa7127 2-0044: WSS: disabled
[2226091.564809] saa7127 2-0044: VPS: disabled
[2226091.564812] saa7127 2-0044: CC: disabled
[2226091.566401] msp3400 2-0040: msp3400 rev1 = 0x0117 rev2 = 0x3042
[2226091.566405] msp3400 2-0040: Audio: Volume: 58880
[2226091.566409] msp3400 2-0040: Audio: Balance: 32768
[2226091.566412] msp3400 2-0040: Audio: Mute: false
[2226091.566416] msp3400 2-0040: Mode: External input
[2226091.566419] msp3400 2-0040: Audmode: 0x0001
[2226091.566423] msp3400 2-0040: Routing: 0x00222220 (input) 0x00000044 (output)
[2226091.566425] msp3400 2-0040: ACB: 0x0c00
[2226091.566430] tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44
[2226091.566434] tuner 2-0061: Tuner mode: analog TV
[2226091.566437] tuner 2-0061: Frequency: 67.25 MHz
[2226091.566440] tuner 2-0061: Standard: 0x0000b000
[2226091.566444] ivtv0: Video Input: S-Video 1
[2226091.566446] ivtv0: Audio Input: Line In 1
[2226091.566449] ivtv0: Video Output: S-Video + Composite
[2226091.566451] ivtv0: Output Mode: None
[2226091.566625] ivtv0: Overlay: Off, Alpha: Global, Pixel Format: ARGB 8:8:8:8
[2226091.566627] ivtv0: Tuner: TV
[2226091.566630] ivtv0: Stream Type: MPEG-2 Program Stream
[2226091.566634] ivtv0: Stream VBI Format: No VBI
[2226091.566637] ivtv0: Audio Sampling Frequency: 48 kHz
[2226091.566640] ivtv0: Audio Encoding: MPEG-1/2 Layer II
[2226091.566643] ivtv0: Audio Layer II Bitrate: 384 kbps
[2226091.566647] ivtv0: Audio Stereo Mode: Stereo
[2226091.566650] ivtv0: Audio Stereo Mode Extension: Bound 4 inactive
[2226091.566653] ivtv0: Audio Emphasis: No Emphasis
[2226091.566656] ivtv0: Audio CRC: No CRC
[2226091.566659] ivtv0: Audio Mute: false
[2226091.566662] ivtv0: Video Encoding: MPEG-2
[2226091.566665] ivtv0: Video Aspect: 4×3
[2226091.566668] ivtv0: Video B Frames: 2
[2226091.566671] ivtv0: Video GOP Size: 15
[2226091.566674] ivtv0: Video GOP Closure: true
[2226091.566677] ivtv0: Video Bitrate Mode: Variable Bitrate
[2226091.566680] ivtv0: Video Bitrate: 8000000
[2226091.566683] ivtv0: Video Peak Bitrate: 12000000
[2226091.566686] ivtv0: Video Temporal Decimation: 0
[2226091.566689] ivtv0: Video Mute: false
[2226091.566692] ivtv0: Video Mute YUV: 32896
[2226091.566695] ivtv0: Spatial Filter Mode: Manual
[2226091.566698] ivtv0: Spatial Filter: 0
[2226091.566701] ivtv0: Spatial Luma Filter Type: 1D Horizontal
[2226091.566704] ivtv0: Spatial Chroma Filter Type: 1D Horizontal
[2226091.566707] ivtv0: Temporal Filter Mode: Manual
[2226091.566710] ivtv0: Temporal Filter: 8
[2226091.566713] ivtv0: Median Filter Type: Off
[2226091.566716] ivtv0: Median Luma Filter Minimum: 0 inactive
[2226091.566719] ivtv0: Median Luma Filter Maximum: 255 inactive
[2226091.566723] ivtv0: Median Chroma Filter Minimum: 0 inactive
[2226091.566726] ivtv0: Median Chroma Filter Maximum: 255 inactive
[2226091.566730] ivtv0: Insert Navigation Packets: false
[2226091.566733] ivtv0: Video Decoder PTS: 0 volatile
[2226091.566737] ivtv0: Video Decoder Frame Count: 0 volatile
[2226091.566741] ivtv0: Audio Playback: Stereo
[2226091.566744] ivtv0: Audio Multilingual Playback: Left
[2226091.566748] ivtv0: Status flags: 0x00200080
[2226091.566752] ivtv0: Stream encoder MPG: status 0x0000, 0% of 4096 KiB (128 buffers) in use
[2226091.566756] ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
[2226091.566759] ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
[2226091.566763] ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
[2226091.566766] ivtv0: Stream decoder MPG: status 0x0000, 0% of 1024 KiB (16 buffers) in use
[2226091.566770] ivtv0: Stream decoder VBI: status 0x0000, 0% of 65 KiB (29 buffers) in use
[2226091.566773] ivtv0: Stream decoder YUV: status 0x0000, 0% of 1024 KiB (16 buffers) in use
[2226091.566776] ivtv0: Read MPG/VBI: 68661184/0 bytes
[2226091.566779] ivtv0: ================== END STATUS ==================

[2224705.806491] ivtv0: Video Bitrate: 6000000
[2224705.806495] ivtv0: Video Peak Bitrate: 8000000
video_bitrate (int) : min=0 max=27000000 step=1 default=6000000 value=6000000
video_peak_bitrate (int) : min=0 max=27000000 step=1 default=8000000 value=8000000

v4l2-ctl –get-ctrl=video_bitrate,video_peak_bitrate
v4l2-ctl –get-ctrl=video_peak_bitrate

v4l2-ctl -d /dev/video0 –list-audio-input
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner 1

Input : 1
Name : Line In 1

Input : 2
Name : Line In 2

v4l2-ctl -d /dev/video0 –list-inputs
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner 1
Type : 0x00000001
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000001000 (NTSC-M)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 1
Name : S-Video 1
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 2
Name : Composite 1
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 3
Name : S-Video 2
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 4
Name : Composite 2
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 5
Name : Composite 3
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

phomlish@a2:~$ v4l2-ctl -d /dev/video0 –all
Driver Info (not using libv4l2):
Driver name : ivtv
Card type : Hauppauge WinTV PVR-350
Bus info : PCI:0000:02:05.0
Driver version: 4.4.95
Capabilities : 0x812702D3
Video Capture
Video Output
Video Output Overlay
VBI Capture
Sliced VBI Capture
Sliced VBI Output
Tuner
Audio
Radio
Read/Write
Extended Pix Format
Device Capabilities
Device Caps : 0x01230001
Video Capture
Tuner
Audio
Read/Write
Extended Pix Format
Priority: 2
Frequency for tuner 0: 1076 (67.250000 MHz)
Tuner 0:
Name : ivtv TV Tuner
Type : Analog TV
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2 freq-bands
Frequency range : 44.000 MHz – 958.000 MHz
Signal strength/AFC : 0%/0
Current audio mode : stereo
Available subchannels: mono
Video input : 0 (Tuner 1: ok)
Audio input : 0 (Tuner 1)
Video Standard = 0x00001000
NTSC-M
Format Video Capture:
Width/Height : 720/480
Pixel Format : ‘MPEG’
Field : Interlaced
Bytes per Line : 0
Size Image : 131072
Colorspace : SMPTE 170M
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Crop Capability Video Output:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Selection: crop_default, Left 0, Top 0, Width 720, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 720, Height 480
Selection: compose, Left 0, Top 0, Width 720, Height 480
Selection: compose_default, Left 0, Top 0, Width 720, Height 480
Selection: compose_bounds, Left 0, Top 0, Width 720, Height 480
Streaming Parameters Video Capture:
Frames per second: 29.970 (30000/1001)
Read buffers : 2

User Controls

brightness (int) : min=0 max=255 step=1 default=128 value=128 flags=slider
contrast (int) : min=0 max=127 step=1 default=64 value=64 flags=slider
saturation (int) : min=0 max=127 step=1 default=64 value=64 flags=slider
hue (int) : min=-128 max=127 step=1 default=0 value=0 flags=slider
volume (int) : min=0 max=65535 step=655 default=58880 value=58880 flags=slider
balance (int) : min=0 max=65535 step=655 default=32768 value=32768 flags=slider
mute (bool) : default=0 value=1
chroma_agc (bool) : default=1 value=1 flags=update
chroma_gain (int) : min=0 max=127 step=1 default=40 value=15 flags=inactive, slider, volatile

Codec Controls

stream_type (menu) : min=0 max=5 default=0 value=0 flags=update
stream_vbi_format (menu) : min=0 max=1 default=0 value=0
audio_sampling_frequency (menu) : min=0 max=2 default=1 value=1
audio_encoding (menu) : min=0 max=4 default=1 value=1 flags=update
audio_layer_ii_bitrate (menu) : min=0 max=13 default=10 value=10
audio_stereo_mode (menu) : min=0 max=3 default=0 value=0 flags=update
audio_stereo_mode_extension (menu) : min=0 max=3 default=0 value=0 flags=inactive
audio_emphasis (menu) : min=0 max=2 default=0 value=0
audio_crc (menu) : min=0 max=1 default=0 value=0
audio_mute (bool) : default=0 value=0
audio_playback (menu) : min=0 max=5 default=1 value=1
audio_multilingual_playback (menu) : min=0 max=5 default=2 value=2
video_encoding (menu) : min=0 max=1 default=1 value=1
video_aspect (menu) : min=0 max=3 default=1 value=1
video_b_frames (int) : min=0 max=33 step=1 default=2 value=2 flags=update
video_gop_size (int) : min=1 max=34 step=1 default=15 value=15
video_gop_closure (bool) : default=1 value=1
video_bitrate_mode (menu) : min=0 max=1 default=0 value=0 flags=update
video_bitrate (int) : min=0 max=27000000 step=1 default=6000000 value=6000000
video_peak_bitrate (int) : min=0 max=27000000 step=1 default=8000000 value=8000000
video_temporal_decimation (int) : min=0 max=255 step=1 default=0 value=0
video_mute (bool) : default=0 value=0
video_mute_yuv (int) : min=0 max=16777215 step=1 default=32896 value=32896
video_decoder_pts (int64) : min=0 max=8589934591 step=1 default=0 value=0 flags=read-only, volatile
video_decoder_frame_count (int64) : min=0 max=9223372036854775807 step=1 default=0 value=0 flags=read-only, volatile
spatial_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
spatial_filter (int) : min=0 max=15 step=1 default=0 value=0 flags=slider
spatial_luma_filter_type (menu) : min=0 max=4 default=1 value=1
spatial_chroma_filter_type (menu) : min=0 max=1 default=1 value=1
temporal_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
temporal_filter (int) : min=0 max=31 step=1 default=8 value=8 flags=slider
median_filter_type (menu) : min=0 max=4 default=0 value=0 flags=update
median_luma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive, slider
median_luma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive, slider
median_chroma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive, slider
median_chroma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive, slider
insert_navigation_packets (bool) : default=0 value=0