Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (81)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4845)

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

    


  • 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 !

  • 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 ?