mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 12:16:31 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47b735c51f | ||
|
|
e60991974e | ||
|
|
3a16d17f8f | ||
|
|
08ddb351c7 | ||
|
|
3f251a2459 |
@@ -1,7 +1,7 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
current_version = 3.26
|
current_version = 3.27
|
||||||
parse = (?P<major>\d+)\.(?P<minor>\d+)
|
parse = (?P<major>\d+)\.(?P<minor>\d+)
|
||||||
serialize =
|
serialize =
|
||||||
{major}.{minor}
|
{major}.{minor}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.\" Manpage for ustreamer-dump.
|
.\" Manpage for ustreamer-dump.
|
||||||
.\" Open an issue or pull request to https://github.com/pikvm/ustreamer to correct errors or typos
|
.\" Open an issue or pull request to https://github.com/pikvm/ustreamer to correct errors or typos
|
||||||
.TH USTREAMER-DUMP 1 "version 3.26" "January 2021"
|
.TH USTREAMER-DUMP 1 "version 3.27" "January 2021"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ustreamer-dump \- Dump uStreamer's memory sink to file
|
ustreamer-dump \- Dump uStreamer's memory sink to file
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.\" Manpage for ustreamer.
|
.\" Manpage for ustreamer.
|
||||||
.\" Open an issue or pull request to https://github.com/pikvm/ustreamer to correct errors or typos
|
.\" Open an issue or pull request to https://github.com/pikvm/ustreamer to correct errors or typos
|
||||||
.TH USTREAMER 1 "version 3.26" "November 2020"
|
.TH USTREAMER 1 "version 3.27" "November 2020"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ustreamer \- stream MJPG video from any V4L2 device to the network
|
ustreamer \- stream MJPG video from any V4L2 device to the network
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
|
|
||||||
pkgname=ustreamer
|
pkgname=ustreamer
|
||||||
pkgver=3.26
|
pkgver=3.27
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Lightweight and fast MJPG-HTTP streamer"
|
pkgdesc="Lightweight and fast MJPG-HTTP streamer"
|
||||||
url="https://github.com/pikvm/ustreamer"
|
url="https://github.com/pikvm/ustreamer"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ustreamer
|
PKG_NAME:=ustreamer
|
||||||
PKG_VERSION:=3.26
|
PKG_VERSION:=3.27
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MAINTAINER:=Maxim Devaev <mdevaev@gmail.com>
|
PKG_MAINTAINER:=Maxim Devaev <mdevaev@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ from distutils.core import setup
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
setup(
|
setup(
|
||||||
name="ustreamer",
|
name="ustreamer",
|
||||||
version="3.26",
|
version="3.27",
|
||||||
description="uStreamer tools",
|
description="uStreamer tools",
|
||||||
author="Maxim Devaev",
|
author="Maxim Devaev",
|
||||||
author_email="mdevaev@gmail.com",
|
author_email="mdevaev@gmail.com",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_MAJOR 3
|
#define VERSION_MAJOR 3
|
||||||
#define VERSION_MINOR 26
|
#define VERSION_MINOR 27
|
||||||
|
|
||||||
#define MAKE_VERSION2(_major, _minor) #_major "." #_minor
|
#define MAKE_VERSION2(_major, _minor) #_major "." #_minor
|
||||||
#define MAKE_VERSION1(_major, _minor) MAKE_VERSION2(_major, _minor)
|
#define MAKE_VERSION1(_major, _minor) MAKE_VERSION2(_major, _minor)
|
||||||
|
|||||||
@@ -852,6 +852,7 @@ static void _device_apply_controls(device_s *dev) {
|
|||||||
CONTROL_AUTO_CID (V4L2_CID_AUTO_WHITE_BALANCE, V4L2_CID_WHITE_BALANCE_TEMPERATURE, white_balance);
|
CONTROL_AUTO_CID (V4L2_CID_AUTO_WHITE_BALANCE, V4L2_CID_WHITE_BALANCE_TEMPERATURE, white_balance);
|
||||||
CONTROL_AUTO_CID (V4L2_CID_AUTOGAIN, V4L2_CID_GAIN, gain);
|
CONTROL_AUTO_CID (V4L2_CID_AUTOGAIN, V4L2_CID_GAIN, gain);
|
||||||
CONTROL_MANUAL_CID ( V4L2_CID_COLORFX, color_effect);
|
CONTROL_MANUAL_CID ( V4L2_CID_COLORFX, color_effect);
|
||||||
|
CONTROL_MANUAL_CID ( V4L2_CID_ROTATE, rotate);
|
||||||
CONTROL_MANUAL_CID ( V4L2_CID_VFLIP, flip_vertical);
|
CONTROL_MANUAL_CID ( V4L2_CID_VFLIP, flip_vertical);
|
||||||
CONTROL_MANUAL_CID ( V4L2_CID_HFLIP, flip_horizontal);
|
CONTROL_MANUAL_CID ( V4L2_CID_HFLIP, flip_horizontal);
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,7 @@ typedef struct {
|
|||||||
control_s white_balance;
|
control_s white_balance;
|
||||||
control_s gain;
|
control_s gain;
|
||||||
control_s color_effect;
|
control_s color_effect;
|
||||||
|
control_s rotate;
|
||||||
control_s flip_vertical;
|
control_s flip_vertical;
|
||||||
control_s flip_horizontal;
|
control_s flip_horizontal;
|
||||||
} controls_s;
|
} controls_s;
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ enum _OPT_VALUES {
|
|||||||
_O_WHITE_BALANCE,
|
_O_WHITE_BALANCE,
|
||||||
_O_GAIN,
|
_O_GAIN,
|
||||||
_O_COLOR_EFFECT,
|
_O_COLOR_EFFECT,
|
||||||
|
_O_ROTATE,
|
||||||
_O_FLIP_VERTICAL,
|
_O_FLIP_VERTICAL,
|
||||||
_O_FLIP_HORIZONTAL,
|
_O_FLIP_HORIZONTAL,
|
||||||
|
|
||||||
@@ -158,6 +159,7 @@ static const struct option _LONG_OPTS[] = {
|
|||||||
{"white-balance", required_argument, NULL, _O_WHITE_BALANCE},
|
{"white-balance", required_argument, NULL, _O_WHITE_BALANCE},
|
||||||
{"gain", required_argument, NULL, _O_GAIN},
|
{"gain", required_argument, NULL, _O_GAIN},
|
||||||
{"color-effect", required_argument, NULL, _O_COLOR_EFFECT},
|
{"color-effect", required_argument, NULL, _O_COLOR_EFFECT},
|
||||||
|
{"rotate", required_argument, NULL, _O_ROTATE},
|
||||||
{"flip-vertical", required_argument, NULL, _O_FLIP_VERTICAL},
|
{"flip-vertical", required_argument, NULL, _O_FLIP_VERTICAL},
|
||||||
{"flip-horizontal", required_argument, NULL, _O_FLIP_HORIZONTAL},
|
{"flip-horizontal", required_argument, NULL, _O_FLIP_HORIZONTAL},
|
||||||
|
|
||||||
@@ -394,6 +396,7 @@ int options_parse(options_s *options, device_s *dev, encoder_s *enc, stream_s *s
|
|||||||
OPT_CTL_DEFAULT_NOBREAK(white_balance);
|
OPT_CTL_DEFAULT_NOBREAK(white_balance);
|
||||||
OPT_CTL_DEFAULT_NOBREAK(gain);
|
OPT_CTL_DEFAULT_NOBREAK(gain);
|
||||||
OPT_CTL_DEFAULT_NOBREAK(color_effect);
|
OPT_CTL_DEFAULT_NOBREAK(color_effect);
|
||||||
|
OPT_CTL_DEFAULT_NOBREAK(rotate);
|
||||||
OPT_CTL_DEFAULT_NOBREAK(flip_vertical);
|
OPT_CTL_DEFAULT_NOBREAK(flip_vertical);
|
||||||
OPT_CTL_DEFAULT_NOBREAK(flip_horizontal);
|
OPT_CTL_DEFAULT_NOBREAK(flip_horizontal);
|
||||||
break;
|
break;
|
||||||
@@ -407,6 +410,7 @@ int options_parse(options_s *options, device_s *dev, encoder_s *enc, stream_s *s
|
|||||||
case _O_WHITE_BALANCE: OPT_CTL_AUTO(white_balance);
|
case _O_WHITE_BALANCE: OPT_CTL_AUTO(white_balance);
|
||||||
case _O_GAIN: OPT_CTL_AUTO(gain);
|
case _O_GAIN: OPT_CTL_AUTO(gain);
|
||||||
case _O_COLOR_EFFECT: OPT_CTL_MANUAL(color_effect);
|
case _O_COLOR_EFFECT: OPT_CTL_MANUAL(color_effect);
|
||||||
|
case _O_ROTATE: OPT_CTL_MANUAL(rotate);
|
||||||
case _O_FLIP_VERTICAL: OPT_CTL_MANUAL(flip_vertical);
|
case _O_FLIP_VERTICAL: OPT_CTL_MANUAL(flip_vertical);
|
||||||
case _O_FLIP_HORIZONTAL: OPT_CTL_MANUAL(flip_horizontal);
|
case _O_FLIP_HORIZONTAL: OPT_CTL_MANUAL(flip_horizontal);
|
||||||
|
|
||||||
@@ -637,6 +641,7 @@ static void _help(FILE *fp, device_s *dev, encoder_s *enc, stream_s *stream, ser
|
|||||||
SAY(" --white-balance <N|auto|default> ───── Set white balance. Default: no change.\n");
|
SAY(" --white-balance <N|auto|default> ───── Set white balance. Default: no change.\n");
|
||||||
SAY(" --gain <N|auto|default> ────────────── Set gain. Default: no change.\n");
|
SAY(" --gain <N|auto|default> ────────────── Set gain. Default: no change.\n");
|
||||||
SAY(" --color-effect <N|default> ─────────── Set color effect. Default: no change.\n");
|
SAY(" --color-effect <N|default> ─────────── Set color effect. Default: no change.\n");
|
||||||
|
SAY(" --rotate <N|default> ───────────────── Set rotation. Default: no change.\n");
|
||||||
SAY(" --flip-vertical <1|0|default> ──────── Set vertical flip. Default: no change.\n");
|
SAY(" --flip-vertical <1|0|default> ──────── Set vertical flip. Default: no change.\n");
|
||||||
SAY(" --flip-horizontal <1|0|default> ────── Set horizontal flip. Default: no change.\n");
|
SAY(" --flip-horizontal <1|0|default> ────── Set horizontal flip. Default: no change.\n");
|
||||||
SAY(" Hint: use v4l2-ctl --list-ctrls-menus to query available controls of the device.\n");
|
SAY(" Hint: use v4l2-ctl --list-ctrls-menus to query available controls of the device.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user