Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Kenton <skenton@ou.edu>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package
Date: Sat, 29 Nov 2014 00:14:05 -0600	[thread overview]
Message-ID: <5479642D.1030408@ou.edu> (raw)
In-Reply-To: <54796318.7010207@ou.edu>

[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 <skenton@ou.edu>
---
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

       reply	other threads:[~2014-11-29  6:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54796318.7010207@ou.edu>
2014-11-29  6:14 ` Steve Kenton [this message]
2014-12-02  0:55   ` [Buildroot] [PATCH] ffprobe: V2.0 Add ffprobe option to ffmpeg package Steve Kenton
2014-12-03 22:20     ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5479642D.1030408@ou.edu \
    --to=skenton@ou.edu \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox