
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (62)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (14189)
-
Use ffmpeg to resize one input's dimension to match another input's dimension
18 novembre 2022, par Hans GDI need to resize one image A to match one dimension of another input B (make height of A match the height of B, for example). I will do this for several pairs of images in a folder, for which I will use a script in the end, but I wanted to know if this particular operation can be done only with
ffmpeg
.

Again, the final script could read the image, find the size and use
scale=-1:height
to accomplish the final goal, but is it posible to make the title's operation only withffmpeg
?

-
Create 256 color palette video
2 mars 2020, par rlcabralI already have this working by converting the source video to GIF with :
ffmpeg -y -t 5 source.mp4 -vf fps=10,scale=480:-1,smartblur=ls=-0.5,crop=iw:ih-2:0:0 -hide_banner -loglevel panic output.gif
And then converting the GIF to MP4, like so :
ffmpeg -y animated.gif -hide_banner -pix_fmt yuvj420p -loglevel panic -an -loglevel panic final.mp4
What I want is to convert
source.mp4
directly tofinal.mp4
, and have the same 256 color palette as a normal GIF.I tried merging both commands together, and although it generates a MP4, the result is a 16 bit video, surprisingly smaller than a 8 bit video.
Do I need to generate a palette first with
palettegen
and then re-encode the video with this palette ? -
Xuggle IMediaWriter error
10 décembre 2013, par prinsenIm testing xuggle and ran into a strange error. I have looked at the example in the documentation, and the xuggle-related code is identical. (http://www.xuggle.com/public/documentation/java/api/com/xuggle/mediatool/IMediaWriter.html)
public class StorageServer {
private final static String storage = "storage.mp4";
private final static IMediaWriter writer = ToolFactory.makeWriter(storage);
private final static Dimension dimension = new Dimension(320, 240);
protected final static Logger logger = LoggerFactory.getLogger(StorageServer.class);
public static void main(String[] args) {
writer.addVideoStream(0, 0, ICodec.ID.CODEC_ID_MPEG4,
320, 240);
//setup the connection
StreamServerAgent serverAgent = new StreamServerAgent(new StreamFrameListenerIMPL(), dimension);
serverAgent.start(new InetSocketAddress("localhost", 1337));
}
protected static class StreamFrameListenerIMPL implements StreamFrameListener {
private volatile long count = 0;
@Override
public void onFrameReceived(IVideoPicture image) {
logger.info("frame received :{}", count++);
if (count < 100) {
logger.info("Writing frame");
writer.encodeVideo(0, image);
} else if (count > 220) {
// writer.flush(); // doesn't matter
writer.close();
}
}
}When writer.close is called I get a runtime exception :
Error: cannot write packet to read only container
Which seems really strange..