From nobody Mon Nov 08 17:39:36 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6D976183BA64; Mon, 8 Nov 2021 17:39:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnyzY1l52z4pkv; Mon, 8 Nov 2021 17:39:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E95615DD6; Mon, 8 Nov 2021 17:39:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A8HdaUN042522; Mon, 8 Nov 2021 17:39:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A8Hdae6042521; Mon, 8 Nov 2021 17:39:36 GMT (envelope-from git) Date: Mon, 8 Nov 2021 17:39:36 GMT Message-Id: <202111081739.1A8Hdae6042521@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: a841ed53e14d - main - multimedia/ffmpeg: enable VMAF by default List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a841ed53e14d0c423fa796d19416d84ae79f3953 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=a841ed53e14d0c423fa796d19416d84ae79f3953 commit a841ed53e14d0c423fa796d19416d84ae79f3953 Author: Jan Beich AuthorDate: 2021-11-08 15:53:39 +0000 Commit: Jan Beich CommitDate: 2021-11-08 17:33:41 +0000 multimedia/ffmpeg: enable VMAF by default $ pkg install av1an $ RUST_BACKTRACE=1 av1an --vmaf --target-quality 95 -i foo.y4m -o foo.mp4 Scene detection [00:00:01] [######################################################################################] 100% 375/375 (213.31 fps, eta 0s) Queue: 2 Workers: 1 Passes: 2 Params: --threads=8 --cpu-used=6 --end-usage=q --cq-level=30 --tile-columns=2 --tile-rows=1 --kf-max-dist=240 --kf-min-dist=12 ⠁ [00:00:07] [------------------------------------------------------------------------------------------] 0% 0/375 (0.00 fps, eta 0s) thread '' panicked at 'VMAF calculation failed: Command: "ffmpeg" "-loglevel" "error" "-hide_banner" "-y" "-thread_queue_size" "1024" "-hide_banner" "-r" "60" "-i" ".9e6b01d/split/v_3500001.ivf" "-r" "60" "-i" "-" "-filter_complex" "[0:v]scale=1920x1080:flags=bicubic:force_original_aspect_ratio=decrease,setpts=PTS-STARTPTS[distorted];[1:v]select=not(mod(n\\,4)),setpts=0.2500*PTS,scale=1920x1080:flags=bicubic:force_original_aspect_ratio=decrease,setpts=PTS-STARTPTS[ref];[distorted][ref]libvmaf=log_fmt=\'json\':eof_action=endall:log_path=/tmp/.9e6b01d/split/00001.json:n_threads=0" "-f" "null" "-" Output: Output { status: ExitStatus( ExitStatus( 256, ), ), stdout: "", stderr: "", }', av1an-core/src/vmaf.rs:286:3 stack backtrace: 0: rust_begin_unwind 1: std::panicking::begin_panic_fmt 2: av1an_core::vmaf::run_vmaf 3: av1an_core::target_quality::TargetQuality::vmaf_probe 4: av1an_core::target_quality::TargetQuality::per_shot_target_quality_routine 5: av1an_core::broker::Broker::encode_chunk 6: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', av1an-core/src/broker.rs:53:35 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: as core::ops::function::FnOnce<()>>::call_once 4: crossbeam_utils::thread::scope 5: av1an_core::broker::Broker::encoding_loop 6: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', av1an-core/src/settings.rs:868:21 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: as core::ops::function::FnOnce<()>>::call_once 4: crossbeam_utils::thread::scope 5: av1an_core::settings::EncodeArgs::encode_file 6: av1an_cli::run note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. --- multimedia/ffmpeg/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index ba4de1fc5fcd..2428c5f40f57 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -2,7 +2,7 @@ PORTNAME= ffmpeg PORTVERSION= 4.4.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ @@ -48,7 +48,7 @@ OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO \ OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \ GNUTLS ICONV LAME LIBXML2 OPTIMIZED_CFLAGS OPUS RTCPU \ - THEORA V4L VAAPI VDPAU VORBIS VPX X264 X265 XCB XVID + THEORA V4L VAAPI VDPAU VMAF VORBIS VPX X264 X265 XCB XVID # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO