
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 -
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5647)
-
How to apply complex filters more than once with different parameters while avoiding "too many inputs" errors in ffmpeg ?
15 mai 2019, par Hugh WalxetI’m trying to apply the displace complex filter more than once in a video, at specific intervals with no proportional relationship. In each instance, I want to apply the displace filter with slightly different parameters. If I list it twice in the commands for the complex_filter, I get an error saying I have too many inputs.
I might as well ask, separately, how I could apply the same filter with the same parameters more than once in a video, without re-iterating the same filter more than once in the command line. Put differently, how do I run a filter as specific times without writing the command several times sequentially, each with a different trigger time ?
C :\Users\Me>ffmpeg -i c :\users\Me\desktop\house2.mp4 -i c :\users\Me\desktop\house3.mp4 -i c:users\Me\desktop\house4.mp4 -filter_complex "shuffleframes=enable=’between(t,21,27)’:mapping=0 9 2 1 10 5 8 6 7 4 3, shuffleframes=enable=’between(t,3,7)’:mapping=0 4 9 1 10 5 8 6 2 7 4 3, shuffleframes=enable=’between(t,15,19)’:mapping=0 6 2 1 10 5 8 3 7 4 9, [0][1][2] displace=enable=’between(t,9,10)’:edge=wrap, [0][1][2] displace=enable=’between(t,20,21)’:edge=smear" c :\users\Me\desktop\houseglitch.mp4
-
How can I apply complex filters more than once with different parameters while avoiding "too many inputs" errors
15 mai 2019, par Hugh WalxetI’m trying to apply the displace complex filter more than once in a video, at specific intervals with no proportional relationship. In each instance, I want to apply the displace filter with slightly different parameters. If I list it twice in the commands for the complex_filter, I get an error saying I have too many inputs.
I might as well ask, separately, how I could apply the same filter with the same parameters more than once in a video, without re-iterating the same filter more than once in the command line. Put differently, how do I run a filter as specific times without writing the command several times sequentially, each with a different trigger time ?
C:\Users\Me>ffmpeg -i c:\users\Me\desktop\house2.mp4 -i c:\users\Me\desktop\house3.mp4 -i c:users\Me\desktop\house4.mp4 -filter_complex "shuffleframes=enable='between(t,21,27)':mapping=0 9 2 1 10 5 8 6 7 4 3, shuffleframes=enable='between(t,3,7)':mapping=0 4 9 1 10 5 8 6 2 7 4 3, shuffleframes=enable='between(t,15,19)':mapping=0 6 2 1 10 5 8 3 7 4 9, [0][1][2] displace=enable='between(t,9,10)':edge=wrap, [0][1][2] displace=enable='between(t,20,21)':edge=smear" c:\users\Me\desktop\houseglitch.mp4
-
Crash while loading JNI Library
23 juin 2016, par Amira Elsayed IsmailI am using ffmpeg4android_lib to compress video in my android application, it is working in all devices but it does not work in s6 edge and s7 edge
my code as following :
String inputFile = FileManager.getInstance().getRealPathFromVideoUri(context, video);
Log.i("INPUT FILE PATH", inputFile);
LoadJNI vk = new LoadJNI();
try {
String workFolder = context.getApplicationContext().getFilesDir().getAbsolutePath();
String outputFile = FileManager.getInstance().getFileFullName(ForSaleConstants.VIDEO_FOLDER,
String.format(ForSaleConstants.VIDEO_NAME_FILE_FORMAT,
ForSaleConstants.VIDEO_NAME_FILE_NAME_PREFIX, System.currentTimeMillis()));
String complexCommand[] = {
"ffmpeg", "-y"
, "-i", inputFile
, "-strict", "experimental"
, "-s", "320x240"
, "-r", "25"
, "-aspect", "4:3"
, "-ab", "48000"
, "-ac", "2"
, "-vcodec", "mpeg4"
, "-movflags", "+faststart"
, "-ar", "22050"
, "-b", "2097k"
, outputFile};
vk.run(complexCommand, workFolder, context.getApplicationContext());
Log.i("OUTPUT FILE PATH", outputFile);
return outputFile;
} catch (Throwable e) {
ForSaleServerManager.getInstance().logAndroidError("Couldn't compress video file");
return null;
}