List Info

Thread: mencoder very slow on windows




mencoder very slow on windows
user name
2007-12-06 21:01:09
I compiled mplayer with xvid support using mingw, and I
tried to encode a 
video to xvid with mencoder. I realized that mencoder is
much much slower 
than on linux (the estimated time to finish the encode was
about 60 minutes, 
while on linux it takes about 20 minutes). That was on the
same computer, 
using similar videos, and exactly the same options.

That's even without the --enable-runtime-cpudetection
option, so the binaries 
are supposedly optimized for my cpu.

I realized of this warning when compiling xvidcore, I don't
know if it has 
something to do:

checking for nasm... yes
checking for nasm patch version... nasm: error: unrecognised
option `-r'
nasm: error: no input file specified
type `nasm -h' for help
-1
configure: WARNING: nasm patch version is too old
configure: WARNING: no correct assembler was found -
Compiling generic sources 
only

I don't understand. I compiled the latest available version
of nasm.

-- 
RVM
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
country flaguser name
Jamaica
2007-12-07 00:10:33


RVM wrote:
>...
> 
> I realized of this warning when compiling xvidcore, I
don't know if it has 
> something to do:
> 
> checking for nasm... yes
> checking for nasm patch version... nasm: error:
unrecognised option `-r'
> nasm: error: no input file specified
> type `nasm -h' for help
> -1
> configure: WARNING: nasm patch version is too old
> configure: WARNING: no correct assembler was found -
Compiling generic sources 
> only
> 
On my system
$ nasm -h
usage: nasm [- response file] [-o outfile] [-f format]
[-l listfile]
            [options...] [--] filename
    or nasm -r   for version info (obsolete)
    or nasm -v   for version info (preferred)

$ nasm -r
NASM version 0.98.39 compiled on Aug 14 2007

Maybe they finally removed '-r'. You can:
1) Downgrade to 0.98.yy (yy >= 34)
2) Edit the test for nasm patch version in xvid's configure
script so that
    your version (which I assume is 2.00) is accepted.
    
In my xvid configure script, the test looks like this:

echo $ECHO_N "checking for nasm patch version...
$ECHO_C" >&6
           nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut
-d ' ' -f 1`
           if test -z $nasm_patch ; then
              nasm_patch=-1
           fi

____________________________________________________________
_____
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.ht
ml?ocid=TXT_TAGLM_Wave2_newways_112007
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
country flaguser name
Austria
2007-12-07 03:29:12
John Brown (johnbrown105hotmail.com) wrote:

> On my system
> $ nasm -h
> usage: nasm [- response file] [-o outfile] [-f format]
[-l listfile]
>             [options...] [--] filename
>     or nasm -r   for version info (obsolete)
>     or nasm -v   for version info (preferred)

> $ nasm -r
> NASM version 0.98.39 compiled on Aug 14 2007

On my cygwin system it looks like that:

$ nasm -v
NASM version 2.00 compiled on Nov 30 2007

$ nasm -r
nasm: error: unrecognised option `-r'
nasm: error: no input file specified
type `nasm -h' for help

-- 
mfg Thomas
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
country flaguser name
Jamaica
2007-12-07 05:08:35
Thomas Plank wrote:
>
> On my cygwin system it looks like that:
>
> $ nasm -v
> NASM version 2.00 compiled on Nov 30 2007
I am using MSYS, not cygwin. I compiled nasm 0.98.39
myself,
when it was the most recent version.

If  the original poster cannot get an earlier cygwin nasm
package, or
can't/won't compile an earlier version himself, he can force
the test in
xvid's configure script to "succeed" as follows:

echo $ECHO_N "checking for nasm patch version...
$ECHO_C">&6
           nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut
-d ' ' -f 1`
           if test -z $nasm_patch ; then
              nasm_patch=-1
           fi
          ####### INSERT HARD-CODED nasm_patch HERE #######
          nasm_patch=$minimum_nasm_patch_version
          #########################################
           echo "$as_me:$LINENO: result:
