CFT: mplayer and mencoder updates

Zhihao Yuan lichray at gmail.com
Mon Dec 19 23:43:17 UTC 2011


Hi:

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

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156747

I unified the some patches here:

https://gist.github.com/1362097

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...

stable/8:

gcc:

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:

clang: warning: argument unused during compilation:
'-rpath=/usr/lib:/usr/local/lib'
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 googlemail.com> wrote:
> Hi list,
>
> on http://www.rrr.de/~riggs/mplayer/m20111219.tar.bz2 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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe at freebsd.org"



-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/


More information about the freebsd-ports mailing list