Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 16:33:56 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        rick-freebsd@kiwi-computer.com
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: pvrxxx recording
Message-ID:  <20080530163356.196549a87jpa2gys@webmail.leidinger.net>
In-Reply-To: <20080529170858.GA70632@keira.kiwi-computer.com>
References:  <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Rick C. Petty" <rick-freebsd@kiwi-computer.com> (from Thu, 29  
May 2008 12:08:58 -0500):

> Then, in parallel, I convert & compress the audio and video streams.  For
> the audio, I make a named pipe and decode using audio/lame:
>
> mkfifo $TMP_PREFIX.wav
> lame --decode $TMP_PREFIX.mp2 $TMP_PREFIX.wav

As one of the lame developers: lame is not a decoder, it is a encoder.  
You are better off by using an decoder to decode this. I would use  
madplay.

> then encode into AC3 using multimedia/ffmpeg:
>
> ffmpeg -i $TMP_PREFIX.wav -y -vn -ab 192000 -acodec ac3 -ar 48000 -ac 2 \
> 	$TMP_PREFIX.ac3

ffmpeg does not understand mp2 inputs?

Bye,
Alexander.

-- 
We are what we pretend to be.
		-- Kurt Vonnegut, Jr.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080530163356.196549a87jpa2gys>