stdout from mplayer/mencoder?
Alexander Leidinger
Alexander at Leidinger.net
Thu Apr 29 13:11:56 PDT 2004
On Thu, 29 Apr 2004 20:30:23 +0100
Karl Jeacle <karl at 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
More information about the freebsd-multimedia
mailing list