Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 17:43:15 -0600
From:      Zhihao Yuan <lichray@gmail.com>
To:        Thomas Zander <thomas.e.zander@googlemail.com>
Cc:        multimedia@freebsd.org, FreeBSD - Ports <freebsd-ports@freebsd.org>
Subject:   Re: CFT: mplayer and mencoder updates
Message-ID:  <CAGsORuBxqLbQu56EkfASbUMXhAtgHjiCe1jmXp7J3igZyGr=hg@mail.gmail.com>
In-Reply-To: <CAFU734xS3cbk3SGWpZFfccwcsThTf35KprmbHMiPGzd6qGbTYg@mail.gmail.com>
References:  <CAFU734xS3cbk3SGWpZFfccwcsThTf35KprmbHMiPGzd6qGbTYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGsORuBxqLbQu56EkfASbUMXhAtgHjiCe1jmXp7J3igZyGr=hg>