[MPlayer-users] Re: Cygwin problems

Sascha Sommer saschasommer at freenet.de
Sat Apr 19 10:30:07 CEST 2003


> Diego Biurrun wrote:
> > Sascha Sommer wrote:
> >>>> Btw. Diego can you try if ffmjpeg works for you on mingw or cygwin?
> >>>>
> >>>> It crashes for me in mjpeg_decode_init in libavcodec/mjpeg.c line
710.
> >>>
> >>> Sure, do you have any sample files?  Please post some URLs or send
them
> >>> to me in private.
> >>
> >>
http://mplayerhq.hu/MPlayer/samples/V-codecs/MJPEGs/pegasus_mjpeg/http://mpl
> >>
> >>
ayerhq.hu/MPlayer/samples/V-codecs/MJPEGs/pegasus_mjpeg/miss_congeniality_pe
> >>
> >> gasus_mjpg.avi
> >>
> >> Or any other file from the MJPEGs directory
> >
> > Works fine with 0_90, but with main it seems to crash somewhere in
> > libavcodec.  mplayer -v output attached.
> >
> > The main branch appears to be royally broken at the moment.  MPlayer
> > hangs after a few seconds with all the movies I tried.  Does it work for
> > you?
>
> I managed to play the miss_congeniality sample, apparently it is short
> enough not to trigger the hang, but it pauses after around 2 seconds for
> a second.  mplayer -v output attached.
>


It plays everything that doesn't need ffmjpeg.
Maybe the new timer stuff is broken for you?
You can disable it by removing timer-win from osdep/Makefile
That will work only for cygwin.


