From owner-freebsd-questions@freebsd.org Sun Sep 24 19:05:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59A36E2DE94 for ; Sun, 24 Sep 2017 19:05:10 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-adx-1.mail.thdo.gradwell.net (outbound-queue-adx-1.mail.thdo.gradwell.net [212.11.71.246]) by mx1.freebsd.org (Postfix) with ESMTP id 2693F83BDB for ; Sun, 24 Sep 2017 19:05:09 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-edge-adx-1.mail.thdo.gradwell.net (outbound-edge-adx-1.mail.thdo.gradwell.net [212.11.71.230]) by outbound-queue-adx-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 26EF321CFB for ; Sun, 24 Sep 2017 20:04:08 +0100 (BST) Received: from cpc89374-jarr11-2-0-cust348.16-2.cable.virginm.net (HELO amd.asgard.uk) (82.13.141.93) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-adx-1.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Sun, 24 Sep 2017 20:04:07 +0100 From: Dave To: freebsd-questions@freebsd.org Subject: FFmpeg, x265 and slower encoding on faster PC Date: Sun, 24 Sep 2017 20:04:06 +0100 Message-ID: <2072440.QC9m92yOZi@amd.asgard.uk> User-Agent: KMail/4.14.10 (FreeBSD/10.3-RELEASE-p20; KDE/4.14.30; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 59c801a7.18465-2c4f-1 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2017 19:05:10 -0000 Before I head off into diags land and asking elsewhere, has anyone seen any weirdnes with x265 encoding speeds FFmpeg on FreeBSD? The specific weirdness isn't just slow encoding, that's expected in comparison to, eg x264. The specific weirdness is my 6 core AMD Phenom II 3.3GHz based PC is encoding significantly slower than my 2 core Intel i5 @2.6GHz (4 with hyperthreading). I'm wondering if either AMD is not as well supported or the Phemon II is just so old it doesn't have the right support. Encoding with X264 is far faster on the AMD the Intell box. AMD box: CPU: AMD Phenom(tm) II X6 1100T Processor (3311.05-MHz K8-class CPU) real memory = 8589934592 (8192 MB) nvidia0: on vgapci0 uname -a FreeBSD amd.asgard.uk 10.3-RELEASE-p20 FreeBSD 10.3-RELEASE-p20 #0: Wed Jul 12 03:13:07 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Intel Box CPU: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (2675.02-MHz K8-class CPU) real memory = 4294967296 (4096 MB) nvidia0: on vgapci0 uname -a FreeBSD testbox.asgard.uk 10.3-RELEASE-p20 FreeBSD 10.3-RELEASE-p20 #0: Wed Jul 12 03:13:07 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers built with FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Built with default options. I've tried swapping the video cards over to see if FFMPeG or the x265 library was using h/w acceleration.