From owner-freebsd-multimedia Wed Jun 5 19: 9:28 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail-virtual.nc.rr.com (rdu26-231-240.nc.rr.com [66.26.231.240]) by hub.freebsd.org (Postfix) with ESMTP id 4F06437B401 for ; Wed, 5 Jun 2002 19:09:25 -0700 (PDT) Received: by mail-virtual.nc.rr.com (Postfix, from userid 26374) id CBB7E12BE18; Wed, 5 Jun 2002 22:11:15 -0400 (EDT) Date: Wed, 5 Jun 2002 22:11:15 -0400 From: Randall Hopper To: Jason Andresen Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Fxtv 1.04beta -- PLEASE TEST Message-ID: <20020606021115.GA2570@nc.rr.com> References: <20020601201816.A6118@nc.rr.com> <3CFE0ED5.501239BB@mitre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CFE0ED5.501239BB@mitre.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jason Andresen: |> BTW, the ffmpeg has a problem with the streaming to the encoder video FIFO |> (ffmpeg emits "Error while parsing header"), so anyone that knows about |> ffmpeg feel free to check it out and send me any patches. I take that back. Trying it again now, it works every time for me. It could have been I had something out of sync on my end. And the encoder does a great job too -- looks better than the default mpeg_encode output, and it's very fast too. |I have trouble getting the audio recording working. When I try to set |up an |ffmpeg record session I see the following messages on the console and |ffmpeg |aborts the record: | |stat for aud fifo... |sleep aud fifo ... Ok, well when this is going on, check that the FIFOs: /tmp/-fxtv-audfifo /tmp/-fxtv-vidfifo exist. Also, check that fxtv is in your process list (ps) when ffmpeg is emitting these errors. Capture to the FFMPEG Ready target, edit the script to change CLEANUP_TEMP_FILES to NO, and then you can rerun it to see what's going on easier. Under the hood, the capture script sources fxtv_cnvt.sh, which is where the "mkfifo" commands are executed to create the FIFOs just before they're passed to fxtv. fxtv is invoked running in the background to dump audio and video into the pipes, and ffmpeg is run in the foreground to read from those pipes and do the encoding. If you want to patch in some debug ls or ps commands, look at the do_ffmpeg_conversion() Bourne shell script function in /usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message