From owner-freebsd-questions@freebsd.org Wed Oct 5 09:05:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 477D1AF51C0 for ; Wed, 5 Oct 2016 09:05:25 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2CEC7BF1 for ; Wed, 5 Oct 2016 09:05:25 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: by mailman.ysv.freebsd.org (Postfix) id 29413AF51BF; Wed, 5 Oct 2016 09:05:25 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28E1DAF51BE for ; Wed, 5 Oct 2016 09:05:25 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC482BF0 for ; Wed, 5 Oct 2016 09:05:24 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id A77F8D7886 for ; Wed, 5 Oct 2016 16:05:20 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1475658319; x=1477472720; bh=jtmyI787zlC7h2n5MbOO/t PLv6cxy02FNL4mGDM3Fzg=; b=i/7fLwfRq4ijM9VEEwIfTtKG2OqaiXgzOoUk4i q7Iakd8tGRsWmcex4xolfjfkqfsIAwmqpgqJJIbbdiTYcXh5LLHQDi/RqJOEHi4r t5sSF9iKhdZN++yli37Sn2irbaUHoB0eMVP9QgTuOKxMAqsN+r0dssRMlHHUUWti WhvRM= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id WeTxQfeYonwI for ; Wed, 5 Oct 2016 16:05:19 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id A10FDD7881 for ; Wed, 5 Oct 2016 16:05:19 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id u9595Jr1042696; Wed, 5 Oct 2016 16:05:19 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: questions@freebsd.org Subject: mencoder for a webcam Date: Wed, 05 Oct 2016 16:05:19 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 09:05:25 -0000 Hi, I used to have it working, but I cannot find how to get that working again: I have a webcam installed, webcamd running, and pwcview can show me the video. How can I use mencoder to capture and save the stream? I used to have something of the form: /usr/local/bin/mencoder tv:// -tv noaudio:fps=10 -nosound -ovc lavc -ofps 10 -lavcopts vcodec=mpeg4:vbitrate=400 -o -really-quiet but it now complains that: tvi_bsdbt848: Unable to open bktr device. Error: No such file or directory tvi_bsdbt848: Unable to open tuner device. Error: No such file or directory tvi_bsdbt848: Unable to open dsp device. Error: Operation not supported So what is the secret command to get mencoder grab the video stream from the webcam? Thanks in advance, Olivier --