$nasm_patch">&5
echo "$$nasm_patch">&6

If he is using the latest official release, he can try the
latest daily snapshot
instead. The xvid developers may have already fixed it. If
not, he can
report the problem to them for a proper fix.
____________________________________________________________
_____
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.ht
ml?ocid=TXT_TAGLM_Wave2_newways_112007
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
user name
2007-12-07 05:47:25
El Viernes, 7 de Diciembre de 2007 07:10, John Brown
escribió:
> RVM wrote:
> >...
> >
> > I realized of this warning when compiling
xvidcore, I don't know if it
> > has something to do:
> >
> > checking for nasm... yes
> > checking for nasm patch version... nasm: error:
unrecognised option `-r'
> > nasm: error: no input file specified
> > type `nasm -h' for help
> > -1
> > configure: WARNING: nasm patch version is too old
> > configure: WARNING: no correct assembler was found
- Compiling generic
> > sources only
>
> On my system
> $ nasm -h
> usage: nasm [- response file] [-o outfile] [-f format]
[-l listfile]
>             [options...] [--] filename
>     or nasm -r   for version info (obsolete)
>     or nasm -v   for version info (preferred)
>
> $ nasm -r
> NASM version 0.98.39 compiled on Aug 14 2007
>
> Maybe they finally removed '-r'. You can:
> 1) Downgrade to 0.98.yy (yy >= 34)
> 2) Edit the test for nasm patch version in xvid's
configure script so that
>     your version (which I assume is 2.00) is accepted.

I edited the configure script, but compilation fails anyway
with nasm 2.0. So 
I installed 0.98.39 and everything went fine.

And yes, this fixes the slowness of mencoder. Previously the
speed was about 
15 fps, now 50 fps.

-- 
RVM
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
user name
2007-12-07 19:16:10
On Fri, Dec 07, 2007 at 06:08:35AM -0500, John Brown wrote:
> 
> Thomas Plank wrote:
> >
> > On my cygwin system it looks like that:
> >
> > $ nasm -v
> > NASM version 2.00 compiled on Nov 30 2007
> I am using MSYS, not cygwin. I compiled nasm 0.98.39
myself,
> when it was the most recent version.
> 

it's not an mplayer related-issue, it should be fixed in
xvid tree,
perhaps v2.0 is out so it would be nice to make it work

0.98 had some little issues, so I've switched to yasm, that
is preferred
over nasm by the configure script

v2.0 should be ok I think
but the check in xvid configure it's not usable to compare
2.00

I'll take a look to make a clean solution

in the meanwhile use yasm

Bye


-- 
Gianluigi Tiesi <sherpyanetfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in

Re: mencoder very slow on windows
user name
2007-12-07 20:44:02
On Sat, Dec 08, 2007 at 02:16:10AM +0100, Gianluigi Tiesi
wrote:
> On Fri, Dec 07, 2007 at 06:08:35AM -0500, John Brown
wrote:
> > 
> > Thomas Plank wrote:
> > >
> > > On my cygwin system it looks like that:
> > >
> > > $ nasm -v
> > > NASM version 2.00 compiled on Nov 30 2007
> > I am using MSYS, not cygwin. I compiled nasm
0.98.39 myself,
> > when it was the most recent version.
> > 
> 
> it's not an mplayer related-issue, it should be fixed
in xvid tree,
> perhaps v2.0 is out so it would be nice to make it
work
> 
> 0.98 had some little issues, so I've switched to yasm,
that is preferred
> over nasm by the configure script
> 
> v2.0 should be ok I think
> but the check in xvid configure it's not usable to
compare 2.00
> 
> I'll take a look to make a clean solution
> 
> in the meanwhile use yasm
> 

Attached patch makes a better check for nasm
version, so it works with debian sid version
(0.99.06-something)
I've supposed to work with 2.00 so the check passes on this
version
perhaps the code is not assemblable using nasm v2
because of errors,
so my patch may be also useless

anyway...

Regards

-- 
Gianluigi Tiesi <sherpyanetfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwinmplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygw
in
  
[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )