On Fri, 20 Jan 2023 21:05:51 +0100 Thomas Wolff wrote: > Am 20.01.2023 um 16:58 schrieb Takashi Yano via Cygwin-apps: > > On Fri, 20 Jan 2023 16:47:01 +0100 > > Thomas Wolff wrote: > >> Am 20.01.2023 um 16:28 schrieb Takashi Yano via Cygwin-apps: > >>> On Fri, 20 Jan 2023 16:04:46 +0100 > >>> Thomas Wolff wrote: > >>>> Am 20.01.2023 um 11:35 schrieb Takashi Yano via Cygwin-apps: > >>>>> I would like to propose new package ffmpeg which is > >>>>> well known audio/video tool. ffmpeg is ported to > >>>>> many linux distributions and other unix like systems > >>>>> as well as widows. Since there is windows build, > >>>>> the demand of cygwin port might be relatively small, > >>>>> however its libraries are usefull for other softwares. > >>>>> > >>>>> I have posted another ITP for MOC (Music On Console) > >>>>> which is a ncurses based music player, whose plugin > >>>>> uses ffmpeg libraries. > >>>>> > >>>>> I have already prepared the ffmpeg package as follows. > >>>>> > >>>>> https://tyan0.yr32.net/cygwin/x86_64/release/ffmpeg/ > >>>>> > >>>>> To build ffmpeg, other new packages i.e., x264, x265 and > >>>>> xvidcore are required, I have proposed ITP at the same > >>>>> time. > >>>>> > >>>> It's also missing cygswscale-6.dll which I don't find anywhere. > >>> It should be in: > >>> > >>> https://tyan0.yr32.net/cygwin/x86_64/release/ffmpeg/libffmpeg/libffmpeg-5.1.2-1.tar.xz > >>> > >>> which is reuqired by ffmpeg-5.1.2-1.tar.xz. > >> OK, I had overlooked that in the ffmpeg folder. > >> Now I get: > >> > >> C:/cygwin64/bin/ffmpeg.exe: error while loading shared libraries: ?: > >> cannot open shared object file: No such file or directory > > Thanks for testing. > > > > You need libSDL2_2.0_0 package installed as described in > > https://tyan0.yr32.net/cygwin/x86_64/release/ffmpeg/ffmpeg-5.1.2-1.hint > A first test suggests that this build may be significantly (~70%) slower > than the native Windows build of ffmpeg, unfortunately. Do you see a > possible reason for that and a chance to compensate?
I tested the encoding speed of ffmpeg and the cygwin build indeed slower than windows build. In my test, the speed is almos half. However, I noticed that if "-threads 64" option is added, it gets faster. Even with this option, cygwin build is 15% slower. I am not sure why... -- Takashi Yano <takashi.y...@nifty.ne.jp>