From owner-freebsd-multimedia  Sun Aug 20  4:22:24 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from freebsd.dk (freebsd.dk [212.242.42.178])
	by hub.freebsd.org (Postfix) with ESMTP id D270237B422
	for <multimedia@FreeBSD.org>; Sun, 20 Aug 2000 04:22:22 -0700 (PDT)
Received: (from sos@localhost)
	by freebsd.dk (8.9.3/8.9.1) id MAA96817;
	Sun, 20 Aug 2000 12:44:46 +0200 (CEST)
	(envelope-from sos)
From: Soren Schmidt <sos@freebsd.dk>
Message-Id: <200008201044.MAA96817@freebsd.dk>
Subject: Re: Video CDs?
In-Reply-To: <14751.29074.398741.806373@guru.mired.org> from Mike Meyer at "Aug 20, 2000 00:50:10 am"
To: mwm@mired.org (Mike Meyer)
Date: Sun, 20 Aug 2000 12:44:46 +0200 (CEST)
Cc: multimedia@FreeBSD.org
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

It seems Mike Meyer wrote:
> Anyone got any pointers on the format - or tools to produce - CDs in
> the Video CD format?

I'd like to know that too, the format that is, I need that for burncd :)

-Søren


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20  9:30:19 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from kaon.intercom.com (kaon.intercom.com [198.143.3.30])
	by hub.freebsd.org (Postfix) with ESMTP id C715437B43C
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 09:30:17 -0700 (PDT)
Received: from [198.143.3.26] (helo=intercom.com)
	by kaon.intercom.com with esmtp (Exim 3.16 #1)
	id 13QXxf-000NTn-00; Sun, 20 Aug 2000 12:28:39 -0400
Date: Sun, 20 Aug 2000 12:28:39 -0400 (EDT)
From: "Jason J. Horton" <jason@intercom.com>
X-Sender: mail@kaon.intercom.com
To: Soren Schmidt <sos@freebsd.dk>
Cc: Mike Meyer <mwm@mired.org>, multimedia@FreeBSD.org
Subject: Re: Video CDs?
In-Reply-To: <200008201044.MAA96817@freebsd.dk>
Message-ID: <Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > Anyone got any pointers on the format - or tools to produce - CDs in
> > the Video CD format?
> 
> I'd like to know that too, the format that is, I need that for burncd :)

http://www.hvrlab.dhs.org/~hvr/vcdimager/
A tool for making VCD images that you can burn using cdrdao.
You need to install /usr/ports/devel/popt and /usr/ports/devel/glib12
(run "ln -s /usr/local/bin/glib12-config /usr/local/bin/glib-config"
so the ./configure script can find our glib) to get it to compile under
-STABLE and -CURRENT....

http://www.munich-vision.de/vcd/
Will compile under FreeBSD, but forgot if I had to tweak anything.
Havent burned an image made by these programs yet.

http://www.nocrew.org/software/vcdpad/index.html
a tool for padding frames to the appropriate length for vcdimager and
mkvcdfs. Very basic tool, no tweaks to get it to compile.

http://www.vcdgear.com/
a much more advanced tool for converting VCD stuff, has a lot of nice
features so its useful for more than just padding frames. Has
a native FreeBSD binary for vcdgear 1.5 (version 2.0 is windows
only at this point), doesnt look like they distribute source.

I have burned a few test VCDs made by vcdimager and am having trouble
getting my standalone Sony DVD player recognizing the VCDs (the author
says my DVD player may not like the CD-R media I am using) but they
work with SimpleVCD for MacOS ($10 shareware) and CyberLink PowerVCD
for Windows. Other people claim success with other players.

Also, vcdimager is fussy about the MPEG format you use as source
for the VCD tracks. The only format that I got to play cleanly was:
        Video 352x288 resolution
        Audio MPEG-1 Layer 2 48kbit/s 44100Hz mono

Your milage may vary on all this, I have only been working with this for a
few days. I cant wait to get my fxtv mpeg capture problems solved so I can
make some nice VCDs....

	-J



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 15: 0: 5 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from guru.mired.org (zoom2-005.telepath.com [216.14.2.5])
	by hub.freebsd.org (Postfix) with SMTP id 6E71637B422
	for <multimedia@FreeBSD.ORG>; Sun, 20 Aug 2000 15:00:02 -0700 (PDT)
Received: (qmail 5952 invoked by uid 100); 20 Aug 2000 21:59:24 -0000
From: Mike Meyer <mwm@mired.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14752.21692.850853.378074@guru.mired.org>
Date: Sun, 20 Aug 2000 16:59:24 -0500 (CDT)
To: "Jason J. Horton" <jason@intercom.com>
Cc: Soren Schmidt <sos@freebsd.dk>, multimedia@FreeBSD.ORG
Subject: Re: Video CDs?
In-Reply-To: <Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com>
References: <200008201044.MAA96817@freebsd.dk>
	<Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Jason J. Horton writes:
> > > Anyone got any pointers on the format - or tools to produce - CDs in
> > > the Video CD format?
> > I'd like to know that too, the format that is, I need that for burncd :)
> http://www.hvrlab.dhs.org/~hvr/vcdimager/
> A tool for making VCD images that you can burn using cdrdao.

Ok, what's cdrdao? In particular, is it a tool or a format?  Having a
SCSI CDRW, I'm sort of restricted to cdrecord - will that work.

> Also, vcdimager is fussy about the MPEG format you use as source
> for the VCD tracks. The only format that I got to play cleanly was:
>         Video 352x288 resolution
>         Audio MPEG-1 Layer 2 48kbit/s 44100Hz mono

Is it possible that 

> Your milage may vary on all this, I have only been working with this for a
> few days. I cant wait to get my fxtv mpeg capture problems solved so I can
> make some nice VCDs....

Were you the person having audio capture problems? I always wound up
having to tweak something to get audio to save properly (of course,
when I went to 4.0 audio capture quit working for everything :-(.

I'll certainly be trying to play with this stuff in the near
future.

	Thanx!
	<mike




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 15: 6:25 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21])
	by hub.freebsd.org (Postfix) with ESMTP id 14A3B37B424
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 15:06:23 -0700 (PDT)
Received: from [212.238.54.101] (helo=freebie.demon.nl)
	by post.mail.nl.demon.net with smtp (Exim 3.14 #4)
	id 13QdEU-000ESt-00; Sun, 20 Aug 2000 22:06:22 +0000
Received: (from wkb@localhost)
	by freebie.demon.nl (8.9.3/8.9.3) id AAA04657;
	Mon, 21 Aug 2000 00:06:25 +0200 (CEST)
	(envelope-from wkb)
Date: Mon, 21 Aug 2000 00:06:25 +0200
From: Wilko Bulte <wkb@freebie.demon.nl>
To: Mike Meyer <mwm@mired.org>
Cc: "Jason J. Horton" <jason@intercom.com>,
	Soren Schmidt <sos@freebsd.dk>, multimedia@freebsd.org
Subject: Re: Video CDs?
Message-ID: <20000821000625.E4452@freebie.demon.nl>
References: <200008201044.MAA96817@freebsd.dk> <Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com> <14752.21692.850853.378074@guru.mired.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <14752.21692.850853.378074@guru.mired.org>; from mwm@mired.org on Sun, Aug 20, 2000 at 04:59:24PM -0500
X-OS: FreeBSD 4.1-STABLE
X-PGP: finger wilko@freebsd.org
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Sun, Aug 20, 2000 at 04:59:24PM -0500, Mike Meyer wrote:
> Jason J. Horton writes:
> > > > Anyone got any pointers on the format - or tools to produce - CDs in
> > > > the Video CD format?
> > > I'd like to know that too, the format that is, I need that for burncd :)
> > http://www.hvrlab.dhs.org/~hvr/vcdimager/
> > A tool for making VCD images that you can burn using cdrdao.
> 
> Ok, what's cdrdao? In particular, is it a tool or a format?  Having a

/usr/ports/audio/cdrdao

-- 
Wilko Bulte  	 					wilko@freebsd.org
							Arnhem, the Netherlands


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 15:41:49 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from guru.mired.org (zoom0-023.telepath.com [216.14.0.23])
	by hub.freebsd.org (Postfix) with SMTP id CDE7D37B423
	for <multimedia@FreeBSD.ORG>; Sun, 20 Aug 2000 15:41:46 -0700 (PDT)
Received: (qmail 6901 invoked by uid 100); 20 Aug 2000 22:41:44 -0000
From: Mike Meyer <mwm@mired.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14752.24232.440357.678146@guru.mired.org>
Date: Sun, 20 Aug 2000 17:41:44 -0500 (CDT)
To: "Jason J. Horton" <jason@intercom.com>
Cc: Soren Schmidt <sos@freebsd.dk>, multimedia@FreeBSD.ORG
Subject: Re: Video CDs?
In-Reply-To: <Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com>
References: <200008201044.MAA96817@freebsd.dk>
	<Pine.BSF.4.21.0008201209470.41445-100000@kaon.intercom.com>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Jason J. Horton writes:
> http://www.vcdgear.com/
> a much more advanced tool for converting VCD stuff, has a lot of nice
> features so its useful for more than just padding frames. Has
> a native FreeBSD binary for vcdgear 1.5 (version 2.0 is windows
> only at this point), doesnt look like they distribute source.

By the way, looks like that's in /usr/ports/graphics/vcdgear now.

	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 15:48:44 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74])
	by hub.freebsd.org (Postfix) with ESMTP id 9D80037B422
	for <freebsd-multimedia@FreeBSD.ORG>; Sun, 20 Aug 2000 15:48:42 -0700 (PDT)
Received: (from conrads@localhost)
	by cx344940-a.meta1.la.home.com (8.9.3/8.9.3) id RAA95861;
	Sun, 20 Aug 2000 17:48:36 -0500 (CDT)
	(envelope-from conrads)
