
Recherche avancée
Autres articles (105)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (14846)
-
Remuxing mp4 and change resolution with ffmpeg programmatically
9 janvier 2015, par arielI have a remuxing.c example working from ffmpeg but I need to change resolution to minimize file size, anybody can explain me how to do that ? Or if there is another way to "compress" mp4 files without command line ? I’m a begginer with FFmpeg and need to send video files from android to server, and I’m deploying a NDK library to make this job because FFmpeg command-line implementation have some limitations and is very slow.
Thanks
-
Quick way to extract frames in low resolution
29 mars 2013, par LescottI have a video (640x320) which I need to decode in frame array (
BufferedImage
's in 100x100 size).I can solve this problem with IMediaReader and MediaListenerAdapter by the following slow way.
// create reader and add listener
reader = ToolFactory.makeReader("video.mp4");
reader.setBufferedImageTypeToGenerate(BufferedImage.TYPE_3BYTE_BGR);
reader.addListener(new ImageSnapListener());
//change scale of pictures in onVideoPicture
public void onVideoPicture(IVideoPictureEvent event) {
...check the stream number...
results.add(event.getImage().getScaledInstance(100, 100, Image.SCALE_SMOOTH));
}But this way is really slow. Even without images scaling it works 30 seconds on 54 MB file, whereas
ffmpeg
can extract 100x100 frames in 8 seconds.ffmpeg -vf select='eq(pic_type\,I)' -i video.mp4 -s 100x100 /tmp/frames/%0d.bmp
So, is there any faster in-memory way to extract frames in low resolution ?
-
ffmpeg resizing video puts it at wrong resolution
16 décembre 2015, par agmcleodI have a 1080p video that i’m trying to resize for an iOS app upload. So i tried scaling it to the iPhone 6 resolution of 1334x750 :
ffmpeg -i WrathTrailer.mp4 -strict -2 -vf scale=1334:750 WrathTrailer1334x750.mp4
The output file comes to 1333x750. iTunes connect won’t accept it. Any ideas ?