[MPlayer-users] How to build mplayer with multi-threaded video decoding
陳鈞宇
j1989_fool at yahoo.com.tw
Sat Mar 26 09:30:03 CET 2011
Hi Henry,
Thanks for your reply!
I typed "./configure | grep pthread" in terminal and I got
------------------------------------------------------
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
------------------------------------------------------
I type "dpkg -l | grep pthread" in termial and I got
------------------------------------------------------
ii libpthread-stubs0 0.3-2 pthread stubs ... libc
ii libpthread-stubs0-dev 0.3-2 pthread stubs ... files
------------------------------------------------------
It seems that the libraries about pthread were properly installed.
The video file I want to play is in H.264 and HE-AAC LATM format.
(recorded from DVB-T)
I can play it with mplayer-mt installed from debian-multimedia and multithreaded video decoding works fine.
(But mplayer-mt cannot decode the audio format in HE-AAC LATM.)
I will read the documentaion for more detail information.
Finally, really thanks for your reply.
I'm poor in English.
I don't know how to show my appreciate in words.
Just Thanks!!!
Yu
>
> > Hi there,
> >
> > I followed the instructions below to build mplayer
> with multi-threaded
> > video decoding but had been always getting one with
> only single-threaded
> > video decoding.
> >
> > What can I do to fix this problem? Thanks in advance!
> >
> > OS: Debian squeeze 6.0
> > CPU: Intel Pentium DC E2140
> > ---------------------------
> > # cd /dev/shm
> > # apt-get install git subversion libxv-dev
> libclalsadrv-dev build-essential
> > # svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
> > # git clone git://git.videolan.org/ffmpeg.git
> > # mv ffmpeg mplayer
> > # cd mplayer
> > # ./configure --disable-inet6 --disable-mencoder
> > --extra-cflags="-mtune=core2"
> >
> You can leave out the --extra-cflags
> the configure script usually sets mtune and march to native
> with the recent
> GCC- 4.X compilers
>
> you need to check to see if pthreads was enabled during the
> configure stage
> You need to have pthreads installed on your system.
> developer files
>
> > # make -j 2
> >
> that just builds with 2 threads
>
> > # make install
> > # mplayer -lavdopts threads=2 -vf pp=lb
> /mnt/Video/HiHD.ts
> >
> Check the documentation to see which file formats support
> extra threads with
> lavdopts
>
>
> > ---------------------------
> >
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list