[CFT] mplayer with multithreaded decoding

2011-03-29 Thread Thomas Zander
Hi,

since I am in the middle of updating the mplayer and mencoder ports
anyway, we might as well include the latest feature that has found its
way upstream. For a few days now, the mplayer development snapshots
are able to take advantage of multithreaded ffmpeg decoding (h264 and
a few others).
Therefore I have updated the experimental tarballs to today's svn
snapshot. You can find the port tarballs here:
http://www.rrr.de/~riggs/mplayer/m20110329.tar.bz2

You can enable the multithreaded decoder by running run mplayer
-lavdopts threads=N file (N being the number of desired decoder
threads). Note that this does not apply to all stages of the playback
pipeline, e.g., if playback is dropping frames due to excessive
postprocessing options, this won't necessarily solve the problem.

Have fun
Riggs
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] mplayer with multithreaded decoding

2011-03-29 Thread Michal Varga
On Tue, 2011-03-29 at 18:53 +0200, Thomas Zander wrote:

> You can enable the multithreaded decoder by running run mplayer
> -lavdopts threads=N file (N being the number of desired decoder
> threads). Note that this does not apply to all stages of the playback
> pipeline, e.g., if playback is dropping frames due to excessive
> postprocessing options, this won't necessarily solve the problem.

Hi Thomas,

AFAIK "-lavdopts threads=auto" should work too in this case, though I
didn't check your code yet if it's actually done there.

Just mentioning it in case someone might be interested and/or wants to
correct me before I get to it later today :)

m.


-- 
Michal Varga,
Stonehenge (Gmail account)


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] mplayer with multithreaded decoding

2011-03-30 Thread Christian Weisgerber
Michal Varga  wrote:

> > You can enable the multithreaded decoder by running run mplayer
> > -lavdopts threads=N file (N being the number of desired decoder
> > threads).
> 
> AFAIK "-lavdopts threads=auto" should work too in this case,

No.  mplayer errors out:

The threads option must be an integer: auto
Error parsing option on the command line: -lavdopts

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"