Message-ID: <XFMail.000820174836.conrads@home.com>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.BSF.4.21.0008101259460.255-100000@moritz.alleswirdgelber>
Date: Sun, 20 Aug 2000 17:48:36 -0500 (CDT)
Reply-To: conrads@home.com
Organization: @Home Network
From: Conrad Sabatier <conrads@home.com>
To: Heiko Recktenwald <uzs106@ibm.rhrz.uni-bonn.de>
Subject: Re: netscape plugins
Cc: freebsd-multimedia@FreeBSD.ORG,
	kuku@gilberto.physik.rwth-aachen.de,
	Marc van Woerkom <marc.vanwoerkom@science-factory.com>
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


On 10-Aug-00 Heiko Recktenwald wrote:
> Think one of our dear and noble listmembers is playing with something that
> is called xswallow, as far as I know it allows using linux plugins with
> the nativ netscape. Maybe its allready in the ports.
> 
> H. 

Yes, my port of XSwallow (/usr/ports/www/xswallow) was recently committed to
the ports collection.  Works quite well with the native FreeBSD versions of
Netscape.

Basically, it's a plugin that allows you to use any external multimedia apps
you like for handling various mime types.  The configured apps are "swallowed"
into whatever page you're viewing (pretty cool, in some cases; for example, 
with mtv/xanim/etc. the window actually appears within the web page you're
viewing).

Ease of configuration could definitely stand some improvement (you have to
manually edit an xswallow.conf file in your ~/.netscape directory), but it
*does* get the job done.  There are also lots of docs and test pages available
at the program's home site.  See the Makefile and/or README.html file for more
details.

-- 
Conrad Sabatier
http://members.home.net/conrads/
ICQ# 1147270


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 15:50:57 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from kaon.intercom.com (kaon.intercom.com [198.143.3.30])
	by hub.freebsd.org (Postfix) with ESMTP id 01B4A37B43C
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 15:50:56 -0700 (PDT)
Received: from [198.143.3.26] (helo=intercom.com)
	by kaon.intercom.com with esmtp (Exim 3.16 #1)
	id 13QduM-0000ub-00; Sun, 20 Aug 2000 18:49:38 -0400
Date: Sun, 20 Aug 2000 18:49:38 -0400 (EDT)
From: "Jason J. Horton" <jason@intercom.com>
X-Sender: mail@kaon.intercom.com
To: Mike Meyer <mwm@mired.org>
Cc: Soren Schmidt <sos@freebsd.dk>, multimedia@FreeBSD.ORG
Subject: Re: Video CDs?
In-Reply-To: <14752.21692.850853.378074@guru.mired.org>
Message-ID: <Pine.BSF.4.21.0008201847100.41445-100000@kaon.intercom.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Ok, what's cdrdao? In particular, is it a tool or a format?  Having a
> SCSI CDRW, I'm sort of restricted to cdrecord - will that work.

cdrdao is another burning application, works with SCSI CD-Rs
Its usually used to burn Disk At Once type CDs...

> > Also, vcdimager is fussy about the MPEG format you use as source
> > for the VCD tracks. The only format that I got to play cleanly was:
> >         Video 352x288 resolution
> >         Audio MPEG-1 Layer 2 48kbit/s 44100Hz mono
> 
> Is it possible that 

???

> Were you the person having audio capture problems? I always wound up
> having to tweak something to get audio to save properly (of course,
> when I went to 4.0 audio capture quit working for everything :-(.

Yeah, still having problems, but havent had a chance to try what
people suggested late last week.

Does anyone know if recording from an SB Live! is supported yet?

	-J



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 21:17:13 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170])
	by hub.freebsd.org (Postfix) with ESMTP id 4576437B424
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 21:17:10 -0700 (PDT)
Received: from whale.home-net (whale [192.168.1.2])
	by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id VAA79398
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 21:17:09 -0700 (MST)
	(envelope-from jjreynold@home.com)
Received: (from jjreynold@localhost)
	by whale.home-net (8.9.3/8.9.3) id VAA30352;
	Sun, 20 Aug 2000 21:17:09 -0700 (MST)
	(envelope-from jjreynold@home.com)
From: John Reynolds <jjreynold@home.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14752.44357.141402.473432@whale.home-net>
Date: Sun, 20 Aug 2000 21:17:09 -0700 (MST)
To: multimedia@freebsd.org
Subject: pcm changes in -STABLE -- anyone else seeing this?
X-Mailer: VM 6.75 under Emacs 20.7.1
Cc: 
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Hello,

I CVSup'ed and built/installed world after the latest OpenSSL merge and am
seeing console messages never-before-seen regarding pcm.

I'm seeing things like this:

 pcm0: hwptr went backwards 2112 -> 1344
 pcm0: hwptr went backwards 2112 -> 1440
 pcm0: hwptr went backwards 2112 -> 1376
 pcm0: hwptr went backwards 2112 -> 1536

What does this mean? Anybody else seeing these? My uname info is:

  FreeBSD whale 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Aug 20 10:41:03 MST 2000

and am using xmms-1.2.2 to play mp3s. I've never seen these messages before. I
grepped through the last N kbyte of cvs-all but pcm-related commits but didn't
see anything "obvious." Is anybody else seeing these?

My /dev/sndstat info is

  FreeBSD Audio Driver (newpcm) Aug 20 2000 10:40:30
  Installed devices:
  pcm0: <AudioPCI ES1370> at io 0xb000 irq 11 (1p/1r channels duplex)

Thanks,

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jjreynold@home.com          FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 21:42: 3 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from smtp2.jakinternet.co.uk (proxy.jakinternet.co.uk [212.41.43.4])
	by hub.freebsd.org (Postfix) with ESMTP id 9A85937B423
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 21:42:01 -0700 (PDT)
Received: from smtp.jakinternet.co.uk (smtp.jakinternet.co.uk [212.41.41.61])
	by smtp2.jakinternet.co.uk (Postfix) with SMTP id B5E77A76F0
	for <multimedia@freebsd.org>; Mon, 21 Aug 2000 05:38:45 +0100 (BST)
Received: from vilnya.demon.co.uk ([212.41.35.145]) by smtp.jakinternet.co.uk ; Mon, 21 Aug 2000 05:40:15 -0100
Received: from haveblue (haveblue.rings [10.2.4.5])
	by vilnya.demon.co.uk (Postfix) with SMTP
	id D95D4D9A8; Mon, 21 Aug 2000 05:40:10 +0100 (BST)
Message-ID: <004f01c00b29$bc690de0$0504020a@haveblue>
From: "Cameron Grant" <gandalf@vilnya.demon.co.uk>
To: "John Reynolds" <jjreynold@home.com>, <multimedia@freebsd.org>
References: <14752.44357.141402.473432@whale.home-net>
Subject: Re: pcm changes in -STABLE -- anyone else seeing this?
Date: Mon, 21 Aug 2000 05:39:04 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

>  pcm0: hwptr went backwards 2112 -> 1344
>  pcm0: hwptr went backwards 2112 -> 1440
>  pcm0: hwptr went backwards 2112 -> 1376
>  pcm0: hwptr went backwards 2112 -> 1536
>
> What does this mean? Anybody else seeing these? My uname info is:

it's fairly harmless.  it means that we're not getting irqs at the right
times, but we can handle that.  it would be helpful to know the exact
circumstances when the message appears though.

    -cg




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sun Aug 20 21:43:39 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170])
	by hub.freebsd.org (Postfix) with ESMTP id A0F9237B42C
	for <multimedia@freebsd.org>; Sun, 20 Aug 2000 21:43:37 -0700 (PDT)
Received: from whale.home-net (whale [192.168.1.2])
	by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id VAA81034;
	Sun, 20 Aug 2000 21:43:37 -0700 (MST)
	(envelope-from jjreynold@home.com)
Received: (from jjreynold@localhost)
	by whale.home-net (8.9.3/8.9.3) id VAA32184;
	Sun, 20 Aug 2000 21:43:37 -0700 (MST)
	(envelope-from jjreynold@home.com)
From: John Reynolds <jjreynold@home.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14752.45944.926230.679411@whale.home-net>
Date: Sun, 20 Aug 2000 21:43:36 -0700 (MST)
To: "Cameron Grant" <gandalf@vilnya.demon.co.uk>
Cc: <multimedia@freebsd.org>
Subject: Re: pcm changes in -STABLE -- anyone else seeing this?
In-Reply-To: <004f01c00b29$bc690de0$0504020a@haveblue>
References: <14752.44357.141402.473432@whale.home-net>
	<004f01c00b29$bc690de0$0504020a@haveblue>
X-Mailer: VM 6.75 under Emacs 20.7.1
Cc: 
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


[ On Monday, August 21, Cameron Grant wrote: ]
> 
> it's fairly harmless.  it means that we're not getting irqs at the right
> times, but we can handle that.  it would be helpful to know the exact
> circumstances when the message appears though.
> 
>     -cg
> 

I'll try and determine that. It doesn't seem to be correlated to anything
meaningful yet (like the start of a new song or whatever). I'll report back
anything I can determine.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jjreynold@home.com          FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22  4:55:13 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from brain.stagecraft.cx (carlma.lnk.telstra.net [139.130.12.175])
	by hub.freebsd.org (Postfix) with ESMTP id 11D5937B424
	for <multimedia@FreeBSD.ORG>; Tue, 22 Aug 2000 04:55:05 -0700 (PDT)
Received: from [203.37.99.30] (30.stagecraft.cx [203.37.99.30])
	by brain.stagecraft.cx (8.9.3/8.9.3) with SMTP id VAA25173;
	Tue, 22 Aug 2000 21:54:49 +1000 (EST)
	(envelope-from carl@stagecraft.cx)
Date: Tue, 22 Aug 2000 21:55:26 +1000
From: Carl Makin <carl@stagecraft.cx>
Subject: Re: PixelView PlayTV Pak audio problem.
To: Roger Hardiman <roger@cs.strath.ac.uk>
Cc: multimedia@FreeBSD.ORG
In-Reply-To: <3997A0D3.887BB498@cs.strath.ac.uk>
Message-ID: <MailDrop1.2d7k-PPC.1000822215526@30.stagecraft.cx>
X-Authenticated: <carl@brain.stagecraft.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi Again Roger,

