From owner-freebsd-questions@FreeBSD.ORG Thu Sep 5 08:50:22 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 06416234 for ; Thu, 5 Sep 2013 08:50:22 +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 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 964322C31 for ; Thu, 5 Sep 2013 08:50:21 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 45796160B0D for ; Thu, 5 Sep 2013 15:50:17 +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=1378371016; x=1380185417; bh=E6OL8OVJ5Pp916lgalQoFc J/pPAKPwqeVDqxdx66Hkk=; b=llMRhIyk16HwodZYdconitiNhfDpC0f6MTX2iR P9UasJhmvJFNQQHbeyBmV/hECWLLV+8NlbhSUdgPQAhrDYFt+Vyny2GQ/ArbJW/W XgScziNi4l0tPIWRHLn3PnuZfbVS9/lY0hQab78X6NoS/qb5tEI6J92gNsfIp0t7 HhySg= 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 WIgyPOXwWSL5 for ; Thu, 5 Sep 2013 15:50:16 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 8E574160B06 for ; Thu, 5 Sep 2013 15:50:16 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id r858oGJi014190; Thu, 5 Sep 2013 15:50:16 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: questions@freebsd.org Subject: mencoder freeze the video Date: Thu, 05 Sep 2013 15:50:16 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 08:50:22 -0000 Hi, I have a video surveillance system based on FreeBSD 9.1. I use mencoder to capture the video from a USB camera, but it usually freeze after few seconds. I use the following command to launch the capture, I stop it by sending a signal. /usr/local/bin/mencoder tv:// -tv driver=v4l2:outfmt=mjpeg -nosound -ovc lavc -ofps 10 -lavcopts vcodec=mpeg4:vbitrate=400 -o file -really-quiet What to change to avoid the freeze of the video? How to stop the capture without generating a core dump? Best regards, Olivier --