From owner-freebsd-ports@freebsd.org Sat Dec 5 14:26:32 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5900F47D50C for ; Sat, 5 Dec 2020 14:26:32 +0000 (UTC) (envelope-from ros@bebik.net) Received: from smtp.osorio.me (mvd.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id 4CpBhk1MJ7z3pKL for ; Sat, 5 Dec 2020 14:26:29 +0000 (UTC) (envelope-from ros@bebik.net) Received: from [192.168.69.168] (unknown [78.194.61.125]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id 8D0FFD6C31 for ; Sat, 5 Dec 2020 14:26:22 +0000 (UTC) Subject: Re: replacing ffserver? To: freebsd-ports@freebsd.org References: <24521.30595.80033.88955@jerusalem.litteratus.org> <24521.46760.296586.537444@jerusalem.litteratus.org> <20201204075132.7fd3fee4@asd2> <24522.44593.292701.122459@jerusalem.litteratus.org> From: ros@bebik.net Message-ID: <02afcd44-9eea-6519-ad07-6741ca6f7772@osorio.me> Date: Sat, 5 Dec 2020 15:26:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <24522.44593.292701.122459@jerusalem.litteratus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4CpBhk1MJ7z3pKL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ros@bebik.net designates 5.196.94.126 as permitted sender) smtp.mailfrom=ros@bebik.net X-Spamd-Result: default: False [-0.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[78.194.61.125:received]; RBL_DBL_DONT_QUERY_IPS(0.00)[5.196.94.126:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[5.196.94.126:from:127.0.2.255]; DMARC_NA(0.00)[bebik.net]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_NO_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:5.196.0.0/16, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2020 14:26:32 -0000 On 12/4/20 10:46 PM, Robert Huff wrote: > Let me restate the issue. > My goal is to be able to have someone visit (e.g.) > "https://webcam.example.com:9999" and have the feed from the webcam > appear in their browser. > What I have at the moment: > > a) a system running: > > FreeBSD 13.0-CURRENT #0 r365372: Sun Sep 6 10:51:26 EDT 2020 amd64 > > b) a working webcam > c) the latest version of webcamd, which finds the webcam and > creates video0 and video1. > > So: I need to make the contents of video0 available on port 9999. > I have been unable to find a concise current method for how to do > that. (Including anything with Apache, which seems like an obvious > step.) > > > Respectfully, > > > Robert Huff > Hi Robert, Did you try to use ustreamer[1] ? it's a light, easy to use, mjpeg streamer. No config required. The following command will do the jub for what you want. # ustreamer -l -s 0.0.0.0 -p 9999 Cheers, -- rodrigo [1] https://www.freshports.org/multimedia/ustreamer/