Date: Thu, 29 Apr 2004 22:12:13 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: freebsd-multimedia@freebsd.org Subject: Re: stdout from mplayer/mencoder? Message-ID: <20040429221213.51668144@Magellan.Leidinger.net> In-Reply-To: <20040429193023.GA17876@cl.cam.ac.uk> References: <20040429175118.GA24989@cl.cam.ac.uk> <20040429210554.2e301a3f@Magellan.Leidinger.net> <20040429193023.GA17876@cl.cam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Apr 2004 20:30:23 +0100 Karl Jeacle <karl@jeacle.ie> wrote: > On Thu 29 Apr 04, 21:05:54 +0200, Alexander Leidinger wrote: > > > mplayer -ao pcm -aofile /dev/stdout $RAFILE | lame - $MP3FILE > > > The problem is that the resulting MP3 file is just white noise. I'm not > > > sure what's going wrong. (I've tried specifying -r & -s lame flags.) > > But you haven't played with '-x', right? > > I have actually, and I get audible sound, but it's as if I had taken the > original file and chopped it up into little bits and swapped them around. > > I was hoping someone could supply a working command line example using > either mplayer or mencoder that did RA->MP3 in a single pipeline. > > (Re:mencoder, it dumps core for almost anything I try with it, and using > named pipes exhibit the same problem as the above pipe approach.) I haven't tried it, but try adding "-nowaveheader" to mplayer and use the right -r -s and --bitwidth arguments for lame. I know it works with named pipes, since I fixed some issues with it for someone else (lame 3.94 contains the fix). Bye, Alexander. -- I'm available to get hired. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040429221213.51668144>