
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (61)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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
Sur d’autres sites (12170)
-
get screenshot from video using ffmpeg
6 mars 2016, par LocNguyenI’m building a Wordpress site that allow admin to upload and attach a video clip to a post. After the video was uploaded successfully, I use ffmpeg to get a screenshot from that video, and that screenshot would be the post featured image.
In my case, the screenshot was generated successfully. In next step, I use Wordpress function media_sideload_image() to copy that screenshot to WP ’uploads’ folder and make that image as post featured image.
But for some reasons, the media_sideload_image() returned a WP_Error : http_404. I have checked the url of the temporary screenshot image, but it was valid and display a screenshot nicely.
In this case, I guess that the media_sideload_image() was called after the ffmpeg command, but at that time, the ffmpeg process has not completely finished so the media_sideload_image() encountered http_404 error.
So the question is : Is there any way to make sure the screenshot was saved completely before running media_sideload_image() function after that, to avoid http_404 error ?
Thank you very much !
-
Revision eb8c667570 : Force_split on 16x16 blocks in variance partition. Force split on 16x16 block (
18 mars 2015, par MarcoChanged Paths :
Modify /vp9/common/vp9_rtcd_defs.pl
Modify /vp9/encoder/vp9_avg.c
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_encoder.h
Modify /vp9/encoder/x86/vp9_avg_intrin_sse2.c
Force_split on 16x16 blocks in variance partition.Force split on 16x16 block (to 8x8) based on the minmax over the 8x8 sub-blocks.
Also increase variance threshold for 32x32, and add exit condiiton in
choose_partition
(with very safe threshold) based on sad used to select reference frame.Some visual improvement near moving boundaries.
Average gain in psnr/ssim : 0.6%, some clips go up 1 or 2%.
Encoding time increase (due to more 8x8 blocks) from 1-4%, depending on clip.Change-Id : I4759bb181251ac41517cd45e326ce2997dadb577
-
Android ICS FFMPEG scale video not working
20 avril 2015, par Android-DeveloperI am using Guardian Project Android Java FFMPEG library to resize videos. Current code which is working on
android 5.0.1 / 5.1.0 / 4.4.4
:File fileTmp = getCacheDir();
FfmpegController fc = null;
try {
fc = new FfmpegController(this, fileTmp);
} catch (IOException e) {
e.printStackTrace();
}
String path = Environment.getExternalStorageDirectory().getPath() + "/Movies/nexus.mp4";
final String outPath = Environment.getExternalStorageDirectory().getPath() + "/Movies/test.mp4";
final Clip out = new Clip(path);
try {
if (fc != null) {
fc.convert(out, outPath, new ShellUtils.ShellCallback() {
@Override
public void shellOut(String shellLine) {
Log.e("", "SHELL OUT: " + shellLine);
}
@Override
public void processComplete(int exitValue) {
Log.e("", "PROCESS COMPLETE: " + exitValue);
}
});
}
} catch (Exception e) {
e.printStackTrace();
}Using this code on Android 4.0.4 (Ice Cream Sandwich) doesn’t do anything. While testing on other devices
exitValue
inprocessComplete
is always equal to0
, but on ICS it’s11
. Here is the output in LogCat :SHELL OUT: /data/data/org.hardartcore.ffmpeg/app_bin/ffmpeg -y -i /mnt/sdcard/Movies/NEXUS.mp4 -ab 160k -r ntsc-film -vf scale=568:320 -strict -2 /mnt/sdcard/Movies/Test.mp4
PROCESS COMPLETE: 11I don’t think it’s something from ffmpeg, more like a problem when the library is trying to execute ffmpeg executable from raw folder in internal memory, but I can’t see any logs or errors which indicate that too.
So my question is, if there is any mistake which I am doing using / running this code or something which can prevent ffmpeg executable from running on old devices with Android ICS ?
Thanks in advance !