From patchwork Sat Nov 29 06:14:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kenton, Stephen M." X-Patchwork-Id: 415953 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 82A8E1401D0 for ; Sat, 29 Nov 2014 17:14:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0ED6C339E0; Sat, 29 Nov 2014 06:14:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixfHxwU+G17p; Sat, 29 Nov 2014 06:14:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A141132DDE; Sat, 29 Nov 2014 06:14:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B6E931C29B3 for ; Sat, 29 Nov 2014 06:14:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B30E391AFD for ; Sat, 29 Nov 2014 06:14:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E5EJnNIoMX9G for ; Sat, 29 Nov 2014 06:14:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by whitealder.osuosl.org (Postfix) with ESMTP id CE65E91849 for ; Sat, 29 Nov 2014 06:14:06 +0000 (UTC) Received: from eastrmimpo305 ([68.230.241.237]) by eastrmfepo102.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20141129061405.JKLI12328.eastrmfepo102.cox.net@eastrmimpo305> for ; Sat, 29 Nov 2014 01:14:05 -0500 Received: from [192.168.1.2] ([68.97.2.10]) by eastrmimpo305 with cox id MJE51p00P0CxSiC01JE59c; Sat, 29 Nov 2014 01:14:05 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020201.5479642D.0155,ss=1,re=0.001,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=L9jDtZv8 c=1 sm=1 a=nr99965rMXYxaIVTx7+86Q==:17 a=5ZTteq0x3j8A:10 a=IkcTkHD0fZMA:10 a=r0-P3CVAJQVRMZ1FPu4A:9 a=QEXdDO2ut3YA:10 a=nr99965rMXYxaIVTx7+86Q==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <5479642D.1030408@ou.edu> Date: Sat, 29 Nov 2014 00:14:05 -0600 From: Steve Kenton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: buildroot@busybox.net References: <54796318.7010207@ou.edu> In-Reply-To: <54796318.7010207@ou.edu> X-Forwarded-Message-Id: <54796318.7010207@ou.edu> Subject: [Buildroot] [PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" [Buildroot][PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package I found I needed ffprobe on the target so this adds BR2_PACKAGE_FFMPEG_FFPROBE to make it an option Patch mailed to myself, reapplied with "patch -up1 <../ffpatch.eml" to a fresh buildroot-2014.08 and build tested Signed-off-by Stephen M. Kenton diff -ru buildroot-2014.08.clean/package/ffmpeg/Config.in buildroot-2014.08.mod/package/ffmpeg/Config.in --- buildroot-2014.08.clean/package/ffmpeg/Config.in 2014-09-01 06:20:56.000000000 -0500 +++ buildroot-2014.08.mod/package/ffmpeg/Config.in 2014-11-28 00:14:42.642463528 -0600 @@ -49,6 +49,12 @@ help FFserver is a streaming server for both audio and video. +config BR2_PACKAGE_FFMPEG_FFPROBE + bool "Build ffprobe" + help + FFprobe is a utility to determine the audio and video + characteristics of a container file. + config BR2_PACKAGE_FFMPEG_POSTPROC bool "Build libpostproc" depends on BR2_PACKAGE_FFMPEG_GPL diff -ru buildroot-2014.08.clean/package/ffmpeg/ffmpeg.mk buildroot-2014.08.mod/package/ffmpeg/ffmpeg.mk --- buildroot-2014.08.clean/package/ffmpeg/ffmpeg.mk 2014-09-01 06:20:56.000000000 -0500 +++ buildroot-2014.08.mod/package/ffmpeg/ffmpeg.mk 2014-11-28 00:14:48.802463646 -0600 @@ -25,7 +25,6 @@ --disable-pic \ --enable-optimizations \ --disable-extra-warnings \ - --disable-ffprobe \ --enable-avdevice \ --enable-avcodec \ --enable-avformat \ @@ -103,6 +102,12 @@ FFMPEG_CONF_OPT += --disable-ffserver endif +ifeq ($(BR2_PACKAGE_FFMPEG_FFPROBE),y) +FFMPEG_CONF_OPT += --enable-ffprobe +else +FFMPEG_CONF_OPT += --disable-ffprobe +endif + ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) FFMPEG_CONF_OPT += --enable-postproc else