pvrxxx recording

Alexander Leidinger Alexander at Leidinger.net
Fri May 30 14:51:39 UTC 2008


Quoting "Rick C. Petty" <rick-freebsd at 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


More information about the freebsd-multimedia mailing list