Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (65)

Sur d’autres sites (13842)

  • Revision dbfc3692eb : seeing a 10x slowing down, revert now for investigation Revert "Fix a problem o

    2 juin 2014, par Yaowu Xu

    Changed Paths :
     Modify /vp9/encoder/vp9_encoder.c



    seeing a 10x slowing down, revert now for investigation

    Revert "Fix a problem of using an uninitialized parameter"

    This reverts commit 538af7db5ffe2ab560511a3bc0ae74dae9316c14

    Change-Id : I071aa9b7068ef515abb8ae9584df15067706ccb5

  • 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