Recherche avancée

Médias (91)

Autres articles (102)

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

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

  • 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 (12679)

  • PHP - How to get Shell errors echoed out to screen

    26 février 2013, par Ash

    I am in the process of using shell_exec() for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.

    When I the below code in the browser, it returns NULL :

    var_dump(shell_exec("ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4"));

    However when I run the equivalent code in my terminal :

    > ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4

    I get back a whole load of useful information which ends in an error "At least one output file must be specified"

    Why is this info not being passed back to my PHP script so I can echo it out ?

  • FFMPEG : is there a way to keep RTSP connection alive in code ?

    14 décembre 2011, par Alex

    I'm taking frames from a RTSP connection as follows (in pseudocode) :

    av_open_input_file(&avcontext)
    while(av_read_frame(&frame) > 0) {
       doSomething(frame);
       av_free_packet(frame);
    }

    For some reason the doSomething() function takes much time and, because of this (at least, I think so) the connection interupts - av_read_frame() returns 'eof' and the loop exits.

    When I make doSomething() shorter such interruptions do not occur.

    For some reasons I can't do doSomething() in another thread.

    Therefore, I'm interested if maybe there are some parameters to avcontext which will let me keep the connection alive or increase the timeout ?

    Thank you !

  • Android MediaMetadataRetriever.METADATA_KEY_DATE gives only date of video on galaxy S7

    15 mai 2023, par Zaid Bin Tariq

    I am writing a code to get video creation date and time from metadata, i am using following code to get creation date

    



    MediaMetadataRetriever retriever = new MediaMetadataRetriever();
retriever.setDataSource(path_to_video);
String date = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE);


    



    it works perfect on all devices except Samsung Galaxy S7, it returns only date in "YYYY MM DD" format, no time stamp i need both date and timestamp.

    



    any help in this regard is much appreciated.