
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (74)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (9611)
-
Révision 24162 : Ticket #4245 : Correction empêchant la création de certains répertoires, s’ils on...
11 décembre 2018, par marcimat@rezo.netÀ partir de SPIP 3.3-dev, on supprime la gestion de la constante _CREER_DIR_PLAT de la fonction `sous_repertoire` ; on tolère un _ final sur les noms de répertoires à créer.
Corrige, entre autres un bug dans le plugin Bigup empêchant la réception de certains fichiers.
-
Android and ffmpeg, x264 bitrate and videosize
11 décembre 2012, par bruxI am concatenating two mp4 files by first converting them to mpeg, once I have concatenated the mpegs I want to produce a final larger mp4.
The following code works fine in order to produce the mpegs
ffmpeg -i one.mp4 -q:v 2 -vcodec mpeg2video -acodec copy one.mpg
ffmpeg -i two.mp4 -q:v 2 -vcodec mpeg2video -acodec copy two.mpgAfter concatenating these 2 files (using java) I produce the final mp4 like this :
ffmpeg -i joined.mpg -vcodec libx264 -acodec copy joined.mp4
The command works and a low quality mp4 is produced since I am not specifying a 'bitrate' or 'videosize' in the MediaRecorder class object.
Here are the settings I use on my MediaRecorder object when encoding the video in Android
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);if I add the following two lines in order to increase the bitrate and videosize of one.mp4 and two.mp4 then the resultant mp4's playback fine using the default player on android, but after converting to mpg and then concatenating and then using the above ffmpeg command to encode a new mp4, th resultant joined.mp4 is less quality than the original mp4's are started out with (one.mp4 and two.mp4)
mediaRecorder.setVideoEncodingBitRate(2000000);
mediaRecorder.setVideoSize(800, 480);Do i need to add more parameters to my ffmpeg commands in order to do this successfully ?
-
FFMPEG (WINDOWS) - Jerky Videos with vidstabdetect & vidstabtransform
26 avril 2016, par Onish MistryI require to stabilize multiple video clips and finally stitch all the clips, along with images into one final video. These "Scenes" consisting video clips as well as images also can have overlays like Texts and/or other Images.
Basically the code I have in place as of now does everything for me just fine, where all the video clips are first converted into frame images. It then reads all the frames, puts on the overlays, adds a fade transition in-between "Scenes".
Coming to the issue I am facing with stabilization, when I extract image frames out of the stabilized video clip and simply try to recreate video from those extracted image frames, it comes out with a weird jerk, almost like as if it is missing those stabilization calculations or something, not sure. It still looks a bit stabilized but with missing frames. I have checked duration and number of frames extracted, everything matches with the source, non-stabilized video.
Below is the command used to stabilize the video, result of which is a perfectly stabilized video.
ffmpeg -i 1.MOV -r 30 -vf vidstabdetect=result="transforms.trf" -f null NUL && ffmpeg -i 1.MOV -r 30 -vf vidstabtransform=smoothing=30:input="transforms.trf" -vcodec libx264 -b:v 2000k -f mp4 results.mp4
Below is the command I use for video to image :
ffmpeg -i results.mp4 -r 30 -qscale 1 -f image2 %d.jpg
Below is the command I use for image to video :
ffmpeg -i %d.jpg -r 30 -vcodec libx264 -b:v 2000k -f mp4 final.mp4
Any help or suggestions are welcomed and appreciated.
Thanks,