Sycotic Smith | 1 Jul 2004 21:32

Re: Dual-monitors?


----- Original Message -----
From: "Rune" <runner <at> mail.tele.dk>
Date: Tue, 29 Jun 2004 20:05:30 +0200
To: "Win32/CygWin porting" <mplayer-cygwin <at> mplayerhq.hu>
Subject: Re: [MPlayer-cygwin] Dual-monitors?

> > Rune wrote:
> > 
> > >>>Looks like a bug to me, but to be sure try:
> > >>>   -vm -adapter 2
> > >>>      
> > >>>
> > >>Sorry, but I don't know how to use that.  I tried including it in the 
> > >>config file in several ways, and in the command prompt as well, but it 
> > >>doesn't like it.
> > >>
> > >>-Matt
> > >>    
> > >>
> > >What do you meen by "but it doesn't like it"?
> > >
> > >Send me the output and i'll take a look at it
> > >
> > >Rune Petersen
> > >  
> > >
> > I mean that I'm probably not using it right, just guessing, so it's not 
> > working.  Here's how I enter it in the commmand prompt:
> > 
(Continue reading)

compn | 2 Jul 2004 03:20
Picon
Favicon

Re: Dual-monitors?

>Just for some info on how another user does it... namely me.
>
>I have an older ATI Radeon 7000 4xAGP card that can have up to 4 heads at one time:
>2 SVA, 1 composite, 1 SVideo.
>In my Win2K enviro, all I have to do is set the head I want to be the 'primary' >head and then fire up MPlayer and
then hit 'f' to enter fullscreen, and it always >Just Works(tm).  I would assume your card has a similar
function, unless you're >using multiple cards?  Even then, you should be able to set the card you want as
>primary, and then start up your movie.

>/S. Smith

this is how i do it as well, i've an ati aiw radeon 7500ve pci with win2k, but i was hoping to have a normal
desktop on my monitor while i watch movies on my
tv (composite out). but i havent figured how to get multiple screens (only a
stretched screen which makes mplayer play fullscreen movies very oddly.)

currently it plays fullscreen on the tv, but the monitor is black screen ;\

or even a way to switch my composite on, switch it as primary display, and
switch it off again with some simple thing ;p (tv-out seems to inhibit my tv-in
abilities)
Matt Maher | 2 Jul 2004 08:24

Re: Re: Dual-monitors?

Thanks everyone.  I had the build just before the -adapter option was 
included, I suppose.  I got the latest version and it works perfectly 
with that option.  I now have two mplayer icons on my quick-launch bar, 
one for mplayer normal, the other for display on my second monitor.

And to answer the question, yes, I am using two adapters.  My ATI card 
has video out, but only usable as a cloned display.

This works perfectly.  Thanks for all your help.  I can't express to 
people how awesome mplayer is.

-Matt
Diego Biurrun | 6 Jul 2004 13:42
Picon
Gravatar

Re: WinMPLauncher

Yua CaVan writes:
> Hi.  I just wanted to state that I have written a front-end for the win32
> version of mplayer.  The latest version ( 1.1.2 ) can be found at:
> 
> http://chameleon.gazellevillage.com/~twerp/WinMPLauncher.rar

Looks nice, as soon as it gets homepage, I will add it to the projects
page ;-)

Diego
Diego Biurrun | 6 Jul 2004 17:07
Picon
Gravatar

Re: Giving mplayer higher priority

Reimar Döffinger writes:
> I want to suggest giving MPlayer higher priority.
> Please tell me if you agree.
> 
> Reasons:
> 1) MPlayer is a (soft) realtime app, so it's actually correct ;-)
> 2) Even when only playing MP3s (uses < 2% of CPU), MPlayer stutters 
> otherwise when I do something CPU-bound in a foreground process or 
> simply start a new program (because foreground processes get higher 
> priority automatically).
> 
> I used HIGH_PRIORITY_CLASS, because the class inbetween HIGH and NORMAL 
> isn't available in Win9x (although the problem isn't so big there, it's 
> mostly with WinXP).
> 
> I'm not sure where to put this in mplayer.c, just took a random place.
> 
> --- mplayer.c.org	Fri May 14 20:25:04 2004
> +++ mplayer.c	Fri May 14 20:26:44 2004
>  <at>  <at>  -824,6 +824,10  <at>  <at> 
>  }
>  #endif /*WIN32 && USE_WIN32DLL*/
>  
> +#ifdef WIN32
> +SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
> +#endif
> +
>  #ifdef USE_TV
>    tv_param_immediate = 1;
>  #endif
(Continue reading)

Diego Biurrun | 6 Jul 2004 17:10
Picon
Gravatar

Re: Re: Giving mplayer higher priority

