[FFmpeg-devel] [MinGW] build FFplay without "-mwindows"

Baptiste Coudurier baptiste.coudurier
Wed May 6 01:46:17 CEST 2009

Michael Niedermayer wrote:
> On Tue, May 05, 2009 at 03:46:08PM -0700, Baptiste Coudurier wrote:
>> Alessandro Grassi wrote:
>>> 2009/5/6 Baptiste Coudurier <baptiste.coudurier at gmail.com>
>>>> Hi,
>>>> Alessandro Grassi wrote:
>>>>> I think it's a good idea to remove the "-mwindows" switch when FFplay is
>>>>> built under MinGW. Because of this switch, FFplay doesn't produce any
>>>>> console output (like help, program info, codec parameters ...). I did it
>>>> and
>>>>> works OK, both a console window and a video/waveform window are created.
>>>>> P.S. The same may apply to cygwin too, probably. I'm not sure since I
>>>> only
>>>>> use MinGW
>>>> Do you know why this doesn't affect ffmpeg binary ?
>>>>  <https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel>
>>> looks like -mwindows is used together with SDL switches (-lSDL, -lSDLmain),
>>> and SDL is not used in FFmpeg itself
>> I see, do you know why SDL is adding -mwindows if it seems not necessary ?
> i dont know but i suspect that it is because the S in SDL stands for shit ;)
> btw, thats a great opertunity to remind us all how c00l it would be had
> ffplay mplayer/libvo support. libcaca/libaa alone should justify that :)

Well, I've started working on this :)

It seems however that libvo is quite entangled in mplayer and uses many
of its internal structures. I've started extracting it, but don't hold
your breath :/

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list