From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 7 08:28:58 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 E184316A4BF for ; Sun, 7 Sep 2003 08:28:58 -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 8FFE443FF2 for ; Sun, 7 Sep 2003 08:28:56 -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 AAA25510; Mon, 8 Sep 2003 00:28:52 +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 AAA16436; Mon, 8 Sep 2003 00:28:53 +0900 (JST) Date: Mon, 8 Sep 2003 00:28:53 +0900 (JST) Message-Id: <200309071528.AAA16436@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 "Tue, 2 Sep 2003 18:37:09 +0200". <20030902183709.7534858c.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: Sun, 07 Sep 2003 15:28:59 -0000 In article <20030902183709.7534858c.steve@sohara.org> steve@sohara.org writes: >> SS> I tried to direct encode a sportscast like following: >> SS> >> SS> % ffmpeg -s 640x480 -tvstd ntsc -vcodec mpeg4 -b 2000 -acodec mp3 -ac >> SS> 2 \ >> SS> -ab 128 -f avi TV.avi >> SS> >> SS> It uses about 30% CPU on average. >> >> That seems too low. What version of FreeBSD are you running ? >> There was an update merged to stable on 17 June this year that fixed a >> nasty problem with the bktr sync signalling at full resolution YUV. I use 5.1-CURRENT-20030812. I tried to turned off HTT on BIOS, and rebuild kernel without SMP , then it likes so better. ------------------------------------------------------------------------- (1)% ffmpeg -r 29.97 -s 640x480 -ac 2 -ar 48000 -ab 256 -acodec mp3 -vcodec \ mpegvideo -b 8000 -tvstd ntsc tv.mpg PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 648 sugiura 8 0 11912K 10256K nanslp 0:52 49.88% 49.61% ffmpeg (2)% ffmpeg -s 640x480 -tvstd ntsc -vcodec mpeg4 -b 2000 -acodec mp3 -ac 2 \ -ab 256 -r 29.97 -f avi TV.avi PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 657 sugiura 100 0 13092K 11588K RUN 1:47 36.77% 36.77% ffmpeg (3)% ffmpeg -r 29.97 -s 640x480 -ac 2 -ar 48000 -acodec pcm_s16le -vcodec \ rawvideo -tvstd ntsc TV.avi PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 685 sugiura 8 0 10064K 7216K nanslp 0:12 13.83% 13.62% ffmpeg ------------------------------------------------------------------------- I recorded TV like (3) , then I want to encode to MPEG4 using ffmpeg. But, I can't encode like following; ------------------------------------------------------------------------- % ffmpeg -t 30 -r 29.97 -s 640x480 -ac 2 -ar 48000 -acodec pcm_s16le \ -vcodec rawvideo -tvstd ntsc TV.avi % ls -al TV.avi -rw-r--r-- 1 sugiura users 420572266 Sep 8 00:15 TV.avi % ffmpeg -i TV.avi -b 2000 -vcodec mpeg4 -acodec mp3 -ac 2 -ab 128 TV2.avi Input #0, avi, from 'TV.avi': Duration: 00:00:30.0, bitrate: 112040 kb/s Stream #0.0: Video: rawvideo, yuv420p, 640x480, 29.97 fps Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Output #0, avi, to 'TV2.avi': Stream #0.0: Video: mpeg4, 640x480, 29.97 fps, q=2-31, 2000 kb/s Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 3 q=2.0 size= 776kB time=0.1 bitrate=63493.3kbits/s ----------------------------------^^^^^^^^------------------------------- Only 0.1 sec "time" ???? ------------------------------------------------------------------------- % ls -al TV2.avi -rw-r--r-- 1 ssugiura users 814516 Sep 8 00:15 TV2.avi ------------------------------------------------------------------------- TV2.avi file is too small, and I can't playback TV2.avi with mplayer. Is there any options to encode MPEG4? -- Sugiura Shiro E-mail : sugiura@kt.rim.or.jp From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 7 10:59:19 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 7F86E16A4BF for ; Sun, 7 Sep 2003 10:59:19 -0700 (PDT) Received: from akivas.pacific.net.sg (akivas.pacific.net.sg [203.120.90.214]) by mx1.FreeBSD.org (Postfix) with SMTP id BEBDC44008 for ; Sun, 7 Sep 2003 10:59:17 -0700 (PDT) (envelope-from vivek.puri@vsnl.com) Received: (qmail 23585 invoked from network); 7 Sep 2003 17:59:16 -0000 Received: from unknown (HELO maxwell2.pacific.net.sg) (203.120.90.192) by akivas with SMTP; 7 Sep 2003 17:59:15 -0000 Received: from vsnl.com ([210.24.250.36]) by maxwell2.pacific.net.sg with ESMTP id <20030907175915.NTZQ1185.maxwell2.pacific.net.sg@vsnl.com> for ; Mon, 8 Sep 2003 01:59:15 +0800 Message-ID: <3F5B7203.6060204@vsnl.com> Date: Mon, 08 Sep 2003 01:59:31 +0800 From: Vivek puri User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <20030905234017.GA525@dylan.home> In-Reply-To: <20030905234017.GA525@dylan.home> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: AC97 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: Sun, 07 Sep 2003 17:59:19 -0000 Hi, It seems there are lot of feature which are not exposed by the sound driver for AC97, mainly surround sound , SPDIF, etc. There seems no plan to port ALSA to freeBSD. Also it appears it will be difficult to support the AC97 feature by the sound driver as it is. I was wondering is there a possibility of exposing AC97 as a driver itself where its registers can be manipulated by ioctl calls ? vivek 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/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 8 16:58:56 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 0A1D716A4C0 for ; Mon, 8 Sep 2003 16:58:56 -0700 (PDT) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 1661B43FBF for ; Mon, 8 Sep 2003 16:58:55 -0700 (PDT) (envelope-from rick@kiwi-computer.com) Received: (qmail 4978 invoked by uid 2001); 8 Sep 2003 23:58:54 -0000 Date: Mon, 8 Sep 2003 18:58:54 -0500 From: "Rick C. Petty" To: Vulpes Velox Message-ID: <20030908235854.GA4952@megan.kiwi-computer.com> References: <20030830175856.GA50261@megan.kiwi-computer.com> <20030831151052.54793c3d.kitbsdlists@HotPOP.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030831151052.54793c3d.kitbsdlists@HotPOP.com> User-Agent: Mutt/1.4i cc: freebsd-multimedia@freebsd.org Subject: Re: READ_CD various errors while ripping 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 23:58:56 -0000 On Sun, Aug 31, 2003 at 03:10:52PM -0500, Vulpes Velox wrote: > I would suggest trying it in different drives I tried them in multiple drives: > > acd0: READ_CD - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x04 > > acd1: READ_CD - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00 > > acd2: READ_CD - HARDWARE ERROR asc=0x09 ascq=0x01 error=0x00 > > > > Just FYI: > > > > acd0: DVD-R at ata0-slave UDMA33 > > acd1: CD-RW at ata1-master UDMA33 > > acd2: DVD-ROM at ata1-slave > > UDMA66 > and then if you still get the > error it is most likely some type of copy protection of some type. It is most > unlikely that all three drives suck for ripping. That doesn't sound as likely either-- I had previously ripped the same discs in the same drive successfully a few months ago. Any other ideas? -- Rick C. Petty Senior Software Engineer, KIWI Computer --------------------------------------------------------------- rick@kiwi-computer.com http://www.kiwi-computer.com/ From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 12 13:56: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 3F75E16A4BF for ; Fri, 12 Sep 2003 13:56:32 -0700 (PDT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F2A43FBD for ; Fri, 12 Sep 2003 13:56:31 -0700 (PDT) (envelope-from olgeni@uli.it) Received: from olgeni.olgeni (212.171.8.169) by vsmtp1.tin.it (7.0.019) id 3F4F1DD40057FA7C for freebsd-multimedia@freebsd.org; Fri, 12 Sep 2003 22:56:29 +0200 Received: from localhost (localhost [127.0.0.1]) by olgeni.olgeni (8.12.9/8.12.9) with ESMTP id h8CKuOcD020357 for ; Fri, 12 Sep 2003 22:56:24 +0200 (CEST) (envelope-from olgeni@uli.it) Date: Fri, 12 Sep 2003 22:56:24 +0200 (CEST) From: Jimmy Olgeni X-X-Sender: olgeni@olgeni.olgeni To: freebsd-multimedia@freebsd.org Message-ID: <20030912225003.Q20222@olgeni.olgeni> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: DVB/ASI board driver 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: Fri, 12 Sep 2003 20:56:32 -0000 Hi there, Just wondering, is anybody working on a driver for this board? http://www.dektec.com/Products/DTA-140/DTA-140.htm -- jimmy