* [Buildroot] [PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package
[not found] <54796318.7010207@ou.edu>
@ 2014-11-29 6:14 ` Steve Kenton
2014-12-02 0:55 ` [Buildroot] [PATCH] ffprobe: V2.0 " Steve Kenton
0 siblings, 1 reply; 3+ messages in thread
From: Steve Kenton @ 2014-11-29 6:14 UTC (permalink / raw)
To: 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 <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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] ffprobe: V2.0 Add ffprobe option to ffmpeg package
2014-11-29 6:14 ` [Buildroot] [PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package Steve Kenton
@ 2014-12-02 0:55 ` Steve Kenton
2014-12-03 22:20 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Steve Kenton @ 2014-12-02 0:55 UTC (permalink / raw)
To: buildroot
On 11/29/2014 12:14 AM, Steve Kenton wrote:
V2.0 updated for buildroot 2014.11
[Buildroot][PATCH] ffprobe: V2.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
Signed-off-by Stephen M. Kenton <skenton@ou.edu>
---
diff -ru buildroot-2014.11.clean/package/ffmpeg/Config.in buildroot-2014.11/package/ffmpeg/Config.in
--- buildroot-2014.11.clean/package/ffmpeg/Config.in 2014-12-01 03:19:00.000000000 -0600
+++ buildroot-2014.11/package/ffmpeg/Config.in 2014-12-01 10:41:51.550502361 -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_AVRESAMPLE
bool "Build libavresample"
help
diff -ru buildroot-2014.11.clean/package/ffmpeg/ffmpeg.mk buildroot-2014.11/package/ffmpeg/ffmpeg.mk
--- buildroot-2014.11.clean/package/ffmpeg/ffmpeg.mk 2014-12-01 03:19:00.000000000 -0600
+++ buildroot-2014.11/package/ffmpeg/ffmpeg.mk 2014-12-01 10:31:58.950490993 -0600
@@ -23,7 +23,6 @@
--enable-logging \
--enable-optimizations \
--disable-extra-warnings \
- --disable-ffprobe \
--enable-avdevice \
--enable-avcodec \
--enable-avformat \
@@ -104,6 +103,12 @@
FFMPEG_CONF_OPTS += --disable-avresample
endif
+ifeq ($(BR2_PACKAGE_FFMPEG_FFPROBE),y)
+FFMPEG_CONF_OPTS += --enable-ffprobe
+else
+FFMPEG_CONF_OPTS += --disable-ffprobe
+endif
+
ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
FFMPEG_CONF_OPTS += --enable-postproc
else
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] ffprobe: V2.0 Add ffprobe option to ffmpeg package
2014-12-02 0:55 ` [Buildroot] [PATCH] ffprobe: V2.0 " Steve Kenton
@ 2014-12-03 22:20 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-12-03 22:20 UTC (permalink / raw)
To: buildroot
>>>>> "Steve" == Steve Kenton <skenton@ou.edu> writes:
> On 11/29/2014 12:14 AM, Steve Kenton wrote:
> V2.0 updated for buildroot 2014.11
> [Buildroot][PATCH] ffprobe: V2.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
> Signed-off-by Stephen M. Kenton <skenton@ou.edu>
Committed with the description tweaked a bit, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-03 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <54796318.7010207@ou.edu>
2014-11-29 6:14 ` [Buildroot] [PATCH] ffprobe: V1.0 Add ffprobe option to ffmpeg package Steve Kenton
2014-12-02 0:55 ` [Buildroot] [PATCH] ffprobe: V2.0 " Steve Kenton
2014-12-03 22:20 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox