Skip to contentSkip to conversation

mjpegtools: new package

PATCH Superseded Steve Kenton 2 participants 2 messages Jan 16, 2015 – Jan 18, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mjpegtools: new package

The mjpegtools programs are a set of tools
that can do recording of videos and playback,
simple cut-and-paste editing and the MPEG
compression of audio and video under Linux.

http://mjpeg.sourceforge.net

Signed-off-by Stephen M. Kenton <[email protected]>
---
Build tested with both uClibc and glibc against last nights snapshot

Every buildroot patch I generate turns out to be a learning experience So, let's see what I don't know this time ...

Finding the higher level dependencies is still beyond me, so I think I'll concentrate on learning to use git as a next step. Thanks for all the help getting these packages in shape. Obviously I'm working on multi-media stuff. If there is a wish list for other related packages let me know and I'll try and work them up for submission.

package/Config.in +1 -0
diff -pruN buildroot.ori/package/Config.in buildroot/package/Config.in
@@ -19,6 +19,7 @@ menu "Audio and video applications"
 	source "package/lame/Config.in"
 	source "package/libvpx/Config.in"
 	source "package/madplay/Config.in"
+	source "package/mjpegtools/Config.in"
 	source "package/modplugtools/Config.in"
 	source "package/mpd/Config.in"
 	source "package/mpd-mpc/Config.in"
package/mjpegtools/Config.in +14 -0
diff -pruN buildroot.ori/package/mjpegtools/Config.in buildroot/package/mjpegtools/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_MJPEGTOOLS
+	bool "mjpegtools"
+	select BR2_PACKAGE_JPEG
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  The mjpegtools programs are a set of tools
+	  that can do recording of videos and playback,
+	  simple cut-and-paste editing and the MPEG
+	  compression of audio and video under Linux.
+
+	  http://mjpeg.sourceforge.net
+
+comment "mjpegtools needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/mjpegtools/mjpegtools.mk +13 -0
diff -pruN buildroot.ori/package/mjpegtools/mjpegtools.mk buildroot/package/mjpegtools/mjpegtools.mk
@@ -0,0 +1,13 @@
+###############################################################################
+#
+# mjpegtools
+#
+###############################################################################
+
+MJPEGTOOLS_VERSION = 2.1.0
+MJPEGTOOLS_SITE = http://sourceforge.net/projects/mjpeg/files/mjpegtools/$(MJPEGTOOLS_VERSION)
+MJPEGTOOLS_DEPENDENCIES = jpeg
+MJPEGTOOLS_LICENSE = GPLv2
+MJPEGTOOLS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
#1 lore raw

PATCH 1/1 mjpegtools: new package

Steve, All,

On 2015-01-16 12:13 -0600, Steve Kenton spake thusly:

Quoted 5 lines

The mjpegtools programs are a set of tools
that can do recording of videos and playback,
simple cut-and-paste editing and the MPEG
compression of audio and video under Linux.

Quoted 8 lines

http://mjpeg.sourceforge.net

Signed-off-by Stephen M. Kenton <[email protected]>
---
Build tested with both uClibc and glibc against last nights snapshot

Every buildroot patch I generate turns out to be a learning experience So, let's see what I don't know this time ...

We were all learners at tsome point! ;-)

Quoted 1 line

Finding the higher level dependencies is still beyond me,

We basically have a set of toolchains for various presets, like with or without threads, with or withour locales, with glibc or uclibc, on different architectures, and we have some autobuilders that constantly build random package selections with a randomly choosen toolchain:

http://autobuild.buildroot.org/
http://autobuild.buildroot.org/toolchains/

It is interesting to test with at least uClibc and glibc (like you did), but also with a very "light" toolchain that has no fancy stuff: no threads, no IPv6, no locales... such as this one:
http://autobuild.buildroot.org/toolchains/configs/br-arm-basic.config

Use it as thus:

wget -O defconfig http://autobuild.buildroot.org/toolchains/configs/br-arm-basic.config
make BR2_DEFCONFIG=$(pwd)/defconfig defconfig
make menuconfig (select whatever package you want to test)
make

It helps find the obvious basic requirements.

Then, for the not-so-obvious requirements, we have the autobuilders to do all the testing. ;-)

Quoted 3 lines

so I think
I'll concentrate on learning to use git as a next step. Thanks for all the help getting these packages in shape.

Cheers! Thanks for the submissions! :-)

Quoted 3 lines

Obviously I'm working
on multi-media stuff. If there is a wish list for other related packages let me know and I'll try and work them up for submission.

Well, you can have a look at the Patchwork, there are quite a few multi-media related patches pending:

http://patchwork.ozlabs.org/project/buildroot/list/

[--SNIP--]

I did not find anything highly suspicious in that patch. Good. :-)

However, we now like to store hashes for the tarballs we download, so we can test for integrity :

http://buildroot.net/downloads/manual/manual.html#adding-packages-hash

Sourceforget provides SHA1 hashes when you click on the (i) button next to the file you want to download.

Care to respin with that file added, please?

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'