From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 2 08:25:32 2003 Return-Path: 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 5084216A4BF for ; Tue, 2 Sep 2003 08:25:32 -0700 (PDT) Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF35143FF9 for ; Tue, 2 Sep 2003 08:25:29 -0700 (PDT) (envelope-from sugiura@kt.rim.or.jp) Received: from mail4.rim.or.jp by serio.al.rim.or.jp (3.7W/HMX-13) id AAA13675; Wed, 3 Sep 2003 00:25:28 +0900 (JST) Received: from general.hexagon.mil (YahooBB219015172032.bbtec.net [219.15.172.32]) by mail4.rim.or.jp (8.9.3/3.7W) id AAA26452; Wed, 3 Sep 2003 00:25:27 +0900 (JST) Date: Wed, 3 Sep 2003 00:25:27 +0900 (JST) Message-Id: <200309021525.AAA26452@mail4.rim.or.jp> From: sugiura@kt.rim.or.jp (Sugiura Shiro) To: steve@sohara.org, freebsd-multimedia@freebsd.org In-Reply-To: Your message of "Mon, 1 Sep 2003 20:13:41 +0200". <20030901201341.1e6ff86d.steve@sohara.org> X-Mailer: mnews [version 1.22] 1999-12/19(Sun) Subject: Re: How to make high quality MPEG4 video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 15:25:32 -0000 In article <20030901201341.1e6ff86d.steve@sohara.org> steve@sohara.org writes: >> With that 2.8GHZ P4 you should be able to go direct. I can quite >> easily record PAL 720x576@25fps in mpeg4 or mpeg1 on my AMD XP2000 in >> realtime with ffmpeg alone running like this: >> >> ffmpeg -s 768x576 -tvstd pal -vcodec mpeg4 -b 2000 -acodec mp3 -ac 2 \ >> -ab 128 -f avi -t $DURATION -y $NAME.avi >> >> It uses about 60% CPU on average, adding -hq pushes it to >> a bit over 70%. Thank you. I tried to direct encode a sportscast like following: % ffmpeg -s 640x480 -tvstd ntsc -vcodec mpeg4 -b 2000 -acodec mp3 -ac 2 \ -ab 128 -f avi TV.avi It uses about 30% CPU on average. And then, I play TV.avi using mplayer and xine. But output avi files seems that some frame was droped during capture and encode. >> SS> Step2-2: mpeg4 encode by ffmpeg(strange out put) >> SS> % ffmpeg -i raw.avi -vcodec mpeg4 -r 29.97 -me full -re -b 2000 >> SS> -acodec \ >> SS> copy -deinterlace tv.avi >> >> Strange how ? Audio stream is OK, but Video stream playbacks 2-3X speed, like Charles Chaplin movies. I tried to direct encode(mpeg1/mpeg4) and rawvideo recode , but in any case , my mpeg files seems that some frames was droped. I think, I mistook something, but I don't know what it is. First step, I want to know how to setup to recode/encode full frames(29.97fps) movie. thank you. -- Sugiura Shiro E-mail : sugiura@kt.rim.or.jp