media conversion utilities in the ports

Roland Smith rsmith at xs4all.nl
Sun Mar 23 04:19:26 PDT 2008


On Sun, Mar 23, 2008 at 07:26:20PM +1000, Da Rock wrote:
> 
> On Sun, 2008-03-23 at 09:41 +0100, Michaël Grünewald wrote:
> > Andrew Falanga a écrit :
> > > Hi,
> > > 
> > > A few quick searches on freshports.org didn't turn up much so I'm
> > > hoping that the knowledge here will eclipse it.  Are there any good,
> > > or workable, scriptable WMA to MP3 converter programs in ports?
> > 
> > Mplayer pretends it can handle WMA files, however I did not try this 
> > feature. See multimedia/mplayer, it installs an `mencoder' program you 
> > might be interested in.
> 
> you need the win32 codecs to make this work though.

No you don't. The built-in ffmpeg can handle it:

uname -a
FreeBSD slackbox.xs4all.nl 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Feb 29
01:45:32 CET 2008  amd64

Note: win32 codecs don't even work on amd64!

mplayer foo.wma 
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 39, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing foo.wma.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
Clip info:
 name: xxxxxxxxxxxxx
 author: xxxxxxxxxxxxxxxxxxxxxxxx
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080323/ea4d94f6/attachment.pgp


More information about the freebsd-questions mailing list