Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (79)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 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 (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (14233)

  • Flutter : Running FFmpeg.execute to generate thumbnails in a different isolate doesn't work ?

    12 novembre 2024, par Vasudev

    This is the current code to generate thumbnails for Video and Audio files.. It is working fine in most cases.

    


    @override&#xA;Future<imageprovider> thumbnail(String path,&#xA;{required double width, required double height}) async {&#xA;&#xA;&#xA;  final FFmpegSession session = await FFmpegKit.executeAsync(&#xA;          "-loglevel quiet -i &#x27;$filePath&#x27; -y -ss 00:00:00.000 -vframes 1 &#x27;$thumbnailPath&#x27;");&#xA;&#xA;&#xA;  final returnCode = await session.getReturnCode();&#xA;  if (returnCode == null || returnCode.isValueError()) {&#xA;    throw Exception("Thumbnail generation failed");&#xA;  }&#xA;&#xA;/* Returns ImageProvider */&#xA;}&#xA;</imageprovider>

    &#xA;

    Now in iOS, for large files, the thumbnail generation doesn't really fail. But takes a long time and doesn't complete at all.

    &#xA;

    This causes performance issues. I would like to run this FFmpeg.execute() in a different isolate, but it doesn't work at all.

    &#xA;

      final FFmpegSession session = await Isolate.run(&#xA;    () async {&#xA;      return await FFmpegKit.executeAsync(&#xA;          "-loglevel quiet -i &#x27;$filePath&#x27; -y -ss 00:00:00.000 -vframes 1 &#x27;$thumbnailPath&#x27;");&#xA;    },&#xA;  );&#xA;

    &#xA;

  • Android - 360 video metadata

    11 mai 2017, par Xys

    So with ffmpeg I’ve concatenated two 360 videos into one. The problem is that I lost all the 360 video metadata in the final video (so it’s not recognized as a 360 video anymore). If I use exiftool on the final video, I lack those metadatas :

    • Spherical : true
    • Stitched : true
    • Stitching Software : Spherical Metadata Tool
    • Projection Type : equirectangular

    I’ve tried to inject those metadatas with ffmpeg, like this for example :

    ffmpeg -i  -metadata Spherical="true" -codec copy

    I don’t get any errors doing that, but exiftool still doesn’t show the metadatas.

    I know Google has a Python script that does this well, here .

    But I would like to inject metadatas in my app as well, any help would be much appreciated,

    thanks !

  • Xuggle IMediaWriter error

    10 décembre 2013, par prinsen

    Im 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 &lt; 100) {
               logger.info("Writing frame");
               writer.encodeVideo(0, image);
           } else if (count > 220) {
               // writer.flush(); // doesn&#39;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..