
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 (69)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (10553)
-
FFmpeg - cannot find ExecuteBinaryResponseHandler - Android/Java
20 juillet 2018, par pudilityI am trying to make a module for react-native that will change a video into a gif. I have little to no experience with android studios/java, but I would love to learn more ! I am using this library to convert the video to a gif. Here is my code :
package com.reactlibrary;
import android.widget.Toast;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.github.hiteshsondhi88.libffmpeg.FFmpeg;
public class RNGifMakerModule extends ReactContextBaseJavaModule {
private final ReactApplicationContext reactContext;
public RNGifMakerModule(ReactApplicationContext reactContext) {
super(reactContext);
this.reactContext = reactContext;
}
@Override
public String getName() {
return "RNGifMakerModule";
}
@ReactMethod
public void alert(String message) {
Toast.makeText(getReactApplicationContext(), "Error", Toast.LENGTH_LONG).show();
String[] cmd = {"-i"
, message
, "Image.gif"};
conversion(cmd);
}
public void conversion(String[] cmd) {
FFmpeg ffmpeg = FFmpeg.getInstance(this.reactContext);
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
}
@Override
public void onProgress(String message) {
}
@Override
public void onFailure(String message) {
}
@Override
public void onSuccess(String message) {
}
@Override
public void onFinish() {
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
e.printStackTrace();
}
}
}And I get this error :
Error:(43, 31) error: cannot find symbol class ExecuteBinaryResponseHandler
This seems odd to be, because in the documentation for ffmpeg-android-java it says to use almost exactly the same code.
Bounty
The bounty will be awarded to you if you can find a way to convert a video.mp4 into a gif. You do not necessarily have to use
FFmpeg
, but your solution has to work with java/android studios. -
cant find out how to make auto exit with ffmpeg in visual studio
27 juillet 2017, par Beni BlinchesI have a process which is a song that is playing audio from
youtube
usingffmpeg
, and I want the song to stop when its done. I have this functionprivate Process CreateStream(string path)
{
Program.current_s = new Process();
Program.current_s.Exited += new EventHandler(WhenSongEnds);
Program.current_s.StartInfo = new ProcessStartInfo
{
FileName = "cmd.exe",
Arguments = $"/C youtube-dl.exe -o - {path} | ffmpeg -i pipe:0 -ac 2 -f s16le -ar 48000 pipe:1",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
};
Console.WriteLine(" ffmpeg is ready");
Program.current_s.Start();
return Program.current_s;
}I tried to use
autoexit
andffplay
. But, I cant get it right, because I’m quite unfamiliar with the software -
ffmpeg in android build error,cant find stdout reference
26 janvier 2018, par 彭灵俊configure :
--arch=arm --disable-gpl
--disable-nonfree --enable-runtime-cpudetect
--disable-gray --disable-swscale-alpha
--disable-programs --disable-ffmpeg
--disable-ffplay --disable-ffprobe
--disable-ffserver --disable-doc
--disable-htmlpages --disable-manpages
--disable-podpages --disable-txtpages
--disable-avdevice --enable-avcodec
--enable-avformat --enable-avutil
--enable-swresample --enable-swscale
--disable-postproc --enable-avfilter
--disable-avresample --enable-network --disable-dxva2
--disable-vaapi --disable-vda --disable-vdpau
--disable-encoders --disable-hwaccels
--disable-muxers --disable-devices --disable-iconv
--enable-protocol=async
--prefix=/Users/sampeng/gitclone/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output
--cross-prefix=arm-linux-androideabi-
--enable-cross-compile
--target-os=android
--enable-pic
--enable-asm --enable-inline-asm --enable-optimizations --enable-debug --enable-smallmake and make install is ok.
but,when I link to one libffmpeg.so,happen some error
$CC=arm-linux-androideabi-gcc
FF_C_OBJ_FILES and FF_ASM_OBJ_FILES is ffmpeg *.o file list$CC -lm -lz -shared --sysroot=$FF_SYSROOT -Wl,
--no-undefined -Wl,-z,noexecstack $FF_EXTRA_LDFLAGS \
-Wl,-soname,libijkffmpeg.so \
$FF_C_OBJ_FILES \
$FF_ASM_OBJ_FILES \
$FF_DEP_LIBS \
-o $FF_PREFIX/libffmpeg.sothis while have some error :
libavfilter/vf_psnr.c:250: error: undefined reference to 'stdout'
libavfilter/vf_psnr.c:382: error: undefined reference to 'stdout'
libavfilter/vf_ssim.c:348: error: undefined reference to 'stdout'
libavfilter/vf_ssim.c:473: error: undefined reference to 'stdout'
libavformat/hls.c:773: error: undefined reference to 'atof'
libavformat/hlsproto.c:149: error: undefined reference to 'atof'
libavutil/file.c:85: error: undefined reference to 'mmap64'
libavutil/log.c:188: error: undefined reference to 'stderr'
libavutil/log.c:362: error: undefined reference to 'stderr'
libavutil/log.c:362: error: undefined reference to 'stderr'how to fix this ?