On Mon, 14 Aug 2000 08:33:39 +0100 roger@cs.strath.ac.uk (Roger Hardiman)
wrote:

>Carl, can you tell me if you have a PixelView Play TV or a Play TV Pro.

I've been trying to work out what card I actually have.  Indications on the
website www.prolink.com.tw are that it's a repackaged PlayTV Pro but I can't
find anything definitive.

>(otherwise we need to look through some setup files in your windows
>drivers)

Can you tell me what to look for?  It might be easier to determine what I have
from the windows setup that works.


Thanks,

Carl.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22  7:18: 4 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from jarrow.dev.nanoteq.co.za (jarrow.dev.nanoteq.co.za [196.7.114.30])
	by hub.freebsd.org (Postfix) with ESMTP
	id 6CEF437B422; Tue, 22 Aug 2000 07:17:52 -0700 (PDT)
Received: (from rbezuide@localhost)
	by jarrow.dev.nanoteq.co.za (8.9.3/8.9.3) id QAA00506;
	Tue, 22 Aug 2000 16:16:06 +0200 (SAST)
	(envelope-from rbezuide)
Message-ID: <XFMail.000822161605.rbezuide@oskar.dev.nanoteq.co.za>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <XFMail.000822152118.rbezuide@oskar.dev.nanoteq.co.za>
Date: Tue, 22 Aug 2000 16:16:05 +0200 (SAST)
Reply-To: rbezuide@oskar.nanoteq.co.za
From: Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To: freebsd-multimedia@freebsd.org
Subject: Realplayer and Yamaha 740C on current - update
Cc: freebsd-current@freebsd.org
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Dit another test ... 

Used mpg123 with the "-m" option for mono sound (all the thins
that "broke" was in mono) and got the same noise ... seems like
"mono" sound for the 740C Yamaha is broken ??

Reinier


On 22-Aug-00 Reinier Bezuidenhout wrote:
> Hi ...
> 
> I have a 5.0-current .. kernel compiled of a day or so ago.
> 
> When I'm using Realplayer7 or plaympeg (package smpeg) to play
> real audio or mpegs I just get this load "hissing" noise.
> 
> When I use mpg123 to play a mp3 the sound is OK .. CD sound
> works fine and games too.
> 
> Any idea why realaudio (even when playing a local file) and
> plaympeg seems to corrupt the sound ??
> 
> Somehow I recall that this used to work .. but I can't confirm it :)
> 
> Thanx
> Reinier
> 
>###################################################################
>#                                                                 #
>#  R.N. Bezuidenhout                  NetSeq Firewall             #
>#  rbezuide@oskar.nanoteq.co.za       http://www.nanoteq.co.za    #  
>#                                                                 #
>###################################################################
> 
> ----------------------------------
> Date: 22-Aug-00
> Time: 15:16:54
> 
> This message was sent by XFMail
> ----------------------------------
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

###################################################################
#                                                                 #
#  R.N. Bezuidenhout                  NetSeq Firewall             #
#  rbezuide@oskar.nanoteq.co.za       http://www.nanoteq.co.za    #  
#                                                                 #
###################################################################

----------------------------------
Date: 22-Aug-00
Time: 16:14:17

This message was sent by XFMail
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22  7:43: 3 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126])
	by hub.freebsd.org (Postfix) with ESMTP
	id 297D537B423; Tue, 22 Aug 2000 07:42:58 -0700 (PDT)
Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3])
	by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id PAA21743
	Tue, 22 Aug 2000 15:42:13 +0100 (BST)
Message-ID: <39A2919A.14EB2F14@cs.strath.ac.uk>
Date: Tue, 22 Aug 2000 15:43:38 +0100
From: Roger Hardiman <roger@cs.strath.ac.uk>
Organization: University of Strathclyde
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: rbezuide@oskar.nanoteq.co.za
Cc: freebsd-multimedia@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject: Re: Realplayer and Yamaha 740C on current - update
References: <XFMail.000822161605.rbezuide@oskar.dev.nanoteq.co.za>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Reinier

> seems like "mono" sound for the 740C Yamaha is broken ??


I found 'mono' audio was broken on my Yamaha 724F PCI card
at the weekend.

Cameron said several users have reported this and he has
reworked the code in -current to hopefully work around
this problem.

Roger


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22  7:46:51 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from jarrow.dev.nanoteq.co.za (jarrow.dev.nanoteq.co.za [196.7.114.30])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0EF2537B43C; Tue, 22 Aug 2000 07:46:41 -0700 (PDT)
Received: (from rbezuide@localhost)
	by jarrow.dev.nanoteq.co.za (8.9.3/8.9.3) id QAA11391;
	Tue, 22 Aug 2000 16:44:08 +0200 (SAST)
	(envelope-from rbezuide)
Message-ID: <XFMail.000822164408.rbezuide@oskar.dev.nanoteq.co.za>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <39A2919A.14EB2F14@cs.strath.ac.uk>
Date: Tue, 22 Aug 2000 16:44:08 +0200 (SAST)
Reply-To: rbezuide@oskar.nanoteq.co.za
From: Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To: Roger Hardiman <roger@cs.strath.ac.uk>
Subject: Re: Realplayer and Yamaha 740C on current - update
Cc: freebsd-current@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Roger ..

I cvs-ed the sources for the kernel from yesterday .. but I'll
get the latest ones now .. I'm just not sure if Cameron has
committed the changes yet .. but in any case ... thanx
Cameron !! :)

Rgds
Reinier


On 22-Aug-00 Roger Hardiman wrote:
> Reinier
> 
>> seems like "mono" sound for the 740C Yamaha is broken ??
> 
> 
> I found 'mono' audio was broken on my Yamaha 724F PCI card
> at the weekend.
> 
> Cameron said several users have reported this and he has
> reworked the code in -current to hopefully work around
> this problem.
> 
> Roger

###################################################################
#                                                                 #
#  R.N. Bezuidenhout                  NetSeq Firewall             #
#  rbezuide@oskar.nanoteq.co.za       http://www.nanoteq.co.za    #  
#                                                                 #
###################################################################

----------------------------------
Date: 22-Aug-00
Time: 16:42:39

This message was sent by XFMail
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22  7:51:46 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0788937B424; Tue, 22 Aug 2000 07:51:42 -0700 (PDT)
Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3])
	by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id PAA21956
	Tue, 22 Aug 2000 15:51:19 +0100 (BST)
Message-ID: <39A293BC.2E78EC01@cs.strath.ac.uk>
Date: Tue, 22 Aug 2000 15:52:44 +0100
From: Roger Hardiman <roger@cs.strath.ac.uk>
Organization: University of Strathclyde
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: rbezuide@oskar.nanoteq.co.za
Cc: freebsd-current@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG
Subject: Re: Realplayer and Yamaha 740C on current - update
References: <XFMail.000822164408.rbezuide@oskar.dev.nanoteq.co.za>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Reinier Bezuidenhout wrote:
> 
> Roger ..
> 
> I cvs-ed the sources for the kernel from yesterday .. but I'll
> get the latest ones now .. I'm just not sure if Cameron has
> committed the changes yet .. but in any case ... thanx
> Cameron !! :)

Cameron changed the 'feeder' code which drives the cards.
So, our cards may not work, but he said it is now much
easier to work around the problem with the new feeder
code.

Anyway, we should be able to get this sorted out in the
near future.

Roger


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Tue Aug 22 11:42:51 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fobos.marketsite.ru (fobos.marketsite.ru [194.226.198.36])
	by hub.freebsd.org (Postfix) with ESMTP
	id A6A8737B43C; Tue, 22 Aug 2000 11:42:27 -0700 (PDT)
Received: from bb.marketsite.ru ([194.226.198.1] helo=runnet-gw.marketsite.ru)
	by fobos.marketsite.ru with esmtp (Exim 3.14 #40)
	id 13RJ04-0004sp-00; Tue, 22 Aug 2000 22:42:17 +0400
Content-Length: 28940
Message-ID: <XFMail.000822224421.diwil@dataart.com>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="_=XFMail.1.4.0.FreeBSD:000822224421:1773=_"
Date: Tue, 22 Aug 2000 22:44:21 +0400 (MSD)
Reply-To: diwil@dataart.com
From: dimmy the wild <diwil@dataart.com>
To: freebsd-hackers@freebsd.org, freebsd-multimedia@freebsd.org
Subject: fm 801 sound
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

This message is in MIME format
--_=XFMail.1.4.0.FreeBSD:000822224421:1773=_
Content-Type: text/plain; charset=KOI8-R

Fellows,

Ok, this is a working edition of the fm801 chip driver attached.
It tested with play, rvplayer, x11amp.
I've found no probs so far.

Can anyone put it on the cvs tree?

Put it to /usr/src/sys/dev/sound/pci/fms.c

To add it to the kernel you have to add the line

dev/sound/pci/fms.c
     optional pcm

to the file

/usr/src/sys/conf/files

and rebuild the kernel...

Also the driver is designed to be compiled as a module.
Note, that the current edition works only with latest snapshot of the
system.

To make it working with 4.1
you'll have to apply the following path:


----------------------------------------------------

--- fms.c     Tue Aug 22 22:37:07 2000
+++ fms-4.1.c       Tue Aug 22 22:39:28 2000
@@ -115,19 +115,10 @@
 static int fm801ch_setup(pcm_channel *c);
 */
 
-static u_int32_t fmts[] = {
-       AFMT_U8,
-       AFMT_STEREO | AFMT_U8,
-       AFMT_S16_LE,
-       AFMT_STEREO | AFMT_S16_LE, /*
-       AFMT_STEREO | (AFMT_S16_LE | AFMT_S16_BE | AFMT_U16_LE |
AFMT_U16_BE),
-       (AFMT_S16_LE | AFMT_S16_BE | AFMT_U16_LE | AFMT_U16_BE), */
-       0
-};
-
 static pcmchan_caps fm801ch_caps = {
        4000, 48000,
-       fmts, 0
+       AFMT_STEREO | AFMT_U8 | AFMT_S16_LE,
+       AFMT_STEREO | AFMT_U8 | AFMT_S16_LE
 };
                 
 static pcm_channel fm801_chantemplate = {

-----------------------------------------------------


Thanks,
Dmitry.

-- 
**********************************************************************
   ("`-''-/").___..--''"`-._     (\         Dimmy the Wild     UA1ACZ
    `6_ 6  )   `-.  (     ).`-.__.`)        DataArt Enterprises, Inc. 
    (_Y_.)'  ._   )  `._ `. ``-..-'         Serpukhovskaja street, 10
  _..`--'_..-_/  /--'_.' ,'                 Saint Petersburg,  Russia
 (il),-''  (li),'  ((!.-'                   +7 (812) 3261780, 5552490
**********************************************************************

--_=XFMail.1.4.0.FreeBSD:000822224421:1773=_
Content-Disposition: attachment; filename="fms.c"
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name=fms.c; SizeOnDisk=19735

LyoKICogQ29weXJpZ2h0IChjKSAyMDAwIERtaXRyeSBEaWNreSBkaXdpbEBkYXRhYXJ0LmNvbQog
KiBBbGwgcmlnaHRzIHJlc2VydmVkLgogKgogKiBSZWRpc3RyaWJ1dGlvbiBhbmQgdXNlIGluIHNv
dXJjZSBhbmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhvdXQKICogbW9kaWZpY2F0aW9uLCBh
c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gICAgICAgICAgIDB4MDQK
I2RlZmluZSBGTV9SRUNPUkRfU09VUkNFICAgICAgICAweDA2CgojZGVmaW5lIEZNX1BMQVlfQ1RM
ICAgICAgICAgICAgIDB4MDgKI2RlZmluZSAgRk1fUExBWV9SQVRFX01BU0sgICAgICAgICAgICAg
IDB4MGYwMAojZGVmaW5lICBGTV9QTEFZX0JVRjFfTEFTVCAgICAgICAgICAgICAgMHgwMDAxCiNk
ZWZpbmUgIEZNX1BMQVlfQlVGMl9MQVNUICAgICAgICAgICAgICAweDAwMDIKI2RlZmluZSAgRk1f
UExBWV9TVEFSVCAgICAgICAgICAgICAgICAgIDB4MDAyMAojZGVmaW5lICBGTV9QTEFZX1BBVVNF
ICAgICAgICAgICAgICAgICAgMHgwMDQwCiNkZWZpbmUgIEZNX1BMQVlfU1RPUE5PVyAgICAgICAg
ICAgICAgICAweDAwODAKI2RlZmluZSAgRk1fUExBWV8xNkJJVCAgICAgICAgICAgICAgICAgIDB4
NDAwMAojZGVmaW5lICBGTV9QTEFZX1NURVJFTyAgICAgICAgICAgICAgICAgMHg4MDAwCgojZGVm
aW5lIEZNX1BMQVlfRE1BTEVOICAgICAgICAgIDB4MGEKI2RlZmluZSBGTV9QTEFZX0RNQUJVRjEg
ICAgICAgICAweDBjCiNkZWZpbmUgRk1fUExBWV9ETUFCVUYyICAgICAgICAgMHgxMAoKCiNkZWZp
bmUgRk1fUkVDX0NUTCAgICAgICAgICAgICAgMHgxNAojZGVmaW5lICBGTV9SRUNfUkFURV9NQVNL
ICAgICAgICAgICAgICAgMHgwZjAwCiNkZWZpbmUgIEZNX1JFQ19CVUYxX0xBU1QgICAgICAgICAg
ICAgICAweDAwMDEKI2RlZmluZSAgRk1fUkVDX0JVRjJfTEFTVCAgICAgICAgICAgICAgIDB4MDAw
MgojZGVmaW5lICBGTV9SRUNfU1RBUlQgICAgICAgICAgICAgICAgICAgMHgwMDIwCiNkZWZpbmUg
IEZNX1JFQ19QQVVTRSAgICAgICAgICAgICAgICAgICAweDAwNDAKI2RlZmluZSAgRk1fUkVDX1NU
T1BOT1cgICAgICAgICAgICAgICAgIDB4MDA4MAojZGVmaW5lICBGTV9SRUNfMTZCSVQgICAgICAg
ICAgICAgICAgICAgMHg0MDAwCiNkZWZpbmUgIEZNX1JFQ19TVEVSRU8gICAgICAgICAgICAgICAg
ICAweDgwMDAKCgojZGVmaW5lIEZNX1JFQ19ETUFMRU4gICAgICAgICAgIDB4MTYKI2RlZmluZSBG
TV9SRUNfRE1BQlVGMSAgICAgICAgICAweDE4CiNkZWZpbmUgRk1fUkVDX0RNQUJVRjIgICAgICAg
ICAgMHgxYwoKI2RlZmluZSBGTV9DT0RFQ19DVEwgICAgICAgICAgICAweDIyCiNkZWZpbmUgRk1f
Vk9MVU1FICAgICAgICAgICAgICAgMHgyNgojZGVmaW5lICBGTV9WT0xVTUVfTVVURSAgICAgICAg
ICAgICAgICAgMHg4MDAwCgojZGVmaW5lIEZNX0NPREVDX0NNRCAgICAgICAgICAgIDB4MmEKI2Rl
ZmluZSAgRk1fQ09ERUNfQ01EX1JFQUQgICAgICAgICAgICAgIDB4MDA4MAojZGVmaW5lICBGTV9D
T0RFQ19DTURfVkFMSUQgICAgICAgICAgICAgMHgwMTAwCiNkZWZpbmUgIEZNX0NPREVDX0NNRF9C
VVNZICAgICAgICAgICAgICAweDAyMDAKCiNkZWZpbmUgRk1fQ09ERUNfREFUQSAgICAgICAgICAg
MHgyYwoKI2RlZmluZSBGTV9JT19DVEwgICAgICAgICAgICAgICAweDUyCiNkZWZpbmUgRk1fQ0FS
RF9DVEwgICAgICAgICAgICAgMHg1NAoKI2RlZmluZSBGTV9JTlRNQVNLICAgICAgICAgICAgICAw
eDU2CiNkZWZpbmUgIEZNX0lOVE1BU0tfUExBWSAgICAgICAgICAgICAgICAweDAwMDEKI2RlZmlu
ZSAgRk1fSU5UTUFTS19SRUMgICAgICAgICAgICAgICAgIDB4MDAwMgojZGVmaW5lICBGTV9JTlRN
QVNLX1ZPT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mVlKGZtODAxLCBNX0RF
VkJVRik7CglyZXR1cm4gMDsJCn0KCnN0YXRpYyBkZXZpY2VfbWV0aG9kX3QgZm04MDFfbWV0aG9k
c1tdID0gewoJLyogRGV2aWNlIGludGVyZmFjZSAqLwoJREVWTUVUSE9EKGRldmljZV9wcm9iZSwJ
CWZtODAxX3BjaV9wcm9iZSksCglERVZNRVRIT0QoZGV2aWNlX2F0dGFjaCwJZm04MDFfcGNpX2F0
dGFjaCksCglERVZNRVRIT0QoZGV2aWNlX2RldGFjaCwJZm04MDFfcGNpX2RldGFjaCksCgl7IDAs
IDB9Cn07CgpzdGF0aWMgZHJpdmVyX3QgZm04MDFfZHJpdmVyID0gewoJInBjbSIsCglmbTgwMV9t
ZXRob2RzLAoJc2l6ZW9mKHNuZGRldl9pbmZvKSwKfTsKCnN0YXRpYyBkZXZjbGFzc190IHBjbV9k
ZXZjbGFzczsKCkRSSVZFUl9NT0RVTEUoZm04MDEsIHBjaSwgZm04MDFfZHJpdmVyLCBwY21fZGV2
Y2xhc3MsMCwgMCk7Cg==

--_=XFMail.1.4.0.FreeBSD:000822224421:1773=_--
End of MIME message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  5:44:44 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from guru.mired.org (zoom1-146.telepath.com [216.14.1.146])
	by hub.freebsd.org (Postfix) with SMTP id 341DA37B423
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 05:44:39 -0700 (PDT)
Received: (qmail 92790 invoked by uid 100); 23 Aug 2000 12:44:36 -0000
From: Mike Meyer <mwm@mired.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14755.50996.515946.110558@guru.mired.org>
Date: Wed, 23 Aug 2000 07:44:36 -0500 (CDT)
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: "Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
In-Reply-To: <20000818120015.A16438@curry.mchp.siemens.de>
References: <Pine.BSF.4.21.0008162357510.18789-100000@kaon.intercom.com>
	<20000818120015.A16438@curry.mchp.siemens.de>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Andre Albsmeier writes:
> On Thu, 17-Aug-2000 at 00:06:05 -0400, Jason J. Horton wrote:
> > I am still having trouble getting fxtv to capture TV and
> > convert it to MPEG audio and video. I set it to MPEG ready,
> > capture a chunk of TV, then run the shell script that gets
> > generated. The video part goes just fine, but converting the
> > audio fails. Here is an example:
> > 
> > ======FRAMES READ:  2426
> > ::STATUS:: 0
> > ::EXEC:: rm /usr/local/video/pbs.param
> > ::STATUS:: 0
> > ::EXEC:: sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > >>> Using Audio IFF sound file headers
> > Sound data is not PCM in "/usr/local/video/pbs.aiff".
> > ::STATUS:: 1
> > 
> > Command Failed:
> >   sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > Conversion Aborted.
> > 
> > Anyone have any ideas? Is there a better program tha sox for the
> > conversion?
> 
> sox is okay. Look at

Sox did what it was told to do. The problem is that mpeg_musicin is a
finicky consumer of aiff files. I change the intermediate format to
WAV and it works fine:

The following patch applied to /usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh
fixes it:

    # Do we need an intermediate file?
    if [ $mpeg_enc = YES ]; then
-      out_soxfn="$out_fnbase.aiff"
-      out_soxfmt="AIFF"
+      out_soxfn="$out_fnbase.wav"
+      out_soxfmt="WAV"
    else
       out_soxfn="$GAout_fn"
       out_soxfmt="$out_fmt"


> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=20693
> 
> maybe that helps... At least it should get you into the right
> direction...

Well, that's not why it's failing for me. I'm not using the SB AWE32;
I can record 16-bit, 44,100 Khz stereo, and get the same results.

While I'm at it - has anyone managed to use the new pcm drivers to do
serious audio work? Or should I give up and use Windows for this?

	Thanx,
	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  6:28:38 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from david.siemens.de (david.siemens.de [192.35.17.14])
	by hub.freebsd.org (Postfix) with ESMTP id 4CC8437B42C
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 06:28:35 -0700 (PDT)
X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de)
Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11])
	by david.siemens.de (8.10.1/8.10.1) with ESMTP id e7NDSUU27051;
	Wed, 23 Aug 2000 15:28:30 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e7NDST125871;
	Wed, 23 Aug 2000 15:28:29 +0200 (MET DST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.10.2/8.10.2) id e7NDSTM10718;
Date: Wed, 23 Aug 2000 15:28:29 +0200
From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: Mike Meyer <mwm@mired.org>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	"Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
Message-ID: <20000823152829.A33979@curry.mchp.siemens.de>
References: <Pine.BSF.4.21.0008162357510.18789-100000@kaon.intercom.com> <20000818120015.A16438@curry.mchp.siemens.de> <14755.50996.515946.110558@guru.mired.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <14755.50996.515946.110558@guru.mired.org>; from mwm@mired.org on Wed, Aug 23, 2000 at 07:44:36AM -0500
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Wed, 23-Aug-2000 at 07:44:36 -0500, Mike Meyer wrote:
> Andre Albsmeier writes:
> > On Thu, 17-Aug-2000 at 00:06:05 -0400, Jason J. Horton wrote:
> > > I am still having trouble getting fxtv to capture TV and
> > > convert it to MPEG audio and video. I set it to MPEG ready,
> > > capture a chunk of TV, then run the shell script that gets
> > > generated. The video part goes just fine, but converting the
> > > audio fails. Here is an example:
> > > 
> > > ======FRAMES READ:  2426
> > > ::STATUS:: 0
> > > ::EXEC:: rm /usr/local/video/pbs.param
> > > ::STATUS:: 0
> > > ::EXEC:: sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > > >>> Using Audio IFF sound file headers
> > > Sound data is not PCM in "/usr/local/video/pbs.aiff".
> > > ::STATUS:: 1
> > > 
> > > Command Failed:
> > >   sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > > Conversion Aborted.
> > > 
> > > Anyone have any ideas? Is there a better program tha sox for the
> > > conversion?
> > 
> > sox is okay. Look at
> 
> Sox did what it was told to do. The problem is that mpeg_musicin is a
> finicky consumer of aiff files. I change the intermediate format to
> WAV and it works fine:

Interesting. I had no problems with AIFF as soon as the format was
correct.

> 
> The following patch applied to /usr/X11R6/lib/X11/fxtv/fxtv_cnvt.sh
> fixes it:
> 
>     # Do we need an intermediate file?
>     if [ $mpeg_enc = YES ]; then
> -      out_soxfn="$out_fnbase.aiff"
> -      out_soxfmt="AIFF"
> +      out_soxfn="$out_fnbase.wav"
> +      out_soxfmt="WAV"
>     else
>        out_soxfn="$GAout_fn"
>        out_soxfmt="$out_fmt"
> 
> 
> > 	http://www.freebsd.org/cgi/query-pr.cgi?pr=20693
> > 
> > maybe that helps... At least it should get you into the right
> > direction...
> 
> Well, that's not why it's failing for me. I'm not using the SB AWE32;
> I can record 16-bit, 44,100 Khz stereo, and get the same results.
> 
> While I'm at it - has anyone managed to use the new pcm drivers to do
> serious audio work? Or should I give up and use Windows for this?
> 
> 	Thanx,
> 	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  7:14:28 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from kaon.intercom.com (kaon.intercom.com [198.143.3.30])
	by hub.freebsd.org (Postfix) with ESMTP id 54CA837B43E
	for <multimedia@freebsd.org>; Wed, 23 Aug 2000 07:14:23 -0700 (PDT)
Received: from [198.143.3.26] (helo=intercom.com)
	by kaon.intercom.com with esmtp (Exim 3.16 #1)
	id 13RbIE-0000ML-00; Wed, 23 Aug 2000 10:14:14 -0400
Date: Wed, 23 Aug 2000 10:14:14 -0400 (EDT)
From: "Jason J. Horton" <jason@intercom.com>
X-Sender: mail@kaon.intercom.com
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
In-Reply-To: <20000818163331.A28522@curry.mchp.siemens.de>
Message-ID: <Pine.BSF.4.21.0008231012460.99265-100000@kaon.intercom.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > > sox is okay. Look at
> > > 
> > > 	http://www.freebsd.org/cgi/query-pr.cgi?pr=20693
> > > 
> > > maybe that helps... At least it should get you into the right
> > > direction...
> > 
> > Nope, still get the error. The only thing the PR does for my problem
> > is add the -s and -w connad line switches to sox, which already exist
> > according to my screen cap.
> 
> Yes, but you may need it again (I did). Try
> 
> sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff -s -w /usr/local/video/pbs.aiff

Yeah, did that too adding the extra -s -w. Same results.

Hopefully I will be doing more testing this weekend, I will try to
get a very short sample so I can send you the RAW and aiff...

	-J



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  7:16:14 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from kaon.intercom.com (kaon.intercom.com [198.143.3.30])
	by hub.freebsd.org (Postfix) with ESMTP id AD88C37B42C
	for <multimedia@freebsd.org>; Wed, 23 Aug 2000 07:16:11 -0700 (PDT)
Received: from [198.143.3.26] (helo=intercom.com)
	by kaon.intercom.com with esmtp (Exim 3.16 #1)
	id 13RbK5-0000P0-00; Wed, 23 Aug 2000 10:16:09 -0400
Date: Wed, 23 Aug 2000 10:16:09 -0400 (EDT)
From: "Jason J. Horton" <jason@intercom.com>
X-Sender: mail@kaon.intercom.com
To: Mike Meyer <mwm@mired.org>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
In-Reply-To: <14755.50996.515946.110558@guru.mired.org>
Message-ID: <Pine.BSF.4.21.0008231015000.99265-100000@kaon.intercom.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> Sox did what it was told to do. The problem is that mpeg_musicin is a
> finicky consumer of aiff files. I change the intermediate format to
> WAV and it works fine:

Thats a great idea. Were you having the same problems I am?
Did this solve it for you? I will add this to the testing I
do this weekend.

	-J



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  7:39:56 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from guru.mired.org (zoom1-032.telepath.com [216.14.1.32])
	by hub.freebsd.org (Postfix) with SMTP id BD75037B423
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 07:39:53 -0700 (PDT)
Received: (qmail 94921 invoked by uid 100); 23 Aug 2000 14:39:16 -0000
From: Mike Meyer <mwm@mired.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14755.57876.756917.784077@guru.mired.org>
Date: Wed, 23 Aug 2000 09:39:16 -0500 (CDT)
To: "Jason J. Horton" <jason@intercom.com>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
In-Reply-To: <Pine.BSF.4.21.0008231015000.99265-100000@kaon.intercom.com>
References: <14755.50996.515946.110558@guru.mired.org>
	<Pine.BSF.4.21.0008231015000.99265-100000@kaon.intercom.com>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Jason J. Horton writes:
> > Sox did what it was told to do. The problem is that mpeg_musicin is a
> > finicky consumer of aiff files. I change the intermediate format to
> > WAV and it works fine:
> Thats a great idea. Were you having the same problems I am?
> Did this solve it for you? I will add this to the testing I
> do this weekend.

Yes, exactly the same problem. mpeg_musicin was aborting, complaining
that the data wasn't PCM.

	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  7:44:52 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from guru.mired.org (zoom2-129.telepath.com [216.14.2.129])
	by hub.freebsd.org (Postfix) with SMTP id DAA3237B422
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 07:44:47 -0700 (PDT)
Received: (qmail 95001 invoked by uid 100); 23 Aug 2000 14:44:11 -0000
From: Mike Meyer <mwm@mired.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14755.58171.899430.611090@guru.mired.org>
Date: Wed, 23 Aug 2000 09:44:11 -0500 (CDT)
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: "Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
In-Reply-To: <20000823152829.A33979@curry.mchp.siemens.de>
References: <Pine.BSF.4.21.0008162357510.18789-100000@kaon.intercom.com>
	<20000818120015.A16438@curry.mchp.siemens.de>
	<14755.50996.515946.110558@guru.mired.org>
	<20000823152829.A33979@curry.mchp.siemens.de>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG%
 *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Andre Albsmeier writes:
> On Wed, 23-Aug-2000 at 07:44:36 -0500, Mike Meyer wrote:
> > Andre Albsmeier writes:
> > > On Thu, 17-Aug-2000 at 00:06:05 -0400, Jason J. Horton wrote:
> > > > I am still having trouble getting fxtv to capture TV and
> > > > convert it to MPEG audio and video. I set it to MPEG ready,
> > > > capture a chunk of TV, then run the shell script that gets
> > > > generated. The video part goes just fine, but converting the
> > > > audio fails. Here is an example:
> > > > 
> > > > ======FRAMES READ:  2426
> > > > ::STATUS:: 0
> > > > ::EXEC:: rm /usr/local/video/pbs.param
> > > > ::STATUS:: 0
> > > > ::EXEC:: sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > > > >>> Using Audio IFF sound file headers
> > > > Sound data is not PCM in "/usr/local/video/pbs.aiff".
> > > > ::STATUS:: 1
> > > > 
> > > > Command Failed:
> > > >   sox -t raw -s -w -c 2 -r 44100 /usr/local/video/pbs.AUDraw -t aiff /usr/local/video/pbs.aiff && mpeg_musicin -l 2 -p 1 /usr/local/video/pbs.aiff /usr/local/video/pbs.mp2 && rm /usr/local/video/pbs.aiff
> > > > Conversion Aborted.
> > > > 
> > > > Anyone have any ideas? Is there a better program tha sox for the
> > > > conversion?
> > > 
> > > sox is okay. Look at
> > 
> > Sox did what it was told to do. The problem is that mpeg_musicin is a
> > finicky consumer of aiff files. I change the intermediate format to
> > WAV and it works fine:
> 
> Interesting. I had no problems with AIFF as soon as the format was
> correct.

Well, correcting the format was the idea of going to WAV. The man page
on mpeg_musicin says it accepts AIFF "with certain
limitations". Rather than try and figure out what those were, I just
used WAV. Not sure why it works, but it does. 

	<mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23  7:49:46 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131])
	by hub.freebsd.org (Postfix) with ESMTP id 4F50337B43F
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 07:49:43 -0700 (PDT)
X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de)
Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11])
	by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e7NEnbc19935;
	Wed, 23 Aug 2000 16:49:38 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e7NEnb128393;
	Wed, 23 Aug 2000 16:49:37 +0200 (MET DST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.10.2/8.10.2) id e7NEnbM11281;
Date: Wed, 23 Aug 2000 16:49:37 +0200
From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: Mike Meyer <mwm@mired.org>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	"Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture
Message-ID: <20000823164937.A39997@curry.mchp.siemens.de>
References: <Pine.BSF.4.21.0008162357510.18789-100000@kaon.intercom.com> <20000818120015.A16438@curry.mchp.siemens.de> <14755.50996.515946.110558@guru.mired.org> <20000823152829.A33979@curry.mchp.siemens.de> <14755.58171.899430.611090@guru.mired.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <14755.58171.899430.611090@guru.mired.org>; from mwm@mired.org on Wed, Aug 23, 2000 at 09:44:11AM -0500
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Wed, 23-Aug-2000 at 09:44:11 -0500, Mike Meyer wrote:
> Andre Albsmeier writes:
> > > > > Conversion Aborted.
> > > > > 
> > > > > Anyone have any ideas? Is there a better program tha sox for the
> > > > > conversion?
> > > > 
> > > > sox is okay. Look at
> > > 
> > > Sox did what it was told to do. The problem is that mpeg_musicin is a
> > > finicky consumer of aiff files. I change the intermediate format to
> > > WAV and it works fine:
> > 
> > Interesting. I had no problems with AIFF as soon as the format was
> > correct.
> 
> Well, correcting the format was the idea of going to WAV. The man page
> on mpeg_musicin says it accepts AIFF "with certain
> limitations". Rather than try and figure out what those were, I just
> used WAV. Not sure why it works, but it does. 

Hmm, that's interesting. It might make sense to submit a followup
to my PR that using WAV produces less problems.

BTW, does anybody know why mpeg_musicin is used? There are other
encoders as well... Or is it due to the fact that mplex needs
a layer 2 file?

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Wed Aug 23 17: 9:39 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from carmel.diva.nl (carmel.diva.nl [195.86.140.150])
	by hub.freebsd.org (Postfix) with ESMTP id 5727A37B628
	for <multimedia@FreeBSD.ORG>; Wed, 23 Aug 2000 17:09:36 -0700 (PDT)
Received: from localhost (boland@localhost)
	by carmel.diva.nl (8.10.1/8.10.1) with ESMTP id e7O09Y922094
	for <multimedia@FreeBSD.ORG>; Thu, 24 Aug 2000 02:09:34 +0200 (CEST)
Date: Thu, 24 Aug 2000 02:09:33 +0200 (CEST)
From: Michiel Boland <boland@carmel.diva.nl>
To: multimedia@FreeBSD.ORG
Subject: mplex and VBR video streams
Message-ID: <Pine.BSF.4.05.10008240152370.21925-100000@carmel.diva.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi.

MPEG streams generated by mplex from a variable bitrate video stream (such
as those generated by mpeg_encode) and an audio stream are generally
unplayable by any decent mpeg player, except plaympeg/gtv which works ok
for some mysterious reason. If I mplex two fixed-rate streams everything
is perfect. Slight problem: I use mpeg2encode to generate fixed-rate
streams which is about 4 times slower than mpeg_encode :(

I see lots of 'time out' messages when using mplex on VBR streams which
can't be good, and possibly explains why the resulting streams are
unplayable.

So, have any of you seen either something that can encode fixed-rate MPEG
videos faster than mpeg2encode or a replacement for mplex that can handle
VBR streams?

TIA

Cheers
Michiel



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Thu Aug 24  7:33: 4 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from neodymium.btinternet.com (neodymium.btinternet.com [194.73.73.83])
	by hub.freebsd.org (Postfix) with ESMTP id 2588537B424
	for <freebsd-multimedia@freebsd.org>; Thu, 24 Aug 2000 07:33:02 -0700 (PDT)
Received: from host212-140-200-211.btinteractive.net ([212.140.200.211] helo=btinternet.com)
	by neodymium.btinternet.com with esmtp (Exim 3.03 #83)
	id 13Ry3v-00008X-00
	for freebsd-multimedia@freebsd.org; Thu, 24 Aug 2000 15:33:00 +0100
Message-ID: <39A5321B.FAC6EBDF@btinternet.com>
Date: Thu, 24 Aug 2000 15:32:59 +0100
From: oh <oh@btinternet.com>
X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-multimedia@freebsd.org
Subject: EMU-10K/Vortex-2 soundcard in 4.1R?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Hi

Does anyone have any experience with the EMU10K (SB Live!) or Aureal
Vortex-2 for support on 4.1R?  Looking at the source code it looks like
both are playback only - is this correct?  Are they stable?  They don't
appear in the pcm manual pages and I'm wondering what the status because
I'd like a soundcard and these are easy to find.

thanks
-oh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Thu Aug 24  8:25: 1 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from goku.cl.msu.edu (goku.cl.msu.edu [35.8.3.20])
	by hub.freebsd.org (Postfix) with ESMTP id 0FCA437B423
	for <freebsd-multimedia@FreeBSD.ORG>; Thu, 24 Aug 2000 08:24:59 -0700 (PDT)
Received: (from dervish@localhost)
	by goku.cl.msu.edu (8.9.3/8.9.3) id LAA99499;
	Thu, 24 Aug 2000 11:24:56 -0400 (EDT)
	(envelope-from dervish)
Date: Thu, 24 Aug 2000 11:24:56 -0400
From: Bush Doctor <dervish@goku.cl.msu.edu>
To: oh <oh@btinternet.com>
Cc: freebsd-multimedia@FreeBSD.ORG
Subject: Re: EMU-10K/Vortex-2 soundcard in 4.1R?
Message-ID: <20000824112456.A99472@goku.cl.msu.edu>
Mail-Followup-To: oh <oh@btinternet.com>, freebsd-multimedia@FreeBSD.ORG
References: <39A5321B.FAC6EBDF@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <39A5321B.FAC6EBDF@btinternet.com>; from oh@btinternet.com on Thu, Aug 24, 2000 at 03:32:59PM +0100
X-Operating-System: FreeBSD 5.0-CURRENT i386
WWW-Home-Page: http://bantu.cl.msu.edu
Organisation: Information Systems - Michigan State University
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Out of da blue oh aka (oh@btinternet.com) said:
> 
> Hi
> 
> Does anyone have any experience with the EMU10K (SB Live!) or Aureal
> Vortex-2 for support on 4.1R?  Looking at the source code it looks like
> both are playback only - is this correct?  Are they stable?  They don't
> appear in the pcm manual pages and I'm wondering what the status because
> I'd like a soundcard and these are easy to find.
Check http://www.cis.ohio-state.edu/~matey/au88x0/ for info on the Aureal.
I'm using this driver on -current with an Aureal Turtle Beach A3D II
(Vortex 2 chipset) and it works like a champ!!

> 
> thanks
> -oh
> 
> 

#;^)
-- 
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.

bush doctor
<dervish@goku.cl.msu.edu>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Thu Aug 24  8:46:31 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from f1node03.rhrz.uni-bonn.de (node03.rhrz.uni-bonn.de [131.220.18.133])
	by hub.freebsd.org (Postfix) with ESMTP id AC66E37B422
	for <multimedia@FreeBSD.ORG>; Thu, 24 Aug 2000 08:46:23 -0700 (PDT)
Received: from moritz.alleswirdgelber (ascend-tk-p208.dialin.uni-bonn.de [131.220.244.208])
	by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id RAA199566;
	Thu, 24 Aug 2000 17:44:03 +0200
Received: from localhost (localhost [127.0.0.1])
	by moritz.alleswirdgelber (8.9.3/8.9.3) with ESMTP id NAA00745;
	Thu, 24 Aug 2000 13:41:45 +0200 (CEST)
	(envelope-from uzs106@ibm.rhrz.uni-bonn.de)
Date: Thu, 24 Aug 2000 13:41:45 +0200 (CEST)
From: Heiko Recktenwald <uzs106@ibm.rhrz.uni-bonn.de>
X-Sender: uzs106@moritz.alleswirdgelber
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: Mike Meyer <mwm@mired.org>,
	"Jason J. Horton" <jason@intercom.com>, multimedia@FreeBSD.ORG
Subject: Re: fxtv and video capture/mpeg_musicin
In-Reply-To: <20000823152829.A33979@curry.mchp.siemens.de>
Message-ID: <Pine.BSF.4.21.0008241337260.727-100000@moritz.alleswirdgelber>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > Sox did what it was told to do. The problem is that mpeg_musicin is a
> > finicky consumer of aiff files. I change the intermediate format to
> > WAV and it works fine:
> 
> Interesting. I had no problems with AIFF as soon as the format was
> correct.

I used mpeg_encode (the package) only in connection with mplex and
mpgencode, aka the ceation of mpg audio movies, where mp2 is needed, and I
had to use raw. I think the fxtv package contains a readme and an URL with
a newer version of the mp2 maker, which can better handle aiffs.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Thu Aug 24 21:28:15 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from kumr.lns.com (kumr.lns.com [140.174.7.1])
	by hub.freebsd.org (Postfix) with ESMTP id 0AA0337B422
	for <freebsd-multimedia@FreeBSD.ORG>; Thu, 24 Aug 2000 21:28:13 -0700 (PDT)
Received: (from pozar@localhost)
	by kumr.lns.com (8.9.3/8.9.3) id VAA57938
	for freebsd-multimedia@FreeBSD.ORG; Thu, 24 Aug 2000 21:28:51 -0700 (PDT)
	(envelope-from pozar)
Date: Thu, 24 Aug 2000 21:28:51 -0700
From: Tim Pozar <pozar@lns.com>
To: freebsd-multimedia@FreeBSD.ORG
Subject: wedged /dev/dsp
Message-ID: <20000824212851.A57756@lns.com>
References: <Pine.BSF.4.21.0008021144360.54823-100000@wit401305.student.utwente.nl> <20000802114325.1EEFD2010@nil.science-factory.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20000802114325.1EEFD2010@nil.science-factory.com>; from marc.vanwoerkom@science-factory.com on Wed, Aug 02, 2000 at 01:43:25PM +0200
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

After playing an MP3 stream for a couple of hours on my:

FreeBSD kumr.lns.com 4.1-STABLE FreeBSD 4.1-STABLE #2: Sat Aug 19 14:57:36 PDT 2000     root@kumr.lns.com:/usr/src/sys/compile/KUMR  i386

machine I get this error message:

Blocktype == 0 and window-switching == 1 not allowed.  

After which I can't use /dev/dsp again until I reboot.  mpg123 sez:

Can't open /dev/dsp! 

Just for the curious with "cat /dev/sndstat" I get...

FreeBSD Audio Driver (newpcm) Aug 18 2000 23:14:12
Installed devices:
pcm0: <SB DSP 4.16> at io 0x220 irq 5 drq 1:5 (1p/1r channels duplex) 

Any thoughts?

Thanks...

Tim
-- 
  Snail: Tim Pozar / LNS / 1978 45th Ave / San Francisco CA 94116 / USA
               POTS: +1 415 665 3790  Radio: KC6GNJ / KAE6247
"It's a damn poor mind that can only think of one way to spell a word."
                        - Andrew Jackson
"What is wanted is not the will to believe, but the will to find out,
    which is the exact opposite."              - Bertrand Russell


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Thu Aug 24 23:55:45 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fobos.marketsite.ru (fobos.marketsite.ru [194.226.198.36])
	by hub.freebsd.org (Postfix) with ESMTP id 9F78C37B424
	for <freebsd-multimedia@freebsd.org>; Thu, 24 Aug 2000 23:55:42 -0700 (PDT)
Received: from bb.marketsite.ru ([194.226.198.1] helo=runnet-gw.marketsite.ru)
	by fobos.marketsite.ru with esmtp (Exim 3.14 #40)
	id 13SDOs-000LHv-00
	for freebsd-multimedia@freebsd.org; Fri, 25 Aug 2000 10:55:40 +0400
Content-Length: 507
Message-ID: <XFMail.000825105713.diwil@dataart.com>
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Fri, 25 Aug 2000 10:57:13 +0400 (MSD)
Reply-To: diwil@dataart.com
From: dimmy the wild <diwil@dataart.com>
To: freebsd-multimedia@freebsd.org
Subject: subscribe
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

subscribe
-- 
**********************************************************************
   ("`-''-/").___..--''"`-._     (\         Dimmy the Wild     UA1ACZ
    `6_ 6  )   `-.  (     ).`-.__.`)        DataArt Enterprises, Inc. 
    (_Y_.)'  ._   )  `._ `. ``-..-'         Serpukhovskaja street, 10
  _..`--'_..-_/  /--'_.' ,'                 Saint Petersburg,  Russia
 (il),-''  (li),'  ((!.-'                   +7 (812) 3261780, 5552490
**********************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25  3: 8:55 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131])
	by hub.freebsd.org (Postfix) with ESMTP id 29FB337B422
	for <freebsd-multimedia@freebsd.org>; Fri, 25 Aug 2000 03:08:52 -0700 (PDT)
X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de)
Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11])
	by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e7PA8oc28199
	for <freebsd-multimedia@freebsd.org>; Fri, 25 Aug 2000 12:08:51 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e7PA8oa16782
	for <freebsd-multimedia@freebsd.org>; Fri, 25 Aug 2000 12:08:50 +0200 (MET DST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.10.2/8.10.2) id e7PA8oM26707
	for freebsd-multimedia@freebsd.org; Fri, 25 Aug 2000 12:08:50 +0200 (CEST)
Date: Fri, 25 Aug 2000 12:08:49 +0200
From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: freebsd-multimedia@freebsd.org
Subject: Microsoft netshow under Linux emulation, codecs missing
Message-ID: <20000825120849.A23196@curry.mchp.siemens.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I am trying to get microsoft netshow working under Linux
emulation. I load my asf file and the NetShow Player says
"buffering" and nothing happens.

When examining the "Installed Codecs" it says:

No  Voxware MetaSound
No  Microsoft MPEG-4 Video Codec V2

The thing has been installed from the ports.

