From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 15 05:10:17 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D4616A401 for ; Sat, 15 Apr 2006 05:10:17 +0000 (UTC) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (mail231.csoft.net [205.205.221.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 4B4F343D46 for ; Sat, 15 Apr 2006 05:10:16 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 15869 invoked from network); 15 Apr 2006 05:10:15 -0000 Received: from unknown (HELO puff.jakemsr.gom) (jakemsr@24.20.118.148) by mail231.csoft.net with SMTP; 15 Apr 2006 05:10:15 -0000 Received: from puff.jakemsr.gom (jakemsr@localhost.jakemsr.gom [127.0.0.1]) by puff.jakemsr.gom (8.13.6/8.13.4) with ESMTP id k3F5AEJl007174 for ; Fri, 14 Apr 2006 22:10:14 -0700 (PDT) Received: (from jakemsr@localhost) by puff.jakemsr.gom (8.13.6/8.13.3/Submit) id k3F5AESJ021766 for freebsd-multimedia@freebsd.org; Fri, 14 Apr 2006 22:10:14 -0700 (PDT) Date: Fri, 14 Apr 2006 22:10:14 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20060415051014.GA20238@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Subject: Re: ffmpeg question X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 05:10:18 -0000 On Fri, Apr 14, 2006 at 11:54:18PM -0400, Joe Auty wrote: > Hello, > > Doing a: > > cat /dev/cxm0 > myvideo.mpg > > produces great mpeg2 video... However: > > ffmpeg -i /dev/cxm0 -t 10 test_ffmpeg.mpg > > produces 10 seconds of mpeg1 video that doesn't look as good. > > > I've tried adding -f and -vcodec options with -s 640x480, > but I just can't seem to find something that will reproduce my raw > feed without errors, loss of picture, the size being off, or > reverting back to mpeg1. > > To save me a little further time in just random trial and error, can > anybody hook me up with the combination I need? sorry, but what exactly are you trying to do? what is lacking with the cat command? most likely, if you are running a transcoder (like ffmpeg, mencoder or transcode), it is decoding the input into raw YUV or RGB and then back to MPEG. this is a lossy and time/cpu consuming process. --