mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
[BOARD/PACKAGE] add FFMPEG to record&play /dev/fb0 + alsa capture (#48)
* [PACKAGE] downgrade FFMPEG(add) & X264 - use ffmpeg-3.1 thus downgrade ver. to working SDL1.2 - downgrade x264 to be inline with former ffmpeg - uncomment FFSERVER build instructions (it is available in 3.1 version) * [BOARD] - add `ffplay` & `ffmpeg` apps to record&play - add `arecord` script for AUDIO capture (use alsaloop workaround) - update appLinks with "params=&" for bg launch - use `pkill` instead 'killall` for scripts (warning: it also checks for bash running under the same name) - use FFPROBE to detect media format in `ffplay` - for X264 use sources.buildroot.net (code.videolan.org src only works with git method) - rm redundant usb Applink - add 0003-ffplay-custom-sdlk.patch (to make hotkeys usable in miyoo)
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
X264_VERSION = 35417dcd65a57321fbadf98c9a4cff1cb741db4b
|
||||
X264_SITE = https://code.videolan.org/videolan/x264/-/archive/$(VERSION)/x264-$(VERSION).tar.gz
|
||||
X264_LICENSE = GPL-2.0+
|
||||
X264_VERSION = 72d53ab2ac7af24597a824e868f2ef363a22f5d4
|
||||
X264_SITE = http://sources.buildroot.net
|
||||
X264_LICENSE = GPLv2+
|
||||
X264_DEPENDENCIES = host-pkgconf
|
||||
X264_LICENSE_FILES = COPYING
|
||||
X264_INSTALL_STAGING = YES
|
||||
X264_CONF_OPTS = --disable-avs --disable-lavf --disable-swscale
|
||||
X264_CONF_OPTS = --disable-avs
|
||||
|
||||
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
||||
# nasm needed for assembly files
|
||||
X264_DEPENDENCIES += host-nasm
|
||||
X264_CONF_ENV += AS="$(HOST_DIR)/bin/nasm"
|
||||
# yasm needed for assembly files
|
||||
X264_DEPENDENCIES += host-yasm
|
||||
X264_CONF_ENV += AS="$(HOST_DIR)/usr/bin/yasm"
|
||||
else ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_aarch64),y)
|
||||
# We need to pass gcc as AS, because the ARM assembly files have to be
|
||||
# preprocessed
|
||||
@@ -36,11 +36,6 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
X264_CONF_OPTS += --disable-thread
|
||||
endif
|
||||
|
||||
# Even though the configure script is not generated by autoconf, x264
|
||||
# uses config.sub/config.guess, so we want up-to-date versions of
|
||||
# them.
|
||||
X264_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK
|
||||
|
||||
# the configure script is not generated by autoconf
|
||||
define X264_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) $(X264_CONF_ENV) ./configure \
|
||||
|
||||
Reference in New Issue
Block a user