diff --git a/multimedia/mediamtx/Makefile b/multimedia/mediamtx/Makefile index b01c05daf4f4..40743c2760c5 100644 --- a/multimedia/mediamtx/Makefile +++ b/multimedia/mediamtx/Makefile @@ -1,35 +1,35 @@ PORTNAME= mediamtx DISTVERSIONPREFIX= v -DISTVERSION= 1.19.1 +DISTVERSION= 1.19.2 CATEGORIES= multimedia net MASTER_SITES+= https://github.com/video-dev/hls.js/releases/download/v1.6.16/:hlsjs DISTFILES+= release.zip:hlsjs MAINTAINER= diizzy@FreeBSD.org COMMENT= Ready-to-use RTSP / RTMP / LL-HLS / WebRTC server and proxy that allows to read, publish and proxy video and audio streams WWW= https://github.com/bluenviron/mediamtx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.26+,modules GO_MODULE= github.com/bluenviron/mediamtx USE_RC_SUBR= mediamtx USERS= mediamtx GROUPS= mediamtx SUB_LIST= USER=${USERS} GROUP=${GROUPS} post-extract: ${MV} ${WRKDIR}/dist/hls.min.js ${WRKSRC}/internal/servers/hls ${RM} -r ${WRKSRC}/internal/staticsources/rpicamera pre-configure: ${ECHO} ${DISTVERSIONFULL} > ${WRKSRC}/internal/core/VERSION post-install: ${INSTALL_DATA} ${WRKSRC}/mediamtx.yml ${STAGEDIR}${PREFIX}/etc/mediamtx.yml.sample .include diff --git a/multimedia/mediamtx/distinfo b/multimedia/mediamtx/distinfo index 558c150adfe5..da5116d3adff 100644 --- a/multimedia/mediamtx/distinfo +++ b/multimedia/mediamtx/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1781302782 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.1/release.zip) = 09c827969e702e82be694da80dbf16dbdf5ff6819c33a374b1757e1bc0adb458 -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.1/release.zip) = 5594711 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.1/v1.19.1.mod) = 5093ce8e3f95f52f7af11aaf169ecefe7f6fc348f568094a706f5c5447baa4b4 -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.1/v1.19.1.mod) = 4693 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.1/v1.19.1.zip) = ecd4c70ff4269e1b2dd99fd743066f5e21fe05150193597198efd13f4c7bad8b -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.1/v1.19.1.zip) = 865629 +TIMESTAMP = 1782681770 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.2/release.zip) = 09c827969e702e82be694da80dbf16dbdf5ff6819c33a374b1757e1bc0adb458 +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.2/release.zip) = 5594711 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.2/v1.19.2.mod) = e2b47290d442a1f2817b474e3bc051962317be72ff6196d082522312b344bcad +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.2/v1.19.2.mod) = 4578 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.2/v1.19.2.zip) = 994f28903ee8104e284ddcac10ebe87258f4618c48011cc776a635ffcdc3030d +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.2/v1.19.2.zip) = 869607 diff --git a/multimedia/mediamtx/files/patch-mediamtx.yml b/multimedia/mediamtx/files/patch-mediamtx.yml index e228814f0f31..c000e17aab7e 100644 --- a/multimedia/mediamtx/files/patch-mediamtx.yml +++ b/multimedia/mediamtx/files/patch-mediamtx.yml @@ -1,111 +1,112 @@ ---- mediamtx.yml.orig 2026-06-04 22:46:38 UTC +--- mediamtx.yml.orig 2026-06-28 21:24:55 UTC +++ mediamtx.yml -@@ -482,7 +482,6 @@ pathDefaults: +@@ -490,7 +490,6 @@ pathDefaults: # * whep://existing-url -> the stream is pulled from another WebRTC server / camera with HTTP+WHEP # * wheps://existing-url -> the stream is pulled from another WebRTC server / camera with HTTPS+WHEP # * redirect -> the stream is provided by another path or server - # * rpiCamera -> the stream is provided by a Raspberry Pi Camera # The following variables can be used in the source string: # * $MTX_QUERY: query parameters (passed by first reader) # * $G1, $G2, ...: regular expression groups, if path name is -@@ -612,100 +611,6 @@ pathDefaults: +@@ -624,101 +623,6 @@ pathDefaults: # Path to which clients will be redirected. # It can be a relative path (i.e. /otherstream) or an absolute RTSP URL. sourceRedirect: - - ############################################### - # Default path settings -> Raspberry Pi Camera source (when source is "rpiCamera") - - # ID of the camera. - rpiCameraCamID: 0 - # Whether this is a secondary stream. - rpiCameraSecondary: false - # Width of frames. - rpiCameraWidth: 1920 - # Height of frames. - rpiCameraHeight: 1080 - # Flip horizontally. - rpiCameraHFlip: false - # Flip vertically. - rpiCameraVFlip: false - # Brightness [-1, 1]. - rpiCameraBrightness: 0 - # Contrast [0, 16]. - rpiCameraContrast: 1 - # Saturation [0, 16]. - rpiCameraSaturation: 1 - # Sharpness [0, 16]. - rpiCameraSharpness: 1 - # Exposure mode. - # values: normal, short, long, custom. - rpiCameraExposure: normal - # Auto-white-balance mode. - # (auto, incandescent, tungsten, fluorescent, indoor, daylight, cloudy or custom). - rpiCameraAWB: auto - # Auto-white-balance fixed gains. This can be used in place of rpiCameraAWB. - # format: [red,blue]. - rpiCameraAWBGains: [0, 0] - # Denoise operating mode (off, cdn_off, cdn_fast, cdn_hq). - rpiCameraDenoise: "off" - # Fixed shutter speed, in microseconds. - rpiCameraShutter: 0 - # Metering mode of the AEC/AGC algorithm (centre, spot, matrix or custom). - rpiCameraMetering: centre - # Fixed gain. - rpiCameraGain: 0 - # EV compensation of the image in range [-10, 10]. - rpiCameraEV: 0 - # Region of interest, in format x,y,width,height (all normalized between 0 and 1). - rpiCameraROI: - # Whether to enable HDR on Raspberry Camera 3. - rpiCameraHDR: false - # Tuning file. - rpiCameraTuningFile: - # Sensor mode, in format [width]:[height]:[bit-depth]:[packing] - # bit-depth and packing are optional. - rpiCameraMode: - # frames per second. - rpiCameraFPS: 30 - # Autofocus mode (auto, manual or continuous). - rpiCameraAfMode: continuous - # Autofocus range (normal, macro or full). - rpiCameraAfRange: normal - # Autofocus speed (normal or fast). - rpiCameraAfSpeed: normal - # Lens position (for manual autofocus only), will be set to focus to a specific distance - # calculated by the following formula: d = 1 / value - # Examples: 0 moves the lens to infinity. - # 0.5 moves the lens to focus on objects 2m away. - # 2 moves the lens to focus on objects 50cm away. - rpiCameraLensPosition: 0.0 - # Autofocus window, in the form x,y,width,height where the coordinates - # are given as a proportion of the entire image. - rpiCameraAfWindow: - # Manual flicker correction period, in microseconds. - rpiCameraFlickerPeriod: 0 - # Enables printing text on each frame. - rpiCameraTextOverlayEnable: false - # Text that is printed on each frame. - # format is the one of the strftime() function. - rpiCameraTextOverlay: "%Y-%m-%d %H:%M:%S - MediaMTX" - # Codec (auto, hardwareH264, softwareH264 or mjpeg). -- # When is "auto" and stream is primary, it defaults to hardwareH264 (if available) or softwareH264. -- # When is "auto" and stream is secondary, it defaults to mjpeg. +- # When is "auto", it defaults to: +- # * hardwareH264 when stream is primary and hardware encoder is available +- # * softwareH264 when stream is primary and hardware encoder is not available +- # * mjpeg when stream is secondary - rpiCameraCodec: auto - # Period between IDR frames (when codec is hardwareH264 or softwareH264). - rpiCameraIDRPeriod: 60 - # Bitrate (when codec is hardwareH264 or softwareH264). - rpiCameraBitrate: 5000000 -- # Hardware H264 profile (baseline, main or high) (when codec is hardwareH264). -- rpiCameraHardwareH264Profile: main -- # Hardware H264 level (4.0, 4.1 or 4.2) (when codec is hardwareH264). -- rpiCameraHardwareH264Level: "4.1" -- # Software H264 profile (baseline, main or high) (when codec is softwareH264). -- rpiCameraSoftwareH264Profile: baseline -- # Software H264 level (4.0, 4.1 or 4.2) (when codec is softwareH264). -- rpiCameraSoftwareH264Level: "4.1" -- # M-JPEG JPEG quality (when codec is mjpeg). +- # H264 profile (auto, baseline, main or high). +- # When is "auto", it defaults to: +- # * main when codec is hardwareH264 +- # * baseline when codec is softwareH264 +- rpiCameraH264Profile: auto +- # H264 level (4.0, 4.1 or 4.2). +- rpiCameraH264Level: "4.1" +- # M-JPEG quality (0-100). - rpiCameraMJPEGQuality: 60 ############################################### # Default path settings -> Hooks