
Recherche avancée
Autres articles (54)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (7526)
-
FFmpeg in a bash script ( quotes )
20 mars 2015, par Guillaume VillenaI’m working on a script that open a text file with some ffmpeg commands. ( about 10 command generated from an other project ) Each command are working when i copy paste than into the terminal manually, but when the script run, simple commands work but I am stuck on a " No such filter : ..." error.
Here is my command :
-i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp4 -i 5.mp4 -i 6.mp4 -filter_complex '[0:0][0:1][1:0][1:1][2:0][2:1][3:0][3:1][4:0][4:1][5:0][5:1]concat=n=6:v=1:a=1:unsafe=1 [v] [a]' -map '[v]' -map '[a]' -aspect 16:9 -s 1280x720 -c:v mpeg4 -c:a libmp3lame -y track_0.mp4
I think all the problem is in the " ’ " i try to escape them with " \’ " but ffmpeg is telling me
No such filter: '''
Here is my script assuming that the variable ARGS is set dynamically ( for the example I have set it manually ) :
#!/bin/bash
ARGS="-i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp4 -i 5.mp4 -i 6.mp4 -filter_complex '[0:0][0:1][1:0][1:1][2:0][2:1][3:0][3:1][4:0][4:1][5:0][5:1]concat=n=6:v=1:a=1:unsafe=1 [v] [a]' -map '[v]' -map '[a]' -aspect 16:9 -s 1280x720 -c:v mpeg4 -c:a libmp3lame -y track_0.mp4"
ffmpeg ${ARGS}Can you help me ?
-
Powershell Job Memory Consumption Issue
14 juillet 2016, par Matt WallI’ve been struggling with this for a week now and have exhausted all the methods and options I have found online. I am hoping someone here will be able to help me out with this.
I am using powershell to start 8 jobs, each job running FFmpeg to stream a 7 minute file to a remote RTMP server. This is pulling from a file on the disk and each job uses a different file. The command is in a do while loop so that it is constantly restreaming.
This is causing the shell I launched the jobs from to accumulate a massive amount of memory, consuming all that it can. In 24 hours it consumed 30 of the 32 GB of my server.
Here is my launch code, any help would be appreciated.
start-job -Name v6 -scriptblock {
do { $d = $true; $f = Invoke-Expression -Command "ffmpeg -re -i `"C:\Shares\Matthew\180p_3000k.mp4`" -vcodec copy -acodec copy -f flv -y rtmp://<ip>/<appname>/<streamname>"; $f = $null }
while ($d = $true)
</streamname></appname></ip>}
I’ve tried to receive the jobs and pipe it to out-null, I’ve tried setting $f to $null before starting the do while loop, and some other things I found online but to no avail. Thanks everyone for your time !
-
Android transplant FFmpeg, call libffmpeg.so function appears ffmpeg.c : 8 : error : undefined reference to 'avcodec_version'
24 avril 2015, par user4827738I need to use FFmpeg on Android, I use the FFmpeg compiled [ffmpeg for
android][1] got libffmpeg.so, I will put the NDK libffmpeg.so
platforms\android-8\arch-arm\usr\lib
and several in the same
directory, the script file on the
platforms\android-8\arch-arm\usr\include
directory, and then
reference the way I wrote on the network Android.mk file, call
avcodec_version in C code () ; function, and then prompts ffmpeg.c : 8 :
error : undefined reference to ’avcodec_version, please help me, I’m on
windows7 and ubuntu 14.04 are compiled, without success,thank you very
much !android.mk code content
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
PATH_TO_FFMPEG := $(LOCAL_PATH)/ffmpeg
LOCAL_C_INCLUDE += $(PATH_TO_FFMPEG)
LOCAL_STATIC_LIBRARIES := -lffmpeg
LOCAL_MODULE := ffmpeg
LOCAL_MODULE := hello-ffmpeg
LOCAL_SRC_FILES := ffmpeg.c
include $(BUILD_SHARED_LIBRARY)libffmpeg.so code calls the function
#include
#include
#include
#include <libavcodec></libavcodec>avcodec.h>
JNIEXPORT void JNICALL Java_cn_znv_ffmpeg_FFmpegNative_getVersion(JNIEnv * env, jobject obj){
avcodec_version();
}error message when ndk-build
E:\EasyCam\HLS\FFmpeg01\jni>ndk-build "Compile thumb : hello-ffmpeg <= ffmpeg.c
SharedLibrary : libhello-ffmpeg.so
D:/AndroidEditor/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/pre
built/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-li
nux-androideabi/bin/ld.exe: E:/EasyCam/HLS/FFmpeg01//obj/local/armeabi/objs/hell
o-ffmpeg/ffmpeg.o: in function Java_cn_znv_ffmpeg_FFmpegNative_getVersion:E:/Eas
yCam/HLS/FFmpeg01//jni/ffmpeg.c:8: error: undefined reference to 'avcodec_version'
collect2: ld returned 1 exit status
make: *** [E:/EasyCam/HLS/FFmpeg01//obj/local/armeabi/libhello-ffmpeg.so] Error 1