Am I missing something? Are there additional codecs that
have to be installed?

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25  3:14: 9 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216])
	by hub.freebsd.org (Postfix) with ESMTP id 3531B37B422
	for <freebsd-multimedia@FreeBSD.ORG>; Fri, 25 Aug 2000 03:14:07 -0700 (PDT)
Received: (from karelj@localhost)
	by wop21.wop.wtb.tue.nl (8.9.3/8.9.3) id MAA14590;
	Fri, 25 Aug 2000 12:14:00 +0200 (CEST)
	(envelope-from karelj)
Date: Fri, 25 Aug 2000 12:13:55 +0200
From: "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
To: Tim Pozar <pozar@lns.com>
Cc: freebsd-multimedia@FreeBSD.ORG
Subject: Re: wedged /dev/dsp
Message-ID: <20000825121355.A14550@wop21.wop.wtb.tue.nl>
Reply-To: K.J.Bosschaart@tue.nl
References: <Pine.BSF.4.21.0008021144360.54823-100000@wit401305.student.utwente.nl> <20000802114325.1EEFD2010@nil.science-factory.com> <20000824212851.A57756@lns.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20000824212851.A57756@lns.com>; from pozar@lns.com on Thu, Aug 24, 2000 at 09:28:51PM -0700
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Thu, Aug 24, 2000 at 09:28:51PM -0700, Tim Pozar wrote:
> After playing an MP3 stream for a couple of hours on my:
> 
> FreeBSD kumr.lns.com 4.1-STABLE FreeBSD 4.1-STABLE #2: Sat Aug 19 14:57:36 PDT 2000     root@kumr.lns.com:/usr/src/sys/compile/KUMR  i386
> 
> machine I get this error message:
> 
> Blocktype == 0 and window-switching == 1 not allowed.  
> 
> After which I can't use /dev/dsp again until I reboot.  mpg123 sez:
> 
> Can't open /dev/dsp! 
> 
> Just for the curious with "cat /dev/sndstat" I get...
> 
> FreeBSD Audio Driver (newpcm) Aug 18 2000 23:14:12
> Installed devices:
> pcm0: <SB DSP 4.16> at io 0x220 irq 5 drq 1:5 (1p/1r channels duplex) 
> 
> Any thoughts?
>
Do a 'top', probably you'll see the mp3 player consuming cpu - and also
occupying /dev/dsp. Kill it, and you'll be able to use /dev/dsp again. 
I have this problem occasionaly with mpg123 when playing a bunch of local
files, one of which having bad format or something. 

