
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (35)
-
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5550)
-
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