From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 6 22:10:57 2005 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 C4BF116A4CE for ; Sun, 6 Feb 2005 22:10:57 +0000 (GMT) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8C543D4C for ; Sun, 6 Feb 2005 22:10:57 +0000 (GMT) (envelope-from john@feith.com) Received: from jwlab.FEITH.COM (jwlab.FEITH.COM [192.251.93.16]) by feith1.FEITH.COM (8.12.10+Sun/8.12.9) with ESMTP id j16MArxe027420; Sun, 6 Feb 2005 17:10:53 -0500 (EST) Received: from jwlab.FEITH.COM (localhost [127.0.0.1]) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10) with ESMTP id j16MArLW017234; Sun, 6 Feb 2005 17:10:53 -0500 (EST) Received: (from john@localhost) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10/Submit) id j16MAn26017233; Sun, 6 Feb 2005 17:10:49 -0500 (EST) Date: Sun, 6 Feb 2005 17:10:49 -0500 (EST) From: John Wehle Message-Id: <200502062210.j16MAn26017233@jwlab.FEITH.COM> To: steven@403forbidden.net Content-Type: text X-Scanned-By: MIMEDefang 2.48 on 192.251.93.1 X-Archived: cashew.FEITH.COM cc: freebsd-multimedia@freebsd.org Subject: Re: Hardware recommendations for MythTV/FreeBSD 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, 06 Feb 2005 22:10:58 -0000 > /usr/local/bin/buffer < /dev/cxm0 > $1 & Using dd usually suffices for simple capturing, though in either case you'll probably want to use a larger buffer size (I believe the buffer program defaults to 10k). I use: dd if=/dev/cxm0 of=test.mpg bs=1m when making test captures. I don't suggest using buffer sizes smaller than 64k. -- John ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | ------------------------------------------------------------------------- From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 7 03:28:44 2005 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 4548416A4CE for ; Mon, 7 Feb 2005 03:28:44 +0000 (GMT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA3B943D1F for ; Mon, 7 Feb 2005 03:28:43 +0000 (GMT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.11/8.12.11) with ESMTP id j173Sfsx041119 for ; Sun, 6 Feb 2005 22:28:42 -0500 (EST) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.11/8.12.6/Submit) id j173Sf1M041118 for freebsd-multimedia@freebsd.org; Sun, 6 Feb 2005 22:28:41 -0500 (EST) (envelope-from paul) Date: Sun, 6 Feb 2005 22:28:41 -0500 From: Paul Chvostek To: freebsd-multimedia@freebsd.org Message-ID: <20050207032841.GA33816@it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: ffmpeg at half speed ... sort of. 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, 07 Feb 2005 03:28:44 -0000 This is weird. When I encode with ffmpeg, the resultant file appears to play back at about half the expected framerate, with the wrong bitrate. I encode with ffmpeg: encode$ ffmpeg -y -an -vd /dev/bktr0 -s 160-120 -tvstd ntsc \ -vcodec mpeg4 -b 50 -f avi -t 15 -r 29.97 test.avi And the resultant file appears to be right: encode$ file test.avi test.avi: RIFF (little-endian) data, AVI, 160 x 120, ~30 fps, video: DivX 4 And mplayer says: play$ mplayer test.avi 2>/dev/null | grep VIDEO VIDEO: [DIVX] 160x120 24bpp 29.970 fps 127.9 kbps (15.6 kbyte/s) Note the 127.9 kbps. That's at odds with ffmpeg's "-b 50". And the actual video that gets displayed seems to run in slow motion. Yet after playing a 15 second clip, mplayer shows: V: 15.0 450 1% 3% 0.0% 0 0 0% indicating 30fps. The video plays back in real time when I force the framerate to the ratio of 127.9 kbps to the 50 I specified: encode$ mplayer -fps 77 test.avi But that doesn't give me 15 seconds of video. Specs for the encoder and player are: encode$ uname -sr FreeBSD 5.3-STABLE encode$ dmesg | grep bktr0: bktr0: mem 0xee3fe000-0xee3fefff irq 21 at device 10.0 on pci1 bktr0: [GIANT-LOCKED] bktr0: Warning - card vendor 0x0000 (model 0x0000) unknown. bktr0: Detected a DPL34193 at 0x84 bktr0: Intel Smart Video III/VideoLogic Captivator PCI, dpl3518a dolby. play$ mplayer --version MPlayer 1.0pre5try2-3.4.2 (C) 2000-2004 MPlayer Team ... The card is an AVerMedia unit with no tuner or audio, despite what it claims. Mplayer doesn't have problems with anything else. Anybody know what the heck is going on here? Thanks. :) -- Paul Chvostek From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 7 05:41:38 2005 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 607ED16A4CE for ; Mon, 7 Feb 2005 05:41:38 +0000 (GMT) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91AA543D41 for ; Mon, 7 Feb 2005 05:41:37 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 97B3B4D8035; Mon, 7 Feb 2005 14:41:35 +0900 (JST) Date: Mon, 07 Feb 2005 14:41:35 +0900 (JST) Message-Id: <20050207.144135.343184916.kazuhito@ph.noda.tus.ac.jp> To: freebsd-misuser@NOSPAM.dyndns.dk, freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk From: Kazuhito HONDA In-Reply-To: <200502040227.j142Rnw4000784@Mail.NOSPAM.DynDNS.dK> References: <200502011815.j11IFWkB004113@Mail.NOSPAM.DynDNS.dK> <20050202.125013.343181897.kazuhito@ph.noda.tus.ac.jp> <200502040227.j142Rnw4000784@Mail.NOSPAM.DynDNS.dK> X-Mailer: Mew version 3.3 on XEmacs 21.5-b18 (chestnut) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org Subject: Re: Which USB-Soundcards work? 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, 07 Feb 2005 05:41:38 -0000 From: Barry Bouwsma Subject: Re: Which USB-Soundcards work? Date: Fri, 4 Feb 2005 03:27:49 +0100 (CET) > On Wed, 02 Feb 2005 12:50:13 +0900 (JST), Kazuhito HONDA wrote: > > > > play channel supported format list invalid > > > pcm1: chn_init(pcm1:play:0) failed: err = 19 > > > pcm1: pcm_chn_create(ua_chan, 1, 0xc19f4a80) failed > > > record channel supported format list invalid > > > pcm1: chn_init(pcm1:record:0) failed: err = 19 > > > pcm1: pcm_chn_create(ua_chan, -1, 0xc19f4a80) failed > > > These look like the same problem as below: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=246398+0+archive/2004/freebsd-usb/20041231.freebsd-usb > > So, the reason which you gave was not the real reason why it > did not work -- it seems to just need the multiple-endpoints > enabled, which appears to work for playback, and does not seem > to affect my other uaudio device negatively, though I have not > played too much with that. It could also be that I need to > apply that patch for other reasons, but playback works without > it, as opposed to not working at all. I understand that those have the same messages, but they must come from different reasons, because my problem was not resolved by enabled multiple-endpoints. > In addition, when I try to record anything, my program writes the > file header, and then nothing. It's not timing out waiting for data > as would be the case when I try to record from s/pdif input but no > source. I don't have NX, but one NetBSD developer Kent has it, and show me the complicated structure diagram which he analyzed. Now I look into it and NetBSD's `mixerctl' output, > record.sel14-i12i13i11=2 [ 1 2 3 ] NX was set to record a source from DIGITALAUIFC input (s/pdif, probably). If record.sel14-i12i13i11 is changed to 1, it may be able to record a source from Line in. > In order to unmute the audio, I tried and failed to tie that > mixerctl to a FreeBSD sysctl knob, Oh, I couldn't have that idea to use FreeBSD sysctl knob when my coding. It's a nice idea, and mixer system for USB audios should be. > There are a few dials and buttons on this Audigy 2 NX as well, but > unlike my other Big Knob soundcard, nothing appears as a uhid > device. My Sound Blaster Live! 24bit External has the same behaver. These dials and buttons may require a peculiar driver, because they can't use with the general USB audio driver of Windows 2000. And it has a hardware mute button,too. Though this can switch on mute, it can't switch off. So this mute may be able to be switched off only from OSs. Thanks, Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 7 10:04:13 2005 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 9A7D816A4DA for ; Mon, 7 Feb 2005 10:04:13 +0000 (GMT) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4971243D41 for ; Mon, 7 Feb 2005 10:04:13 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 54086 invoked by uid 16563); 7 Feb 2005 10:04:12 -0000 Received: from unknown (HELO SOHARA) ([217.12.14.195]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 7 Feb 2005 10:04:12 -0000 Date: Mon, 7 Feb 2005 10:05:21 +0000 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20050207100521.544ed9bc.steve@sohara.org> In-Reply-To: <20050207032841.GA33816@it.ca> References: <20050207032841.GA33816@it.ca> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.1; i586-pc-interix3) 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 Subject: Re: ffmpeg at half speed ... sort of. 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, 07 Feb 2005 10:04:13 -0000 On Sun, 6 Feb 2005 22:28:41 -0500 Paul Chvostek wrote: > > This is weird. When I encode with ffmpeg, the resultant file appears to > play back at about half the expected framerate, with the wrong bitrate. > > I encode with ffmpeg: > > encode$ ffmpeg -y -an -vd /dev/bktr0 -s 160-120 -tvstd ntsc \ > -vcodec mpeg4 -b 50 -f avi -t 15 -r 29.97 test.avi -b 50 is a video bandwidth of 50 Kbit/s which is rather low, try leaving it out (to get the default 200 Kbit/s) or setting it higher. It may well be that ffmpeg isn't achieving as much compression as you had been hoping for. Also what sort of CPU are you using ? -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 7 23:56:59 2005 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 10D9316A4CF for ; Mon, 7 Feb 2005 23:56:59 +0000 (GMT) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876B743D2D for ; Mon, 7 Feb 2005 23:56:57 +0000 (GMT) (envelope-from ola.theander@otsystem.com) Received: from c0003 ([82.182.185.144] [82.182.185.144]) by mxfep01.bredband.com with ESMTP id <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> for ; Tue, 8 Feb 2005 00:56:56 +0100 From: "Ola Theander" To: Date: Tue, 8 Feb 2005 00:56:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUNcLOEYRpgclLLR+ytI1tOQZCJQQ== Message-Id: <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> Subject: Help: Tips for building a video capture device? 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, 07 Feb 2005 23:56:59 -0000 Dear subscribers I'm trying to help a customer to build a station for documentation using video recording. My customer's business involves inspecting buildings using fibre optics. For this purpose he as constructed a suitcase like station using a DVD-HD recorder found in most retail stores, a flat TV screen etc. However, this station is very heavy and clumsy so I figure that I try and help him to create something more suitable. My idea is to use one of these ITX-motherboards to build a video capture computer with a simple touch screen interface but I haven't managed to find a motherboard that supports video-in as well as it's able to run FreeBSD or Linux. If it's possible I would try to avoid expansion video capture cards since I want to keep the package as small and as cheap as possible, since if this idea works it will be manufactured in a substantial number of units. So if anyone know of a motherboard that meet these requirements, please give me a hint. This construction is a first draft idea so if any of you hackers out there have some alternative idea how this can be done I'll be glad to hear. Any help would be greatly appreciated. Kind regards, Ola Theander From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 8 01:07:54 2005 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 D66F516A4CE for ; Tue, 8 Feb 2005 01:07:54 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0720D43D3F for ; Tue, 8 Feb 2005 01:07:54 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 546F77A423; Mon, 7 Feb 2005 17:07:53 -0800 (PST) Message-ID: <420810E9.9020302@elischer.org> Date: Mon, 07 Feb 2005 17:07:53 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Ola Theander References: <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> In-Reply-To: <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org Subject: Re: Help: Tips for building a video capture device? 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, 08 Feb 2005 01:07:54 -0000 Ola Theander wrote: >Dear subscribers > >I'm trying to help a customer to build a station for documentation using >video recording. My customer's business involves inspecting buildings using >fibre optics. For this purpose he as constructed a suitcase like station >using a DVD-HD recorder found in most retail stores, a flat TV screen etc. >However, this station is very heavy and clumsy so I figure that I try and >help him to create something more suitable. > >My idea is to use one of these ITX-motherboards to build a video capture >computer with a simple touch screen interface but I haven't managed to find >a motherboard that supports video-in as well as it's able to run FreeBSD or >Linux. If >it's possible I would try to avoid expansion video capture cards since I >want to keep the package as small and as cheap as possible, since if this >idea works it will be manufactured in a substantial number of units. So if >anyone know of a motherboard that meet these requirements, please give me a >hint. > >This construction is a first draft idea so if any of you hackers out there >have some alternative idea how this can be done I'll be glad to hear. > have you considerred a DV camcoder and a laptop with a firewire interface? for example an apple ibook, with a 300GB firewire external disk and a small sony DV camcorder would do all that is required.. (A freebsd/Linux version may take a bit more work but would probaby work as well). > >Any help would be greatly appreciated. > >Kind regards, Ola Theander > >_______________________________________________ >freebsd-multimedia@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > > From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 9 18:03:37 2005 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 E70B716A4CE for ; Wed, 9 Feb 2005 18:03:37 +0000 (GMT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B3C543D2F for ; Wed, 9 Feb 2005 18:03:37 +0000 (GMT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.11/8.12.11) with ESMTP id j19I3aKZ000607 for ; Wed, 9 Feb 2005 13:03:36 -0500 (EST) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.11/8.12.6/Submit) id j19I3a4M000606 for freebsd-multimedia@freebsd.org; Wed, 9 Feb 2005 13:03:36 -0500 (EST) (envelope-from paul) Date: Wed, 9 Feb 2005 13:03:36 -0500 From: Paul Chvostek To: freebsd-multimedia@freebsd.org Message-ID: <20050209180336.GA28606@it.ca> References: <20050207032841.GA33816@it.ca> <20050207100521.544ed9bc.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050207100521.544ed9bc.steve@sohara.org> User-Agent: Mutt/1.4.2.1i Subject: Re: ffmpeg at half speed ... sort of. 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: Wed, 09 Feb 2005 18:03:38 -0000 On Mon, Feb 07, 2005 at 10:05:21AM +0000, Steve O'Hara-Smith wrote: > Paul Chvostek wrote: > > > > This is weird. When I encode with ffmpeg, the resultant file appears to > > play back at about half the expected framerate, with the wrong bitrate. > > > > I encode with ffmpeg: > > > > encode$ ffmpeg -y -an -vd /dev/bktr0 -s 160-120 -tvstd ntsc \ > > -vcodec mpeg4 -b 50 -f avi -t 15 -r 29.97 test.avi > > -b 50 is a video bandwidth of 50 Kbit/s which is rather low, try > leaving it out (to get the default 200 Kbit/s) or setting it higher. It > may well be that ffmpeg isn't achieving as much compression as you had > been hoping for. Yeah, the -b 50 was just for testing. It's not too bad at 160x120. But I get the same behaviour (slow framerate, crawling playback) that I see at higher bitrates as well. > Also what sort of CPU are you using ? % grep CPU: /var/run/dmesg.boot CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU) Thanks. -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 9 18:20:45 2005 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 81CE116A4CE for ; Wed, 9 Feb 2005 18:20:45 +0000 (GMT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2765843D3F for ; Wed, 9 Feb 2005 18:20:45 +0000 (GMT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.11/8.12.11) with ESMTP id j19IKij5004962; Wed, 9 Feb 2005 13:20:44 -0500 (EST) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.11/8.12.6/Submit) id j19IKh2d004961; Wed, 9 Feb 2005 13:20:43 -0500 (EST) (envelope-from paul) Date: Wed, 9 Feb 2005 13:20:43 -0500 From: Paul Chvostek To: Ola Theander Message-ID: <20050209182043.GB28606@it.ca> References: <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050207235656.TOYU23903.mxfep01.bredband.com@c0003> User-Agent: Mutt/1.4.2.1i cc: freebsd-multimedia@freebsd.org Subject: Re: Help: Tips for building a video capture device? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-multimedia@freebsd.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 18:20:45 -0000 On Tue, Feb 08, 2005 at 12:56:55AM +0100, Ola Theander wrote: > > My idea is to use one of these ITX-motherboards to build a video capture > computer with a simple touch screen interface but I haven't managed to find > a motherboard that supports video-in as well as it's able to run FreeBSD or ... > This construction is a first draft idea so if any of you hackers out there > have some alternative idea how this can be done I'll be glad to hear. I too think that a firewire interface connected to a DV-capable camcorder would be a reasonable alternative. ffmpeg has good support for DV; you could easily transcode into something more compact for storage, and give the user options for managing the tradeoff between quality and duration. If not with a laptop, you could almost certainly find motherboards with firewire interfaces onboard. Google has lots more suggestions: http://www.google.com/search?q=itx+motherboard+1394 If you really really need composite in, I'm sure Google can advise on that too. I see some at http://www.lex.com.tw/, but their site insane, and gives my browser cringe. YMMV. -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 10 09:56:01 2005 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 01A7916A4CF for ; Thu, 10 Feb 2005 09:56:01 +0000 (GMT) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA8F43D49 for ; Thu, 10 Feb 2005 09:56:00 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 79782 invoked by uid 16563); 10 Feb 2005 09:56:00 -0000 Received: from unknown (HELO SOHARA) ([217.12.14.195]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 10 Feb 2005 09:56:00 -0000 Date: Thu, 10 Feb 2005 09:57:13 +0000 From: Steve O'Hara-Smith To: Paul Chvostek Message-Id: <20050210095713.3b155ce6.steve@sohara.org> In-Reply-To: <20050209180336.GA28606@it.ca> References: <20050207032841.GA33816@it.ca> <20050207100521.544ed9bc.steve@sohara.org> <20050209180336.GA28606@it.ca> X-Mailer: Sylpheed version 1.9.2 (GTK+ 2.4.1; i586-pc-interix3) 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: ffmpeg at half speed ... sort of. 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: Thu, 10 Feb 2005 09:56:01 -0000 On Wed, 9 Feb 2005 13:03:36 -0500 Paul Chvostek wrote: > Yeah, the -b 50 was just for testing. It's not too bad at 160x120. But > I get the same behaviour (slow framerate, crawling playback) that I see > at higher bitrates as well. OK that lets out bandwidth limitation problems ... > % grep CPU: /var/run/dmesg.boot > CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU) ... and CPU limitation problems - an AMD XP2000 can handle 720x675 50Hz PAL encoding without problems so you have plenty of CPU. That leaves grab rate problems I think - the grab code uses a usleep that should get interrupted by the sync signal from the bktr driver. If it doesn't it is set to sleep 1/8 of a frame too long and then grab the frame and complain (SLEPT NO signals - microseconds late). When the packet is grabbed it is given a timestamp using the ffmpeg library routine avgettime. If this is misbehaving it points to problems with low level timekeeping, which is not too uncommon (see endless threads about microuptime going backwards). So to check for that ... Do you get any of the SLEPT ... messages ? Does fiddling with sysctl kern.timecounter.method help ? Does turning off ACPI (if it's on) help ? -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 11 05:58:38 2005 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 E06C316A4CE for ; Fri, 11 Feb 2005 05:58:38 +0000 (GMT) Received: from freckleface.aedifice.net (adsl-209-233-30-172.dsl.snfc21.pacbell.net [209.233.30.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2114843D1F for ; Fri, 11 Feb 2005 05:58:38 +0000 (GMT) (envelope-from myers@aedifice.net) Received: from [10.0.0.20] (dmz2 [192.168.1.2])j1B5o8f19308 for ; Thu, 10 Feb 2005 21:50:13 -0800 (PST) Message-ID: <420C4987.3080306@aedifice.net> Date: Thu, 10 Feb 2005 21:58:31 -0800 From: "David C. Myers" User-Agent: Mozilla Thunderbird 1.0 (X11/20050105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: pvr250: intermittent corrupt captures 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, 11 Feb 2005 05:58:39 -0000 Every so often, my PVR-250 (using the most recent cxm driver) will generate a corrupt capture. From that point on, every successive capture will also be corrupt. Sometimes, the system log will show a message cxm0: encoder dma status 0xb (although this seems to appear during the second corrupt capture, not the first). The correlation between this message and the corrupt captures is not perfect -- sometimes, there is no message at all. Interestingly, it takes a full reboot of the box to restore the card to proper operation. A simple 'kldunload cxm' followed by 'kldload cxm' doesn't work. After a reboot, it seems to go a couple of days before the problem crops up again. Any ideas on this? I'm running 5.3; kernel built about a week ago. I'm trying to capture from over-the-air broadcasts. -David. From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 11 08:41:24 2005 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 319A016A4CE for ; Fri, 11 Feb 2005 08:41:24 +0000 (GMT) Received: from thor.piquan.org (adsl-66-125-235-59.dsl.sntc01.pacbell.net [66.125.235.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70B3B43D1D for ; Fri, 11 Feb 2005 08:41:23 +0000 (GMT) (envelope-from joelh@piquan.org) Received: from [192.168.13.12] (idun.pvt.piquan.org [192.168.13.12]) (authenticated bits=0) by thor.piquan.org (8.12.10/8.12.10) with ESMTP id j1B8fGG8079914 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 11 Feb 2005 00:41:17 -0800 (PST) (envelope-from joelh@piquan.org) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1c5fbb482dc09ff619a1d2865da8a225@piquan.org> Content-Transfer-Encoding: 7bit From: Joel Ray Holveck Date: Fri, 11 Feb 2005 00:41:11 -0800 To: freebsd-multimedia@freebsd.org X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: ClamAV 0.80/652/Wed Jan 5 08:31:06 2005 clamav-milter version 0.80j on thor.piquan.org X-Virus-Status: Clean Subject: Is it MIDI yet? 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, 11 Feb 2005 08:41:24 -0000 I've been holding off on going to 5.3 because the MIDI driver evaporated. I'm getting a bit tired of waiting. I know that nobody owes me anything when it comes to FreeBSD, but you can understand that I'm a bit frustrated. What happened to the new framework? Why was the old framework removed? Should it be re-added, until the new one is finished? Cheers, joelh From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 11 14:35:21 2005 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 F285916A4D0 for ; Fri, 11 Feb 2005 14:35:20 +0000 (GMT) Received: from deluge.cc.mcgill.ca (deluge.CC.McGill.CA [132.206.27.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6618243D4C for ; Fri, 11 Feb 2005 14:35:20 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan1.cc.mcgill.ca (mailscan1.CC.McGill.CA [132.216.77.248]) by deluge.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j1BEZFwc007302; Fri, 11 Feb 2005 09:35:19 -0500 (EST) Received: from cube.cnd.mcgill.ca (cube.cnd.mcgill.ca [132.216.11.165]) j1BEZ0pr019431; Fri, 11 Feb 2005 09:35:00 -0500 (EST) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j1BEZ0XW015685; Fri, 11 Feb 2005 09:35:00 -0500 Received: from localhost.localdomain (acid [127.0.0.1]) j1BEZ0ER005356; Fri, 11 Feb 2005 09:35:00 -0500 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j1BEYwQS005355; Fri, 11 Feb 2005 09:34:58 -0500 Date: Fri, 11 Feb 2005 09:34:58 -0500 From: Mathew Kanner To: Joel Ray Holveck Message-ID: <20050211143458.GA4247@cnd.mcgill.ca> References: <1c5fbb482dc09ff619a1d2865da8a225@piquan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1c5fbb482dc09ff619a1d2865da8a225@piquan.org> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA cc: freebsd-multimedia@freebsd.org Subject: Re: Is it MIDI yet? 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, 11 Feb 2005 14:35:21 -0000 On Feb 11, Joel Ray Holveck wrote: > I've been holding off on going to 5.3 because the MIDI driver > evaporated. I'm getting a bit tired of waiting. I know that nobody > owes me anything when it comes to FreeBSD, but you can understand that > I'm a bit frustrated. > > What happened to the new framework? Why was the old framework removed? > Should it be re-added, until the new one is finished? I'm the guy working on Midi and I just got back to it. My available time fluctuates, and I've been busy, sick, etc, etc. Anyway, previosuly, the MIDI that was removed did not with any cards (that I know of) other than CSA. So I don't think there is any point in being frustrated with its removal. Also, I've posted a few times to the list a replacement that you can test if you have either a soundblaster live or a es137x. Present problems including broken sound recording and no-AMD64. I plan to have a cross-compilable version available this weekend. --Mat --