On Tue, 1 Jun 2004, Jim Hatfield wrote:
> I am running mjpegtools on FreeBSD 5.1, installed from ports.
>
> The manpage refers to something called ac3dec:
>
> >cat test2.mpg | extract_ac3 - -s | ac3dec -o wav -p sound.wav
>
> but it isn't installed by the port. Where can this be found?
extract_ac3 (and ac3dec) are both obsolete.
They were repalced with extract_a52 and a52dec respectively. Those
are part of the 'liba52' project at Sourceforge and can be found
at:
http://liba52.sourceforge.net/
> I do see something called ac3dec in ports/audio but it isn't
> the same since it writes directly to /dev/dsp and doesn't take
> any parameters.
It's been a long time since I used ac3dec but a52dec
a52dec -h
a52dec-0.7.5-cvs - by Michel Lespinasse <[EMAIL PROTECTED]> and Aaron Holtzman
usage: a52dec [-h] [-o <mode>] [-s [<track>]] [-t <pid>] [-c] [-r] [-a] \
[-g <gain>] <file>
-h display help and available audio output modes
-s use program stream demultiplexer, track 0-7 or 0x80-0x87
-t use transport stream demultiplexer, pid 0x10-0x1ffe
-T use transport stream PES demultiplexer
-c use c implementation, disables all accelerations
-r disable dynamic range compression
-a disable level adjustment based on output mode
-g add specified gain in decibels, -96.0 to +96.0
-o audio output mode
oss
ossdolby
oss4
oss6
wav
wavdolby
wav6
aif
aifdolby
peak
peakdolby
null
null4
null6
float
something like
a52dec -s -o wav input.ac3 > output.wav
works here. The usage() summary seems to indicate that "-s" takes
an argument but when I tried "-s 0" it complained "no such file 0"
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users