
Recherche avancée
Autres articles (37)
-
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (7257)
-
Android FFmpeg Unrecognized option
4 juillet 2017, par Saef MythI am trying to compresses a video in android using ffmepg. Here is my code :
String[] cmd = {"-y -i" ,myVideo.getAbsolutePath().replaceAll(" ", "%20"),"-vf","-s 640x480","-threads 5","-preset ultrafast","-strict -2", (local_paths.getLocal_images() + File.separator + "test.mp4")};
FFmpeg ffmpeg = FFmpeg.getInstance(context);
try {
//Load the binary
ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onStart() {
}
@Override
public void onFailure() {
}
@Override
public void onSuccess() {
}
@Override
public void onFinish() {
}
});
} catch (FFmpegNotSupportedException e) {
// Handle if FFmpeg is not supported by device
}
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
Log.e("FFmpeg", "onStart");
}
@Override
public void onProgress(String message) {
Log.e("FFmpeg", message);
}
@Override
public void onFailure(String message) {
Log.e("FFmpeg", message);
}
@Override
public void onSuccess(String message) {
Log.e("FFmpeg", message);
}
@Override
public void onFinish() {
Log.e("FFmpeg", "onFinish");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
// Handle if FFmpeg is already running
}The problem is that almost all commands that I use cause
Unrecognized option
error :> 07-04 11:31:21.471 24610-25450/com.network.imyth.network E/FFmpeg:
> onStart 07-04 11:31:22.091 24610-25460/com.network.imyth.network
> D/FFmpeg: Running publishing updates method 07-04 11:31:22.101
> 24610-24610/com.network.imyth.network E/FFmpeg: ffmpeg version n3.0.1
> Copyright (c) 2000-2016 the FFmpeg developers 07-04 11:31:22.101
> 24610-24610/com.network.imyth.network E/FFmpeg: built with gcc 4.8
> (GCC) 07-04 11:31:22.101 24610-24610/com.network.imyth.network
> E/FFmpeg: configuration: --target-os=linux
> --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
> --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
> --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
> -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags= 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libavutil 55.
> 17.103 / 55. 17.103 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libavcodec 57.
> 24.102 / 57. 24.102 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libavformat 57.
> 25.100 / 57. 25.100 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libavdevice 57.
> 0.101 / 57. 0.101 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libavfilter 6.
> 31.100 / 6. 31.100 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libswscale 4.
> 0.100 / 4. 0.100 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libswresample 2.
> 0.101 / 2. 0.101 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: libpostproc 54.
> 0.100 / 54. 0.100 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: Unrecognized option 'y
> -i'. 07-04 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: Error splitting the argument list: Option not found 07-04
> 11:31:22.101 24610-24610/com.network.imyth.network E/FFmpeg: ffmpeg
> version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
> built with gcc 4.8 (GCC)
> configuration: --target-os=linux
> --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
> --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
> --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
> -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
> libavutil 55. 17.103 / 55. 17.103
> libavcodec 57. 24.102 / 57. 24.102
> libavformat 57. 25.100 / 57. 25.100
> libavdevice 57. 0.101 / 57. 0.101
> libavfilter 6. 31.100 / 6. 31.100
> libswscale 4. 0.100 / 4. 0.100
> libswresample 2. 0.101 / 2. 0.101
> libpostproc 54. 0.100 / 54. 0.100
> Unrecognized option 'y -i'.
> Error splitting the argument list: Option not found 07-04 11:31:22.101
> 24610-24610/com.network.imyth.network E/FFmpeg: onFinishso what the problem i get this Unrecognized option Error splitting the argument list : Option not found
im using this LIB ffmpeg-android-java
-
lavf : Use av_gettime_relative()
6 mai 2014, par Olivier Langloislavf : Use av_gettime_relative()
Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.Signed-off-by : Olivier Langlois <olivier@trillion01.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Flash Media Server Recording Delay
14 novembre 2011, par CoreyI have an application where a user can record themselves singing along to a song. Once I receive the NetStream status event 'Record.Start' I start playing an audio file. Once the audio completes, I stop recording. Next, I have a script that runs FFMPEG to combine the recorded video/audio with the same music file. The problem I'm finding is that there is a noticeable delay between the recorded audio and the music. It seems also that this delay depends on network speed as it varies depending on the network. Can I determine this delay through the FMS dynamically ?