Karel. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25  5:17:40 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from proton.hexanet.fr (proton.hexanet.fr [194.98.140.18])
	by hub.freebsd.org (Postfix) with ESMTP
	id 093AE37B423; Fri, 25 Aug 2000 05:17:34 -0700 (PDT)
Received: from proton.hexanet.fr (localhost [127.0.0.1])
	by proton.hexanet.fr (8.9.3/8.9.3) with ESMTP id OAA03146;
	Fri, 25 Aug 2000 14:17:34 +0200 (CEST)
	(envelope-from nighty@proton.hexanet.fr)
Message-Id: <200008251217.OAA03146@proton.hexanet.fr>
X-Mailer: exmh version 2.1.1 10/15/1999
Reply-To: chris@hexanet.fr
From: "Christophe Prevotaux" <chris@hexanet.fr>
To: freebsd-mobile@freebsd.org, freebsd-multimedia@freebsd.org
Subject: [HELP] ES1371 and DFE 660TX on Gateway Solo 2150 Laptop
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Date: Fri, 25 Aug 2000 14:17:34 +0200
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


 Hi
 =

 I have 2 questions
 =

 I own a Gateway 2000 Solo 2150 Laptop =

 =

 =

 In it there are several components that freebsd is unable to recognize
 =

 the ES1371 PCI sound board does not get detected at all
 =

 =

 the LTModem ( Winmodem ) ( that I know is not supported yet )
 though I hope it will be one day , as Linux has already a driver for it.=

 =

 =

 and finally the PCMCIA Cardbus Ethernet Board I just bought , namely the=
 =

 DLINK DFE-660 TX =

 =

 =

 Could anyone help me make these work ? =

 =

 =

 I am running 5-CURRENT ( in hope there would be more support for these )=

 =

 =


-- =

