CFT: mplayer and mencoder updates

Zhihao Yuan lichray at
Tue Dec 20 00:12:31 UTC 2011


Could you take a look at this (support FreeBSD OSS 24-bit output)?

I unified the some patches here:

1. Disable ALSA explicitly;
2. Allow internal libass if ASS is tuned off;
3. OSS 24-bit output;
4. FreeBSD's log2 & log2f in libc.

Let me test the port...



ffmpeg/libavformat/libavformat.a(udp.o): In function `udp_open':
udp.c:(.text+0xf8e): undefined reference to `pthread_create'
ffmpeg/libavcodec/libavcodec.a(pthread.o): In function `ff_thread_init':
pthread.c:(.text+0x178c): undefined reference to `pthread_create'
pthread.c:(.text+0x1894): undefined reference to `pthread_create'
collect2: ld returned 1 exit status


clang: warning: argument unused during compilation:
ffmpeg/libavformat/libavformat.a(udp.o): In function `udp_open':
libavformat/udp.c:(.text+0x907): undefined reference to `pthread_create'
ffmpeg/libavcodec/libavcodec.a(pthread.o): In function `ff_thread_init':
libavcodec/pthread.c:(.text+0xded): undefined reference to `pthread_create'
libavcodec/pthread.c:(.text+0x104e): undefined reference to `pthread_create'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The original config.mak has no -pthread, so the replacement in
port-configure fails to work.

The program works fine. Thanks.

On Mon, Dec 19, 2011 at 4:35 PM, Thomas Zander
<thomas.e.zander at> wrote:
> Hi list,
> on you can find the
> draft of updates to the mplayer and mencoder ports.
> Please have a look, play with it and let me know what you think.
> I tested it on 8.2 STABLE i386 and amd64 only so far, so I hope it
> works for 9 and 10 as well.
> As always, comments, suggestions and especially patches are more than welcome.
> Best regards
> Riggs
> _______________________________________________
> freebsd-multimedia at mailing list
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe at"

Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
4BSD --

More information about the freebsd-multimedia mailing list