From owner-freebsd-multimedia@FreeBSD.ORG Sun Oct 5 14:11:13 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 EF9BA16A4B3 for ; Sun, 5 Oct 2003 14:11:12 -0700 (PDT) Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CD4443FE9 for ; Sun, 5 Oct 2003 14:11:11 -0700 (PDT) (envelope-from chris@Shenton.Org) Received: (qmail 65317 invoked by uid 1001); 5 Oct 2003 21:14:27 -0000 To: freebsd-multimedia@freebsd.org From: Chris Shenton Date: Sun, 05 Oct 2003 17:14:27 -0400 Message-ID: <86ad8fv13g.fsf@PECTOPAH.shenton.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nuppelvideo "nuvrec", mplayer: no audio on 5.1-CURRENT? 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, 05 Oct 2003 21:11:13 -0000 Running FreeBSD-5.1-CURRENT. Just built fxtv, nuppelvideo, mplayer from ports cvsupped last night. I'm pretty new to multimedia on FreeBSD but have been trying to get a simple cron-based PVR thing going. I've got an tuner card: bktr0: mem 0xde003000-0xde003fff irq 10 at device 20.0 on pci0 bktr0: Hauppauge Model 56131 E bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, dbx stereo. and "fxtv" is working ok with this. It's output is wired into my EPIA mobo's soundcard input and fxtv audio appears in "xmix" as "Line". So far so good. To grab something off air, I use fxtv to set the channel then quit. I then run NuppelVideo's "nuvrec -t 1 outputfilename" to record a minute of video; no video or audio appears when I do this. This mostly works and can be seen if I play it back through "mplayer -vo xv outputfilename". Unfortunately, there's no audio. mplayer diagnostic shows it finds audio, but it's not clear whether it's simply not playing correctly or if nuvrec recorded a minute of silence. On a whim I ran nuvrec under sudo. When this ran, I hear audio coming from the sound card speakers -- different than when I ran as me. When I played the file (as non-root) it played the audio just fine. So it appears I have to be root to grab audio with nuvrec, does this make sense? Why? Fxtv doesn't need it... Subsequent attempts to capture and such sometimes give me trashed video upon playback (looks like wrong freq) even if the audio's fine. Other times cause mplayer to crash. Can anyone clue me in to what I might be doing wrong (e.g., does nuvrec really need to be run as root?). Do you have other multimedia apps you prefer for this simple task? Again, I'm mostly looking for a command-line thing I can invoke from cron to record a couple shows. Thanks.