From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 8 11:33:24 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 AF25716A4BF for ; Mon, 8 Sep 2003 11:33:24 -0700 (PDT) Received: from smtp5.wanadoo.nl (smtp5.wanadoo.nl [194.134.35.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A8343FD7 for ; Mon, 8 Sep 2003 11:33:23 -0700 (PDT) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (p0457.nas2-asd6.dial.wanadoo.nl [62.234.213.203]) by smtp5.wanadoo.nl (Postfix) with SMTP id C56F477740; Mon, 8 Sep 2003 20:33:19 +0200 (CEST) Date: Mon, 8 Sep 2003 20:33:15 +0200 From: Steve O'Hara-Smith To: sugiura@kt.rim.or.jp (Sugiura Shiro) Message-Id: <20030908203315.3d575666.steve@sohara.org> In-Reply-To: <200309071528.AAA16436@mail4.rim.or.jp> References: <20030902183709.7534858c.steve@sohara.org> <200309071528.AAA16436@mail4.rim.or.jp> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org 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: Mon, 08 Sep 2003 18:33:24 -0000 On Mon, 8 Sep 2003 00:28:53 +0900 (JST) sugiura@kt.rim.or.jp (Sugiura Shiro) wrote: SS> In article <20030902183709.7534858c.steve@sohara.org> SS> steve@sohara.org writes: SS> SS> >> That seems too low. What version of FreeBSD are you running ? SS> >> There was an update merged to stable on 17 June this year that SS> >fixed a> nasty problem with the bktr sync signalling at full SS> >resolution YUV. SS> SS> I use 5.1-CURRENT-20030812. You'll have that patch then :) SS> I tried to turned off HTT on BIOS, and rebuild kernel without SMP , SS> then it likes so better. Hmmm, ISTR there being some options to fiddle with ffmpeg's use of SSE, MMX and the like. It may be worth fiddling with them if this kind of thing makes a difference :( SS> --------------------------------------------------------------------- SS> ----(1)% ffmpeg -r 29.97 -s 640x480 -ac 2 -ar 48000 -ab 256 -acodec SS> mp3 -vcodec \ SS> mpegvideo -b 8000 -tvstd ntsc tv.mpg SS> SS> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU SS> COMMAND 648 sugiura 8 0 11912K 10256K nanslp 0:52 49.88% SS> 49.61% ffmpeg SS> SS> (2)% ffmpeg -s 640x480 -tvstd ntsc -vcodec mpeg4 -b 2000 -acodec mp3 SS> -ac 2 \ SS> -ab 256 -r 29.97 -f avi TV.avi SS> SS> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU SS> COMMAND 657 sugiura 100 0 13092K 11588K RUN 1:47 36.77% SS> 36.77% ffmpeg A little odd, I'd expect mpeg4 production to be slightly more CPU intensive than mpeg1 - but these figures look reasonable. Presumably these did not work well in some way - what happened ? SS> (3)% ffmpeg -r 29.97 -s 640x480 -ac 2 -ar 48000 -acodec pcm_s16le SS> -vcodec \ rawvideo -tvstd ntsc TV.avi SS> SS> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU SS> COMMAND 685 sugiura 8 0 10064K 7216K nanslp 0:12 13.83% SS> 13.62% ffmpeg SS> --------------------------------------------------------------------- SS> ---- SS> SS> I recorded TV like (3) , then I want to encode to MPEG4 using ffmpeg. SS> But, I can't encode like following; SS> SS> --------------------------------------------------------------------- SS> ----% ffmpeg -t 30 -r 29.97 -s 640x480 -ac 2 -ar 48000 -acodec SS> pcm_s16le \ SS> -vcodec rawvideo -tvstd ntsc TV.avi The only difference is the -t 30 right ? Timer problems ??? Try kern.timecounter.method=1 in /etc/sysctl.conf and a reboot to check. SS> Is there any options to encode MPEG4? Well, for me it just works :) -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/