Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (104)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11070)

  • Problem with Getting Output with Accents When Using PHP exec Command with ffprobe

    25 septembre 2020, par user5919866

    I am retrieving the output of ffprobe with PHP exec command to get information from mp3 files. The problem is that if there is any text in the output containing accents or apostrophes, then I don't get those displayed.

    


    I am running PHP 7.3.19 on Debian 10. The output locale -a from the commandline is :

    


    C
C.UTF-8
en_US.utf8
POSIX


    


    I have tried several things in my PHP script such as :

    


    $cmd = 'LANG=\"en_US.UTF8\" ffprobe -loglevel error -show_entries format=duration:format_tags -of json "' . $FinalFilenamePath . '"';
exec($cmd, $output, $return);


    


    and :

    


    $cmd = 'env -i ffprobe -loglevel error -show_entries format=duration:format_tags -of json "' . $FinalFilenamePath . '"';
exec($cmd, $output, $return); 


    


    and :

    


    $cmd = 'LC_ALL=en_US.UTF-8 ffprobe -loglevel error -show_entries format=duration:format_tags -of json "' . $FinalFilenamePath . '"';
exec($cmd, $output, $return);


    


    So, how can I be sure that when I run the ffprobe command via PHP's exec, I can display characters such as accents, apostrophes, etc.

    


  • avcodec/hevc_ps : fix the problem of memcmp losing effectiveness

    29 mars 2024, par Tong Wu
    avcodec/hevc_ps : fix the problem of memcmp losing effectiveness
    

    HEVCHdrParams* receives a pointer which points to a dynamically
    allocated memory block. It causes the memcmp always returning 1.
    Add a function to do the comparision. A condition is also added to
    avoid malloc(0).

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Tong Wu <tong1.wu@intel.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/hevc_ps.c
    • [DH] libavcodec/hevc_ps.h
  • FFmpeg problem while writing streams to file

    23 septembre 2011, par NoviceAndNovice

    I finally "able" to write video stream packets to a file using the function

    av_interleaved_write_frame(outputContext, &amp;packet);

    But after a short period of time i got this error :

    Application provided invalid, non monotonically increasing dts to muxer
    in stream 0: *numberX* >= *numberY*

    Anybody has any idea, what may cause this ? And how to fix it ?

    Best Wishes