From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id 883193858D32 for ; Sun, 22 Jan 2023 12:21:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 883193858D32 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from HP-Z230 (aj135041.dynamic.ppp.asahi-net.or.jp [220.150.135.41]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 30MCKlRr023231 for ; Sun, 22 Jan 2023 21:20:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 30MCKlRr023231 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1674390047; bh=wIUa4+uBgacAqHoVH/OGqihWZHFk1VGYDbfb998snvU=; h=Date:From:To:Subject:In-Reply-To:References:From; b=onNbjsn5FmbPEC+GeRqNgo114gZI9R1QvP8ao3A6/VS2X7M448D6rtyTRTPGhSEQs EFvLmhrq04EezIEjVb4PTYstv7YPbA1pNSD0xdAFROy1Fua/hlcGZ73adB/EOxXbQk iz/SqroQl9COieEt88R+/1AL0sOiDvlBnK3KxYFV2pQywDCsxDXw4QExtHTF1ODf2j EQXwzIZ6MmOIExjAzc63A6Zotm7q0zxwr8v7C0RtSpb9WakUxwXwi1qAVqFxeZJ+zV owBck4+gHsoXlIvSYMBkNjKvUKZJxFgTkdcFmGtmr8tiqsDmf/cBTZeTcC7Q5F2fnx zkRgKNZSHIE4A== X-Nifty-SrcIP: [220.150.135.41] Date: Sun, 22 Jan 2023 21:20:47 +0900 From: Takashi Yano To: cygwin-apps@cygwin.com Subject: Re: [ITP] ffmpeg (5.1.2) Message-Id: <20230122212047.f35ba52aaa87e7941b235e67@nifty.ne.jp> In-Reply-To: <790f3692-3ab3-9b4a-ee6b-6fc379a02975@towo.net> References: <20230120193540.a32d7180d8fa690f886ef625@nifty.ne.jp> <65ef3d84-8f64-ca50-9b4b-59ba84f84d17@towo.net> <20230121002839.85eff008694876f87259c34a@nifty.ne.jp> <8a058926-ab8e-3f2f-1cc7-d1f7437b12bb@towo.net> <20230121005830.157ff2f79b0606b8dc6d90d3@nifty.ne.jp> <790f3692-3ab3-9b4a-ee6b-6fc379a02975@towo.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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