diff --git a/multimedia/mediamtx/Makefile b/multimedia/mediamtx/Makefile index 411d42441aff..8530a1d6a677 100644 --- a/multimedia/mediamtx/Makefile +++ b/multimedia/mediamtx/Makefile @@ -1,36 +1,35 @@ PORTNAME= mediamtx DISTVERSIONPREFIX= v -DISTVERSION= 1.18.2 -PORTREVISION= 1 +DISTVERSION= 1.19.0 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 7b31a0e7ebe7..1f0147f257d7 100644 --- a/multimedia/mediamtx/distinfo +++ b/multimedia/mediamtx/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1778875757 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.18.2/release.zip) = 09c827969e702e82be694da80dbf16dbdf5ff6819c33a374b1757e1bc0adb458 -SIZE (go/multimedia_mediamtx/mediamtx-v1.18.2/release.zip) = 5594711 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.18.2/v1.18.2.mod) = 5dbbcc5b9b680e2b6ec899bac545240feb58a630022ca551a71f4befdecb302f -SIZE (go/multimedia_mediamtx/mediamtx-v1.18.2/v1.18.2.mod) = 4413 -SHA256 (go/multimedia_mediamtx/mediamtx-v1.18.2/v1.18.2.zip) = 48996ef92279bb8c1fe36ecf9845a212993b6be0a8a83d8deaca5556a88f1937 -SIZE (go/multimedia_mediamtx/mediamtx-v1.18.2/v1.18.2.zip) = 784747 +TIMESTAMP = 1780613020 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.0/release.zip) = 09c827969e702e82be694da80dbf16dbdf5ff6819c33a374b1757e1bc0adb458 +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.0/release.zip) = 5594711 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.0/v1.19.0.mod) = 88195262fe49a4b34fed033065ea350300777bf760c5e4345c7de2dd36e6983e +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.0/v1.19.0.mod) = 4604 +SHA256 (go/multimedia_mediamtx/mediamtx-v1.19.0/v1.19.0.zip) = c98040be743faf412b90f823b26a92c33d7fe323a5b97f2378c7ae572f022405 +SIZE (go/multimedia_mediamtx/mediamtx-v1.19.0/v1.19.0.zip) = 859485 diff --git a/multimedia/mediamtx/files/patch-mediamtx.yml b/multimedia/mediamtx/files/patch-mediamtx.yml index 6321735174c7..e228814f0f31 100644 --- a/multimedia/mediamtx/files/patch-mediamtx.yml +++ b/multimedia/mediamtx/files/patch-mediamtx.yml @@ -1,113 +1,111 @@ ---- mediamtx.yml.orig 2025-08-12 20:37:33 UTC +--- mediamtx.yml.orig 2026-06-04 22:46:38 UTC +++ mediamtx.yml -@@ -450,7 +450,6 @@ pathDefaults: - # * whep://existing-url -> the stream is pulled from another WebRTC server / camera - # * wheps://existing-url -> the stream is pulled from another WebRTC server / camera with HTTPS +@@ -482,7 +482,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 -@@ -564,101 +563,7 @@ pathDefaults: - # It can be can be a relative path (i.e. /otherstream) or an absolute RTSP URL. +@@ -612,100 +611,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' +- 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. - 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' +- 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' +- rpiCameraSoftwareH264Level: "4.1" - # M-JPEG JPEG quality (when codec is mjpeg). - rpiCameraMJPEGQuality: 60 -- -- ############################################### -+ ################################################# - # Default path settings -> Hooks - # Command to run when this path is initialized. + ############################################### + # Default path settings -> Hooks