
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (57)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (5290)
-
Java Runtime Command with disrupt/additonal command
11 juin 2014, par oneofakindActually the example below is not what I want to do, its sort of related to what I really wanna do. Its basically having to execute a shell command or a cmd command and executing another command relating to the first command. Somehow it stops/proceeds/respond to the first command executed.
It’s actually ffmpeg execution what I wanna do, recording the screen. Problem is that I cannot execute a "q" key to stop the recording. Example above is sort of a simple, but I hope applicable, to my main problem.
Here is the simplified problem :
StringBuffer output = new StringBuffer();
String domainName = "google.com";
String command = "ping -t " + domainName;
Process p;
try {
p = Runtime.getRuntime().exec(command);
p.waitFor();
BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line = "";
while ((line = reader.readLine())!= null) {
output.append(line + "\n");
}
} catch (Exception ec) {
ec.printStackTrace();
}
System.out.println(output);What will happen here is that it will ping endlessly unless interrupted to end the ping, what will happen to the code is that it will get stuck in the line :
p.waitFor();
That is because, I believe, it is waiting for the command to finish before it releases it. What I want to do is to execute a "ctrl+C" or command that will stop this execution and then manipulate the result continuing through
BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
........
........I hope you guys got what I am trying to say. :D
Please help. Thanks.
-
Need help working ffmpeg in php
15 mars 2015, par Lukas KaneI am working on a video uploading site. I have never converted videos from other users though. All signs point towards using ffmpeg, but I am honestly lost. I have installed it properly within my htdocs folder in my xampp folder, and I have the upload file php setup correctly, because it does upload the video file and moves the file to the right folder. I do have what I would think to be working ffmpeg code within the php code, but it is not working. I need to make all the files .mp4 no matter what the input file format is. I would appreciate someone helping to figure out my problem so much.
"htdocs\new-video\upload\index.php" is where I have the code for ffmpeg and uploading the file. The htdocs\phpffmpeg\ folder is just the regular structure of phpffmpeg and ffmpeg installation.
This is the code for the uploading and ffmpeg exec.
$name = $_FILES["file"]["name"];
$temp = explode(".", $_FILES["file"]["name"]);
$extension = end($temp);
move_uploaded_file($_FILES["file"]["tmp_name"],
"(my file location that I move the file to)" . $_FILES["file"]["name"]);
shell_exec("ffmpeg -i $name.$extension -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 $name.mp4");Like I said, the uploading and moving to folder works just fine. It is the not converting that is the problem. All links, tips, and information are greatly appreciated. Hope everyone has a great day.
-
Failed to compile x264 library for android, error description : clang:error no such file or directory
12 janvier 2019, par Lee.SaipengI use a shell script to compile the x264 library to the android platform, the architecture is armeabi-v7a,The x264 library was cloned from github。
I am sure I have those directories,and I checked the search engine such as google,No one encountered the same situation
ANDROID_NDK=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b
SYSROOT=$ANDROID_NDK/platforms/android-16/arch-arm
CROSS_PREFIX=$ANDROID_NDK/toolchains/arm-linux-androideabi-
4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon -
D__ANDROID__ -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__"
EXTRA_LDFLAGS="-nostdlib"
PREFIX=`pwd`/libs/armeabi-v7a
./configure --prefix=$PREFIX \
--host=arm-linux \
--sysroot=$SYSROOT \
--cross-prefix=$CROSS_PREFIX \
--extra-cflags="$EXTRA_CFLAGS" \
--extra-ldflags="$EXTRA_LDFLAGS" \
--enable-pic \
--enable-static \
--enable-strip \
--disable-cli \
--disable-asm
# --disable-win32thread \
# --disable-avs \
# --disable-swscale \
# --disable-lavf \
# --disable-ffms \
# --disable-gpac \
# --disable-lsmash \
# --disable-opencl
make clean
make STRIP= -j8 install || exit 1
cp -f $PREFIX/libx264.a $PREFIXThe error is here
enter image description here
The result is that this x264 library cannot be used. Can someone help me ? thanks very muchOk, I generated the config.log file during the compilation of x264, I hope it is an error log file, the log content is as follows :
checking for -Werror=unknown-warning-option... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -Werror=unknown-warning-option --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -o conftest
cc1: error: -Werror=unknown-warning-option: no option -Wunknown-warning-option
--------------------------------------------------
Failed program was:
--------------------------------------------------
int main (void) { return 0; }
--------------------------------------------------
x264 configure script
Command line options: "--prefix=/Users/Project/bishe/x264/libs/armeabi-v7a" "--host=arm-linux" "--sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm" "--cross-prefix=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-" "--extra-cflags=-march=armv5te" "-msoft-float" "-D__ANDROID__" "-D__ARM_ARCH_5TE__" "-D__ARM_ARCH_5TEJ__" "--extra-ldflags=-nostdlib" "--enable-pic" "--enable-static" "--enable-strip" "--disable-cli" "--disable-asm" "--disable-win32thread" "--disable-avs" "--disable-swscale" "--disable-lavf" "--disable-ffms" "--disable-gpac" "--disable-lsmash" "--disable-opencl"
checking whether /Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc works... yes
checking whether /Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
checking for pthread_create(0,0,0,0); in pthread.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -lpthread --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:21: fatal error: pthread.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { pthread_create(0,0,0,0); return 0; }
--------------------------------------------------
checking for pthread_create(0,0,0,0); in pthread.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:21: fatal error: pthread.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { pthread_create(0,0,0,0); return 0; }
--------------------------------------------------
checking for log2f(2); in math.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:18: fatal error: math.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { log2f(2); return 0; }
--------------------------------------------------
checking for strtok_r(0, 0, 0); in string.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:20: fatal error: string.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { strtok_r(0, 0, 0); return 0; }
--------------------------------------------------
checking for clock_gettime(CLOCK_MONOTONIC, 0); in time.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:18: fatal error: time.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { clock_gettime(CLOCK_MONOTONIC, 0); return 0; }
--------------------------------------------------
checking for clock_gettime(CLOCK_MONOTONIC, 0); in time.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -lrt --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:18: fatal error: time.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { clock_gettime(CLOCK_MONOTONIC, 0); return 0; }
--------------------------------------------------
checking whether defined(MAP_PRIVATE) is true... no
--------------------------------------------------
conftest.c:1:22: fatal error: sys/mman.h: No such file or directory
#include <sys></sys>mman.h>
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <sys></sys>mman.h>
#include
#if !(defined(MAP_PRIVATE))
#error
#endif
--------------------------------------------------
checking for uint32_t test_vec __attribute__ ((vector_size (16))) = {0,1,2,3}; in stdint.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
In file included from conftest.c:1:0:
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { uint32_t test_vec __attribute__ ((vector_size (16))) = {0,1,2,3}; return 0; }
--------------------------------------------------
checking for stdio.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -fPIC -shared -Wl,-Bsymbolic --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -o conftest
conftest.c:1:19: fatal error: stdio.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { return 0; }
--------------------------------------------------
checking for -fno-tree-vectorize... yes
checking for fseeko(stdin,0,0); in stdio.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -O3 -ffast-math -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -s -o conftest
conftest.c:1:19: fatal error: stdio.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { fseeko(stdin,0,0); return 0; }
--------------------------------------------------
checking for fseeko64(stdin,0,0); in stdio.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -O3 -ffast-math -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -s -o conftest
conftest.c:1:19: fatal error: stdio.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { fseeko64(stdin,0,0); return 0; }
--------------------------------------------------
checking for _fseeki64(stdin,0,0); in stdio.h... no
Failed commandline was:
--------------------------------------------------
/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc conftest.c -O3 -ffast-math -Wall -I. -I$(SRCPATH) --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -march=armv5te -msoft-float -D__ANDROID__ -D__ARM_ARCH_5TE__ -D__ARM_ARCH_5TEJ__ -std=gnu99 -D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize --sysroot=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b/platforms/android-16/arch-arm -nostdlib -lm -s -o conftest
conftest.c:1:19: fatal error: stdio.h: No such file or directory
#include
^
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include
int main (void) { _fseeki64(stdin,0,0); return 0; }
--------------------------------------------------
checking for -Wshadow... yes
checking for -Wmaybe-uninitialized... yes
platform: ARM
byte order: little-endian
system: LINUX
cli: no
libx264: internal
shared: no
static: yes
asm: no
interlaced: yes
avs: no
lavf: no
ffms: no
mp4: no
gpl: yes
thread: no
opencl: no
filters: crop select_every
lto: no
debug: no
gprof: no
strip: yes
PIC: yes
bit depth: all
chroma format: all