From owner-freebsd-multimedia@FreeBSD.ORG Tue May 10 19:45:56 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 6B9A416A4D0 for ; Tue, 10 May 2005 19:45:56 +0000 (GMT) Received: from postino-2.etat.lu (postino-2.etat.lu [194.154.205.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A6AE43D7D for ; Tue, 10 May 2005 19:45:55 +0000 (GMT) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by postino-2.etat.lu (Postfix) with ESMTP id E7921114AEB8 for ; Tue, 10 May 2005 21:45:53 +0200 (CEST) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by localhost (CIE ESMTP Dispatch 1) with ESMTP id E211523C8B for ; Tue, 10 May 2005 21:45:53 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) D0EDF23C84 for ; Tue, 10 May 2005 21:45:53 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IGA00E75HKHDTE0@store.etat.lu> for freebsd-multimedia@freebsd.org; Tue, 10 May 2005 21:45:53 +0200 (MEST) Received: from etat.lu ([148.110.136.56]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IGA006XCHKHFO80@store.etat.lu> for freebsd-multimedia@freebsd.org; Tue, 10 May 2005 21:45:53 +0200 (MEST) Received: from [192.168.2.43] (Forwarded-For: [158.64.124.161]) by store.etat.lu (mshttpd); Tue, 10 May 2005 21:45:53 +0200 Date: Tue, 10 May 2005 21:45:53 +0200 From: Didier Wiroth To: freebsd-multimedia@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.05 (built Oct 21 2004) Content-type: text/plain; charset=us-ascii Content-language: fr Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: fr Priority: normal Subject: pvr350, cache problems and live tv how to do it best 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, 10 May 2005 19:45:56 -0000 Hello, I've installed latest pvr port. I'm using a pvr350 on freebsd5.4-stable: cxm0: mem 0xe8000000-0xebffffff irq 18 at device 10.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only cxm0: LG Innotek TPI8PSB01N tuner cxm0: SAA7115 rev 1 video decoder cxm0: MSP4418G-A2 audio decoder cxm0: IR Remote cxm0: encoder firmware version 0x2050032 cxm0: decoder firmware version 0x2020023 Pciconf gives this: cxm0@pci0:10:0: class=0x040000 card=0x40000070 chip=0x08034444 rev=0x01 hdr=0x00 vendor = 'Conexant Inc (Was: Globespan, ICompression Inc)' device = 'iTVC15/CX23415 MPEG Codec' class = multimedia subclass = video The sound stops after some while, from previous posts I discovered how to get sound back. By combining different solutions I get the sound back and my tv is now sluggish: Here is the command I'm running: buffer -s 8125 < /dev/cxm0 | mplayer -cache 8125 - Unfortunately I still get lots and lots of "cxm0: encoder dma not enough buffer space free" output on the terminal when "I stop mplayer". I need to reboot the workstation to stop the messages. Regarding watching live tv, what is the most comfortable way to do it. For now I do the following: 1) pvr250-setchannel my_channel_mhz 2) start mplayer: buffer -s 8125 < /dev/cxm0 | mplayer -cache 8125 - 3) stop mplayer 4) change channel with pvr250-setchannel... 5) restart mplayer: buffer -s... 6) etc.... Is there some better way to do this? Which program are you using for watching live tv on freebsd5.4 with the pvr350? Many thanks Didier