--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Christophe Prevotaux                  Email: chris@hexanet.fr
HEXANET SARL                            URL: http://www.hexanet.fr/
Z.A Farman Sud                          Tel: +33 (0)3 26 79 30 05 =

9 rue Roland Coffignot               Direct: +33 (0)3 26 79 08 02 =

BP415                                   Fax: +33 (0)3 26 79 30 06
51689 Reims Cedex 2                    =

FRANCE                                       =

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25  5:42:30 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126])
	by hub.freebsd.org (Postfix) with ESMTP id 0766637B423
	for <multimedia@freebsd.org>; Fri, 25 Aug 2000 05:42:28 -0700 (PDT)
Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3])
	by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id NAA07364
	Fri, 25 Aug 2000 13:42:26 +0100 (BST)
Message-ID: <39A66A0B.75C508EF@cs.strath.ac.uk>
Date: Fri, 25 Aug 2000 13:43:55 +0100
From: Roger Hardiman <roger@cs.strath.ac.uk>
Organization: University of Strathclyde
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: multimedia@freebsd.org
Subject: porting FreeAMP to FreeBSD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi,

Has anyone run the Linux FreeAMP binary on FreeBSD
or made progress porting the source?

I've just starting working on a port but I do not
want to duplicate effort.

If you have done any work with FreeBSD, can you email me
please.

Thanks
Roger
--
roger@freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25  6:25:47 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2])
	by hub.freebsd.org (Postfix) with ESMTP id DF4D337B440
	for <freebsd-multimedia@FreeBSD.ORG>; Fri, 25 Aug 2000 06:25:44 -0700 (PDT)
Received: from knecht.cs.uni-magdeburg.de (jesse@knecht [141.44.21.3])
	by csmd2.cs.uni-magdeburg.de (8.9.3/8.9.3) with ESMTP id PAA08177
	for <freebsd-multimedia@FreeBSD.ORG>; Fri, 25 Aug 2000 15:25:43 +0200 (MET DST)
Received: (from jesse@localhost)
	by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id PAA20164;
	Fri, 25 Aug 2000 15:24:50 +0200 (MET DST)
X-Authentication-Warning: knecht.cs.uni-magdeburg.de: jesse set sender to jesse@cs.uni-magdeburg.de using -f
To: freebsd-multimedia@FreeBSD.ORG
Subject: Hardware accelerated OpenGL using XFree on FreeBSD
From: Roland Jesse <jesse@mail.CS.Uni-Magdeburg.De>
Date: 25 Aug 2000 15:24:50 +0200
Message-ID: <0vu2c9wk0t.fsf@cs.uni-magdeburg.de>
Lines: 17
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I just wanted to ask whether some hardware OpenGL is at all possible
when running XFree86.

My budget allows me to get a new graphics card. The question is which
one. Currently, I am using an Elsa Erazor III (TNT 2) which runs fine
but not as fast as I would like to. As comments in the VTK mailing
list state, the GeForce lacks hardware picking functionality. 

Is there anything better to go for when we are talking about pc
hardware?

Thanks for any pointers.

        Roland

P.S. I am a subscribed to this list, so there is no need to Cc me
     directly. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25 16:49:27 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229])
	by hub.freebsd.org (Postfix) with ESMTP id 71EBA37B43E
	for <freebsd-multimedia@FreeBSD.ORG>; Fri, 25 Aug 2000 16:49:26 -0700 (PDT)
Received: from winston.osd.bsdi.com (jkh@localhost [127.0.0.1])
	by winston.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id QAA77703;
	Fri, 25 Aug 2000 16:48:07 -0700 (PDT)
	(envelope-from jkh@winston.osd.bsdi.com)
To: Roland Jesse <jesse@mail.CS.Uni-Magdeburg.De>
Cc: freebsd-multimedia@FreeBSD.ORG
Subject: Re: Hardware accelerated OpenGL using XFree on FreeBSD 
In-Reply-To: Message from Roland Jesse <jesse@mail.CS.Uni-Magdeburg.De> 
   of "25 Aug 2000 15:24:50 +0200." <0vu2c9wk0t.fsf@cs.uni-magdeburg.de> 
Date: Fri, 25 Aug 2000 16:48:07 -0700
Message-ID: <77699.967247287@winston.osd.bsdi.com>
From: Jordan Hubbard <jkh@winston.osd.bsdi.com>
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> I just wanted to ask whether some hardware OpenGL is at all possible
> when running XFree86.

If you want the fastest performing GLX right now, and this is not in
all ways a function of the GP architecture (it's also a function of
driver quality for a given chipset), the Matrox G400 appears to
generate the best frame-rates with XFree86 3.3.6 and OpenGL.  The
TNT2 is also not bad, with the Voodoo3 bringing up the distant
rear of the pack.

- Jordan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Fri Aug 25 22:40:38 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20])
	by hub.freebsd.org (Postfix) with ESMTP id 37B5C37B422
	for <multimedia@freebsd.org>; Fri, 25 Aug 2000 22:40:37 -0700 (PDT)
Received: (from bright@localhost)
	by fw.wintelcom.net (8.10.0/8.10.0) id e7Q5eav12814
	for multimedia@freebsd.org; Fri, 25 Aug 2000 22:40:36 -0700 (PDT)
Date: Fri, 25 Aug 2000 22:40:36 -0700
From: Alfred Perlstein <bright@wintelcom.net>
To: multimedia@freebsd.org
Subject: using fxtv as a webcam driver
Message-ID: <20000825224036.I1209@fw.wintelcom.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.4i
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

If there any way to run fxtv and just dump a ppm of what's currently
on the tv input then exit?

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sat Aug 26  0: 3:29 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from mailrouter1.strath.ac.uk (orkney.cc.strath.ac.uk [130.159.248.40])
	by hub.freebsd.org (Postfix) with ESMTP id 8265B37B424
	for <multimedia@freebsd.org>; Sat, 26 Aug 2000 00:03:26 -0700 (PDT)
Received: from [213.104.128.136] (helo=cs.strath.ac.uk)
	by mailrouter1.strath.ac.uk with esmtp (Exim 3.12 #2)
	id 13SZzn-0002WA-00; Sat, 26 Aug 2000 08:03:15 +0100
Message-ID: <39A76C11.8C330F07@cs.strath.ac.uk>
Date: Sat, 26 Aug 2000 08:04:49 +0100
From: Roger Hardiman <roger@cs.strath.ac.uk>
Organization: Strathclyde University
X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.1-STABLE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Alfred Perlstein <bright@wintelcom.net>
Cc: multimedia@FreeBSD.ORG
Subject: Re: using fxtv as a webcam driver
References: <20000825224036.I1209@fw.wintelcom.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Alfred Perlstein wrote:
> 
> If there any way to run fxtv and just dump a ppm of what's currently
> on the tv input then exit?

The better option is to use one of the utilities on my ftp site

ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples

Roger
--
Roger Hardiman
FreeBSD Services Ltd
roger@freebsd-services.co.uk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sat Aug 26  3:21:34 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20])
	by hub.freebsd.org (Postfix) with ESMTP id 1802637B422
	for <multimedia@FreeBSD.ORG>; Sat, 26 Aug 2000 03:21:33 -0700 (PDT)
Received: (from bright@localhost)
	by fw.wintelcom.net (8.10.0/8.10.0) id e7QALU525186;
	Sat, 26 Aug 2000 03:21:30 -0700 (PDT)
Date: Sat, 26 Aug 2000 03:21:30 -0700
From: Alfred Perlstein <bright@wintelcom.net>
To: Roger Hardiman <roger@cs.strath.ac.uk>
Cc: multimedia@FreeBSD.ORG
Subject: Re: using fxtv as a webcam driver
Message-ID: <20000826032130.M1209@fw.wintelcom.net>
References: <20000825224036.I1209@fw.wintelcom.net> <39A76C11.8C330F07@cs.strath.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.4i
In-Reply-To: <39A76C11.8C330F07@cs.strath.ac.uk>; from roger@cs.strath.ac.uk on Sat, Aug 26, 2000 at 08:04:49AM +0100
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

* Roger Hardiman <roger@cs.strath.ac.uk> [000826 00:03] wrote:
> Alfred Perlstein wrote:
> > 
> > If there any way to run fxtv and just dump a ppm of what's currently
> > on the tv input then exit?
> 
> The better option is to use one of the utilities on my ftp site
> 
> ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples

Yup, just got it going :)

thanks,
-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message


From owner-freebsd-multimedia  Sat Aug 26  8:59:34 2000
Delivered-To: freebsd-multimedia@freebsd.org
Received: from carmel.diva.nl (carmel.diva.nl [195.86.140.150])
	by hub.freebsd.org (Postfix) with ESMTP id 6218337B43C
	for <multimedia@FreeBSD.ORG>; Sat, 26 Aug 2000 08:59:32 -0700 (PDT)
Received: from localhost (boland@localhost)
	by carmel.diva.nl (8.10.1/8.10.1) with ESMTP id e7QFxSF03439
	for <multimedia@FreeBSD.ORG>; Sat, 26 Aug 2000 17:59:29 +0200 (CEST)
Date: Sat, 26 Aug 2000 17:59:28 +0200 (CEST)
From: Michiel Boland <boland@carmel.diva.nl>
To: multimedia@FreeBSD.ORG
Subject: Re: mplex and VBR video streams
In-Reply-To: <Pine.BSF.4.05.10008240152370.21925-100000@carmel.diva.nl>
Message-ID: <Pine.BSF.4.05.10008261755300.3197-100000@carmel.diva.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-multimedia@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Hi.

I'm replying to my own posts; obivously not many people are using mplex.
:)

Anyway, I've appeared to solved the problems. The FreeBSD mplex port
disregards some features that are present in the original mplex
implementation, in particular the setting of a target byte rate for the
resulting system stream. If you set this rate high enough you can mix an
audio and a VBR video stream without generating any time outs ; these
streams will play just fine. Only problem is that you introduce a huge
amount of padding sectors.

Cheers
Michiel



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message