Skip to contentSkip to conversation

ffprobe: V1.0 Add ffprobe option to ffmpeg package

PATCH New Steve Kenton 2 participants 3 messages Nov 29, 2014 – Dec 3, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 ffprobe: V1.0 Add ffprobe option to ffmpeg package

In reply to a message not in the archive

[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 <[email protected]>
---

package/ffmpeg/Config.in +6 -0
diff -ru buildroot-2014.08.clean/package/ffmpeg/Config.in buildroot-2014.08.mod/package/ffmpeg/Config.in
@@ -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
package/ffmpeg/ffmpeg.mk +6 -1
diff -ru buildroot-2014.08.clean/package/ffmpeg/ffmpeg.mk buildroot-2014.08.mod/package/ffmpeg/ffmpeg.mk
@@ -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
#2 lore raw

PATCH 1/1 ffprobe: V2.0 Add ffprobe option to ffmpeg package

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 <[email protected]>
---

package/ffmpeg/Config.in +6 -0
diff -ru buildroot-2014.11.clean/package/ffmpeg/Config.in buildroot-2014.11/package/ffmpeg/Config.in
@@ -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
package/ffmpeg/ffmpeg.mk +6 -1
diff -ru buildroot-2014.11.clean/package/ffmpeg/ffmpeg.mk buildroot-2014.11/package/ffmpeg/ffmpeg.mk
@@ -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
#3 lore raw

PATCH 1/1 ffprobe: V2.0 Add ffprobe option to ffmpeg package

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Steve" == Steve Kenton <[email protected]> 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 <[email protected]>

Committed with the description tweaked a bit, thanks.

Signature · 1 line
Bye, Peter Korsgaard