
Recherche avancée
Autres articles (67)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (11621)
-
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 ?
-
Android MediaCodec change resolution
3 mars 2015, par user3265561I am passing the output of a MediaExtractor into a MediaCodec decoder, and then passing the decoder’s output buffer to an encoder’s input buffer. The problem I have is that I need to reduce the resolution from the 1920x1080 output from the decoder to 1280x720 by the time it comes out of the encoder. I can do this using a Surface, but I am trying to target Android 4.1 so will need to achieve this another way. Does anyone know how to change the resolution of a video file using MediaCodec but in a way that is compatible with 4.1 ?