Add ffmpeg
and ffprobe
commands
This commit is contained in:
parent
e8b02e36a7
commit
69a43e9b14
11
cmd/ffmpeg
Normal file
11
cmd/ffmpeg
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
BASE_DIR=$(dirname $0)
|
||||
|
||||
for LIB_DIR in $BASE_DIR/lib/{$(getprop ro.system.product.cpu.abilist)}; do
|
||||
[ -d "$LIB_DIR" ] && break
|
||||
unset -v LIB_DIR
|
||||
done
|
||||
|
||||
LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \
|
||||
app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"
|
11
cmd/ffprobe
Normal file
11
cmd/ffprobe
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
BASE_DIR=$(dirname $0)
|
||||
|
||||
for LIB_DIR in $BASE_DIR/lib/{$(getprop ro.system.product.cpu.abilist)}; do
|
||||
[ -d "$LIB_DIR" ] && break
|
||||
unset -v LIB_DIR
|
||||
done
|
||||
|
||||
LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \
|
||||
app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffprobe "$@"
|
Loading…
Reference in New Issue
Block a user