> A:   0.1 V:   0.0 A-V:  0.117 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.1 V:   0.0 A-V:  0.098 ct:  0.004    2/  2   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.2 V:   0.1 A-V:  0.103 ct:  0.008    3/  3   0%  0%  0.0% 0 0 0%
> A:   0.2 V:   0.1 A-V:  0.108 ct:  0.013    4/  4   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.3 V:   0.2 A-V:  0.089 ct:  0.017    5/  5   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.3 V:   0.2 A-V:  0.094 ct:  0.021    6/  6   0%  0%  0.0% 0 0 0%
> A:   0.3 V:   0.3 A-V:  0.076 ct:  0.025    7/  7   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.3 V:   0.3 A-V:  0.057 ct:  0.029    8/  8   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.4 V:   0.3 A-V:  0.062 ct:  0.033    9/  9   0%  0%  0.0% 0 0 0%
> A:   0.4 V:   0.4 A-V:  0.067 ct:  0.038   10/ 10   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.5 V:   0.4 A-V:  0.048 ct:  0.042   11/ 11   0%  0%  0.0% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.5 V:   0.5 A-V:  0.053 ct:  0.046   12/ 12   0%  0%  0.0% 0 0 0%
> A:   0.6 V:   0.5 A-V:  0.058 ct:  0.050   13/ 13  95% 36%  8.7% 0 0 0%
> getch2: can't get number of input events: 6
> A:   0.6 V:   0.5 A-V:  0.062 ct:  0.054   14/ 14  94% 36%  8.4% 0 0 0%
> getch2: can't get number of input events: 6
> A:   1.0 V:   0.6 A-V:  0.392 ct:  0.058   15/ 15  93% 516313%  8.2% 0 0
0%
> A:   1.0 V:   0.6 A-V:  0.350 ct:  0.063   16/ 16  92% 481895% 11.7% 1 0
0%
> getch2: can't get number of input events: 6
> A:   1.0 V:   0.7 A-V:  0.309 ct:  0.067   17/ 17  90% 451778% 11.0% 2 0
0%
> getch2: can't get number of input events: 6
> A:   1.0 V:   0.7 A-V:  0.290 ct:  0.071   18/ 18  89% 425205% 10.3% 3 0
0%
> A:   1.0 V:   0.8 A-V:  0.272 ct:  0.075   19/ 19  89% 401584% 10.0% 3 0
0%
> getch2: can't get number of input events: 6
> A:   1.0 V:   0.8 A-V:  0.253 ct:  0.079   20/ 20  88% 380450%  9.8% 4 0
0%
> getch2: can't get number of input events: 6
> A:   1.1 V:   0.8 A-V:  0.258 ct:  0.083   21/ 21  87% 361429%  9.5% 5 0
0%
> A:   1.1 V:   0.9 A-V:  0.240 ct:  0.088   22/ 22  87% 344220%  9.5% 5 0
0%
> getch2: can't get number of input events: 6
> A:   1.1 V:   0.9 A-V:  0.198 ct:  0.092   23/ 23  87% 328575%  9.2% 6 0
0%
> getch2: can't get number of input events: 6
> A:   1.2 V:   1.0 A-V:  0.203 ct:  0.096   24/ 24  86% 314292%  8.8% 6 0
0%
> A:   1.2 V:   1.0 A-V:  0.184 ct:  0.100   25/ 25  86% 301198%  8.8% 7 0
0%
> getch2: can't get number of input events: 6
> A:   1.2 V:   1.0 A-V:  0.166 ct:  0.104   26/ 26  85% 289152%  8.4% 7 0
0%
> getch2: can't get number of input events: 6
> A:   1.2 V:   1.1 A-V:  0.147 ct:  0.108   27/ 27  85% 278032%  8.3% 8 0
0%
> A:   1.3 V:   1.1 A-V:  0.129 ct:  0.113   28/ 28  85% 267735%  8.1% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.3 V:   1.2 A-V:  0.110 ct:  0.117   29/ 29  85% 258175%  8.0% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.3 V:   1.2 A-V:  0.092 ct:  0.121   30/ 30  84% 249273%  7.9% 8 0
0%
> A:   1.3 V:   1.3 A-V:  0.073 ct:  0.125   31/ 31  84% 240965%  7.7% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.3 V:   1.3 A-V:  0.055 ct:  0.129   32/ 32  84% 233193%  7.6% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.4 V:   1.3 A-V:  0.036 ct:  0.133   33/ 33  84% 225907%  7.5% 8 0
0%
> A:   1.4 V:   1.4 A-V:  0.018 ct:  0.135   34/ 34  83% 219062%  7.4% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.4 V:   1.4 A-V:  0.022 ct:  0.137   35/ 35  83% 212621%  7.2% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.5 V:   1.5 A-V:  0.004 ct:  0.137   36/ 36  83% 206547%  7.1% 8 0
0%
> A:   1.8 V:   1.5 A-V:  0.334 ct:  0.141   37/ 37  83% 401584%  7.0% 8 0
0%
> getch2: can't get number of input events: 6
> A:   1.8 V:   1.5 A-V:  0.292 ct:  0.146   38/ 38  83% 390732%  8.1% 9 0
0%
> getch2: can't get number of input events: 6
> A:   1.8 V:   1.6 A-V:  0.250 ct:  0.150   39/ 39  83% 380450%  7.9% 10 0
0%
> A:   1.9 V:   1.6 A-V:  0.232 ct:  0.154   40/ 40  83% 370696%  7.7% 11 0
0%
> getch2: can't get number of input events: 6
> A:   1.9 V:   1.7 A-V:  0.213 ct:  0.158   41/ 41  82% 361429%  7.6% 12 0
0%
> getch2: can't get number of input events: 6
> A:   1.9 V:   1.7 A-V:  0.195 ct:  0.162   42/ 42  82% 352615%  7.5% 12 0
0%
> A:   1.9 V:   1.8 A-V:  0.176 ct:  0.167   43/ 43  82% 344220%  7.5% 13 0
0%
> getch2: can't get number of input events: 6
> A:   2.0 V:   1.8 A-V:  0.158 ct:  0.171   44/ 44  82% 336215%  7.4% 14 0
0%
> getch2: can't get number of input events: 6
> A:   2.0 V:   1.8 A-V:  0.139 ct:  0.175   45/ 45  82% 328575%  7.3% 14 0
0%
> A:   2.0 V:   1.9 A-V:  0.121 ct:  0.179   46/ 46  82% 321274%  7.3% 15 0
0%
> getch2: can't get number of input events: 6
> A:   2.0 V:   1.9 A-V:  0.126 ct:  0.183   47/ 47  82% 314291%  7.2% 15 0
0%
> getch2: can't get number of input events: 6
> A:   2.0 V:   2.0 A-V:  0.084 ct:  0.187   48/ 48  82% 307604%  7.2% 16 0
0%
> A:   2.1 V:   2.0 A-V:  0.089 ct:  0.192   49/ 49  82% 301197%  7.0% 16 0
0%
> getch2: can't get number of input events: 6
> A:   2.1 V:   2.0 A-V:  0.070 ct:  0.196   50/ 50  82% 295050%  7.0% 17 0
0%
> getch2: can't get number of input events: 6
> A:   2.1 V:   2.1 A-V:  0.052 ct:  0.200   51/ 51  82% 289150%  6.9% 17 0
0%
> ds_fill_buffer: EOF reached (stream: video)
> A:   2.1 V:   2.1 A-V:  0.052 ct:  0.204   51/ 51  82% 289150%  7.0% 17 0
0%

^^^^^^^
something is really wrong here

> getch2: can't get number of input events: 6

You won't get those messages if you use cygwin console together with mingw
mplayer.
I nevertheless hope to get msys console working one day.

Sascha



More information about the MPlayer-users mailing list