add avconv support
This commit is contained in:
committed by
Norman Feske
parent
000dd13860
commit
98f052076f
2
recipes/pkg/avconv/README
Normal file
2
recipes/pkg/avconv/README
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
Simple software-rendering demo application
|
||||
6
recipes/pkg/avconv/archives
Normal file
6
recipes/pkg/avconv/archives
Normal file
@@ -0,0 +1,6 @@
|
||||
_/src/avconv
|
||||
_/src/libc
|
||||
_/src/libav
|
||||
_/src/vfs
|
||||
_/src/posix
|
||||
_/src/zlib
|
||||
1
recipes/pkg/avconv/hash
Normal file
1
recipes/pkg/avconv/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-04-28 bf8ed8bc1c0676b5b46374063f1c41272c224d53
|
||||
44
recipes/pkg/avconv/runtime
Normal file
44
recipes/pkg/avconv/runtime
Normal file
@@ -0,0 +1,44 @@
|
||||
<runtime ram="128M" caps="200" binary="avconv">
|
||||
|
||||
<requires>
|
||||
<framebuffer/>
|
||||
<file_system label="output"/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="avconv"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="zlib.lib.so"/>
|
||||
<rom label="posix.lib.so"/>
|
||||
<rom label="avfilter.lib.so"/>
|
||||
<rom label="avutil.lib.so"/>
|
||||
<rom label="avcodec.lib.so"/>
|
||||
<rom label="avformat.lib.so"/>
|
||||
<rom label="swscale.lib.so"/>
|
||||
<rom label="avresample.lib.so"/>
|
||||
<rom label="avdevice.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<arg value="avconv"/>
|
||||
<!-- <arg value="-v"/> <arg value="100"/> -->
|
||||
<arg value="-f"/> <arg value="fbdev"/>
|
||||
<arg value="-r"/> <arg value="20"/>
|
||||
<arg value="-i"/> <arg value="/dev/lxfb"/>
|
||||
<!-- <arg value="-t"/> <arg value="30"/> -->
|
||||
<arg value="-qscale"/> <arg value="1"/>
|
||||
<arg value="vfs/out.avi"/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<dir name="dev">
|
||||
<log/>
|
||||
<inline name="rtc">2018-01-01 00:01</inline>
|
||||
<lxfb/>
|
||||
</dir>
|
||||
<dir name="vfs"><fs label="output"/></dir>
|
||||
</vfs>
|
||||
</config>
|
||||
|
||||
</runtime>
|
||||
20
recipes/src/avconv/content.mk
Normal file
20
recipes/src/avconv/content.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
content: src/app/avconv lib/import LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libav)
|
||||
|
||||
lib/import:
|
||||
mkdir -p $@
|
||||
cp $(REP_DIR)/$@/import-av.inc $@
|
||||
|
||||
src/app/avconv:
|
||||
mkdir -p $@
|
||||
cp $(PORT_DIR)/src/lib/libav/avconv.c \
|
||||
$(PORT_DIR)/src/lib/libav/avconv_opt.c \
|
||||
$(PORT_DIR)/src/lib/libav/avconv_filter.c \
|
||||
$(PORT_DIR)/src/lib/libav/cmdutils.* $@
|
||||
cp $(REP_DIR)/src/app/avconv/* $@
|
||||
cp $(REP_DIR)/src/lib/libav/config.h $@
|
||||
rm $@/avconv.patch
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/libav/LICENSE $@
|
||||
1
recipes/src/avconv/hash
Normal file
1
recipes/src/avconv/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-04-28 befe86737c7e2a1fdf73acf4abc644fa875df38a
|
||||
8
recipes/src/avconv/used_apis
Normal file
8
recipes/src/avconv/used_apis
Normal file
@@ -0,0 +1,8 @@
|
||||
base
|
||||
os
|
||||
so
|
||||
libc
|
||||
vfs
|
||||
libav
|
||||
posix
|
||||
framebuffer_session
|
||||
Reference in New Issue
Block a user