Reimar Döffinger writes:
> 
> >>>I want to suggest giving MPlayer higher priority.
> >>>Please tell me if you agree.
> >>
> >>agree, playing mp3 is bad unless start /high mplayer
> >>winamp's mp3 decoder is set to high thread by default.
> >>
> >>anyway this could be a suboption? -highpriority ? ;p
> >>just in case someone not like it...
> >>
> > 
> > Agree. Afair it caused some problems on win98.
> 
> It will most certainly cause problems if/when MPlayer hangs.
> I don't know how/where to add suboptions, maybe somebody else can 
> improve the patch?
> As far as I know most people use DirectSound with winamp, and 
> applications using DirectSound automatically get (slightly?) higher 
> priority under Windows... which once again convinces me the Windows is 
> one big mess.

Reimar, I assume you know how to add options/suboptions now...  Why
not improve this patch yourself? ;-)

Diego
mdew . | 7 Jul 2004 09:44
Picon

undefined reference to `load_termcap' ?

I'm rather new to mingw, just trying to compile mplayer...it gets
quiet far, but fails.

gcc -I. -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_
MPLAYER  -DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o nav_read.o
nav_read.c
ar rc libmpdvdkit.a css.o device.o dvd_input.o dvd_reader.o dvd_udf.o error.o if
o_print.o ifo_read.o ioctl.o libdvdcss.o nav_print.o nav_read.o
ranlib libmpdvdkit.a
make[1]: Leaving directory `/c/mingw/main/libmpdvdkit2'
windres -o osdep/mplayer-rc.o osdep/mplayer.rc
gcc -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-m
ath -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Ilibmpdemu
x -Iloader -Ilibvo            -o mplayer.exe mplayer.o mp_msg.o cpudetect.o code
c-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o su
b_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer
.o parser-mpcmd.o osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a  vidix/libvid
ix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg
2.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale
.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a
-lz -ljpeg      -ltermcap  -lws2_32 -lwinmm        libfaad2/libfaad2.a    -lopen
gl32 -lgdi32       -lws2_32                 -liconv -lintl -lm
mplayer.o(.text+0x432f):mplayer.c: undefined reference to `load_termcap'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1
Sascha Sommer | 7 Jul 2004 10:28
Picon
Favicon

Re: undefined reference to `load_termcap' ?

On Wednesday 07 July 2004 09:44, mdew . wrote:
> I'm rather new to mingw, just trying to compile mplayer...it gets
> quiet far, but fails.
>
> gcc -I. -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe
> -ffa st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -DHAVE_ MPLAYER  -DSYS_LINUX -D__USE_UNIX98
> -D_REENTRANT -D_GNU_SOURCE -c -o nav_read.o nav_read.c
> ar rc libmpdvdkit.a css.o device.o dvd_input.o dvd_reader.o dvd_udf.o
> error.o if o_print.o ifo_read.o ioctl.o libdvdcss.o nav_print.o nav_read.o
> ranlib libmpdvdkit.a
> make[1]: Leaving directory `/c/mingw/main/libmpdvdkit2'
> windres -o osdep/mplayer-rc.o osdep/mplayer.rc
> gcc -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe
> -ffast-m ath -fomit-frame-pointer -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -Ilibmpdemu x -Iloader -Ilibvo            -o
> mplayer.exe mplayer.o mp_msg.o cpudetect.o code c-cfg.o spudec.o playtree.o
> playtreeparser.o asxparser.o vobsub.o subreader.o su b_cc.o find_sub.o
> m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer .o
> parser-mpcmd.o osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a 
> vidix/libvid ix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a
> liba52/liba52.a libmpeg2/libmpeg 2.a   libaf/libaf.a
> libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale .a
> osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lz
> -ljpeg      -ltermcap  -lws2_32 -lwinmm        libfaad2/libfaad2.a   
> -lopen gl32 -lgdi32       -lws2_32                 -liconv -lintl -lm
> mplayer.o(.text+0x432f):mplayer.c: undefined reference to `load_termcap'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
>
(Continue reading)

Diego Biurrun | 9 Jul 2004 14:51
Picon
Gravatar

Re: Re: Dual-monitors?

Matt Maher writes:
> This works perfectly.  Thanks for all your help.  I can't express to 
> people how awesome mplayer is.

Feel free to donate ;-)

Diego
Yua CaVan | 9 Jul 2004 15:54

WinMPLauncher update

I just wanted to inform you of a new WinMPLauncher release.

v1.1.3 Features:

BUGFIX: fixed a bug where the drag and drop would give the same error as
   an empty playlist.

I have also written a small web page for people to download WinMPLauncher
and the source:

http://chameleon.gazellevillage.com/~twerp/WinMPLauncher.html

Yua CaVan

Gmane