Runtime pkg for avplay

This commit is contained in:
Norman Feske
2019-03-21 13:59:25 +01:00
parent 6680c328ff
commit 8987bbf4b6
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Simple media player based on libav
The avplay component requests a file system with the label "input" and expects
to find a file called "mediafile" in the root of this file system.

View File

@@ -0,0 +1,6 @@
_/src/avplay
_/src/libc
_/src/libav
_/src/sdl
_/src/vfs
_/src/zlib

1
recipes/pkg/avplay/hash Normal file
View File

@@ -0,0 +1 @@
2019-03-21 c31c5af8df6d6607e9d434a52226071753e82a59

View File

@@ -0,0 +1,38 @@
<runtime ram="64M" caps="200" binary="avplay">
<requires>
<file_system label="input"/>
<nitpicker/>
<audio_out/>
<timer/>
</requires>
<content>
<rom label="avplay"/>
<rom label="libc.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="zlib.lib.so"/>
<rom label="sdl.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"/>
</content>
<config>
<arg value="avplay"/>
<arg value="input/mediafile"/>
<sdl_audio_volume value="100"/>
<libc rtc="/dev/rtc" stdout="/dev/log" stderr="/dev/log"/>
<vfs>
<dir name="dev">
<log/> <inline name="rtc">2000-01-01 00:00</inline>
</dir>
<dir name="input"> <fs label="input"/> </dir>
</vfs>
</config>
</runtime>