diff --git a/multimedia/mediamtx/Makefile b/multimedia/mediamtx/Makefile index 61c92695e8db..82683d8249e5 100644 --- a/multimedia/mediamtx/Makefile +++ b/multimedia/mediamtx/Makefile @@ -1,35 +1,35 @@ PORTNAME= mediamtx DISTVERSIONPREFIX= v -DISTVERSION= 1.19.3 +DISTVERSION= 1.20.0 CATEGORIES= multimedia net -MASTER_SITES+= https://github.com/video-dev/hls.js/releases/download/v1.6.16/:hlsjs +MASTER_SITES+= https://github.com/video-dev/hls.js/releases/download/v1.6.17/: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 d38abd1fa110..3ae4972e7f80 100644 --- a/multimedia/mediamtx/distinfo +++ b/multimedia/mediamtx/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1784972253 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.3/release.zip) = 09c827969e702e82be694da80dbf16dbdf5ff6819c33a374b1757e1bc0adb458 -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.3/release.zip) = 5594711 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.3/v1.19.3.mod) = 522d840843070d69d3f33a71ac62743ed51b5750ba6b9ecc9945e10277ca298b -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.3/v1.19.3.mod) = 4549 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.3/v1.19.3.zip) = 11270ae065711f0c19be3a316f2465ea7642a01b134521c9f2bf600b341015e8 -SIZE (go/multimedia_mediamtx/mediamtx-v1.19.3/v1.19.3.zip) = 892959 +TIMESTAMP = 1786190741 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.20.0/release.zip) = 2660890d32fff2c510b8e8e7210db4699fc5df3e81c33484e2913a0217130901 +SIZE (go/multimedia_mediamtx/mediamtx-v1.20.0/release.zip) = 5595857 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.20.0/v1.20.0.mod) = 0f19bf97ef0418f4c18023d5b35007ea45dc40045c4e30d7c2ec23744bc70821 +SIZE (go/multimedia_mediamtx/mediamtx-v1.20.0/v1.20.0.mod) = 4645 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.20.0/v1.20.0.zip) = ef0896c8eb151ceb1d22a0cd3efb4f250b582586263415d646a564c9e64cebf5 +SIZE (go/multimedia_mediamtx/mediamtx-v1.20.0/v1.20.0.zip) = 953278 diff --git a/multimedia/mediamtx/files/patch-mediamtx.yml b/multimedia/mediamtx/files/patch-mediamtx.yml index c000e17aab7e..49f5a166a371 100644 --- a/multimedia/mediamtx/files/patch-mediamtx.yml +++ b/multimedia/mediamtx/files/patch-mediamtx.yml @@ -1,112 +1,112 @@ ---- mediamtx.yml.orig 2026-06-28 21:24:55 UTC +--- mediamtx.yml.orig 2026-08-08 12:05:49 UTC +++ mediamtx.yml -@@ -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 +@@ -492,7 +492,6 @@ pathDefaults: + # * whep://host:port/path -> the stream is pulled from another WebRTC server / camera with HTTP+WHEP + # * wheps://host:port/path -> 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: + # The following variables can be used: # * $MTX_QUERY: query parameters (passed by first reader) - # * $G1, $G2, ...: regular expression groups, if path name is -@@ -624,101 +623,6 @@ pathDefaults: + # * $G1, $G2, ...: regular expression groups, if path name is a regular expression. +@@ -641,101 +640,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", 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 - # 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