Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (27)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (6118)

  • Libsourcey : Segmentation fault

    12 décembre 2018, par Iranna Pattar

    I am running WebRTC Native Video Recorder demo Application,but getting Segmentation fault (core dumped).

    here is the cmake command :

    cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF     -DBUILD_MODULES=OFF    -DBUILD_APPLICATIONS=OFF \
      -DBUILD_SAMPLES=ON         -DBUILD_TESTS=OFF         -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON    -DBUILD_MODULE_base=ON \
      -DBUILD_MODULE_crypto=ON   -DBUILD_MODULE_http=ON       -DBUILD_MODULE_json=ON               -DBUILD_MODULE_av=ON    \
      -DBUILD_MODULE_net=ON      -DBUILD_MODULE_socketio=ON   -DBUILD_MODULE_symple=ON             -DBUILD_MODULE_stun=ON   \
      -DBUILD_MODULE_turn=ON     -DBUILD_MODULE_util=ON       -DBUILD_MODULE_uv=ON                 -DBUILD_MODULE_webrtc=ON \
      -DBUILD_SAMPLES_webrtc=ON  -DWEBRTC_INCLUDE_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/include \
      -DWEBRTC_LIBRARIES=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/lib/ \
      -DWEBRTC_ROOT_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64    \
      -DBUILD_MODULE_openssl=ON   -DOPENSSL_ROOT_DIR=/usr/local/ssl     -DOPENSSL_LIBRARIES=/usr/local/ssl/lib/ \
      -DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include/openssl/

    and Resolution is 640*480 , bit rate 128000, profile level is 3.2 .

    [libx264 @ 0x7f63dc001600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT BMI1
    [libx264 @ 0x7f63dc001600] profile High, level 3.2
    Segmentation fault (core dumped)

    I have tried to track with gdb and backtrace but couldnt find

    [libx264 @ 0x7fffa4001600] profile High, level 3.2

    Thread 19 "IncomingVideoSt" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffd76fd700 (LWP 21381)]
    0x00000001000001e0 in ?? ()
        bt
    #0  0x00000001000001e0 in ?? ()
    #1  0x00007ffff5380c6c in x264_stack_align () from /usr/lib/x86_64-linux-gnu/libx264.so.155
    #2  0x00007fffd76f710c in ?? ()
    #3  0x00007fffd76f7110 in ?? ()
    #4  0x0000000000000000 in ?? ()

    How to resolve this error ?

  • Ajax call returns 500 error

    26 mars 2018, par user3080392

    I have an Ajax call to a PHP script. The PHP script uses FFmpeg to concatenate several .ts files into one, and then converts it into an MP4 file.

    The PHP script manages to concatenate the files and convert the file to an MP4. However, none of the code after the FFmpeg commands is carried out.

    Furthermore, my Ajax "success" function always returns a "500 Internal Server Error"

    Here’s the Ajax :

    function makeVid(vidUrl) {

     $.ajax({
       type: "POST",
       url: 'make_vid.php',
       data: {url: vidUrl},
       cache: false,
       success: function(data){        
         $("#vidResult").append(data);
         document.getElementById(#myBtn).disabled = false;
       },
       error: function (jqXHR, exception) {
         var msg = '';
         if (jqXHR.status === 0) {
           msg = 'Not connect.\n Verify Network.';
         } else if (jqXHR.status == 404) {
           msg = 'Requested page not found. [404]';
         } else if (jqXHR.status == 500) {
           msg = 'Internal Server Error [500].';
         } else if (exception === 'parsererror') {
           msg = 'Requested JSON parse failed.';
         } else if (exception === 'timeout') {
           msg = 'Time out error.';
         } else if (exception === 'abort') {
           msg = 'Ajax request aborted.';
         } else {
           msg = 'Uncaught Error.\n' + jqXHR.responseText;
         }
         $('#vidResult').html(msg);
       }

     });

    }

    And here’s the PHP/FFmpeg :

    shell_exec("$ffmpeg -f concat -safe 0 -i $vidClipsListTxtFile -c copy $combinedFileTs 1> $makeVidProgTxtFileTs 2>&1");
    shell_exec("$ffmpeg -i $combinedFileTs -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -q 12 $combinedFileMp4 1> $makeVidProgTxtFileMp4 2>&1");
    echo "video completed.";

    The PHP error log includes the following errors :

    File does not exist: /home/mysite/public_html/favicon.ico
    File does not exist: /home/mysite/public_html/404.shtml
    File does not exist: /home/mysite/public_html/505.shtml
    File does not exist: /home/mysite/public_html/robots.txt

    And here are some of the things I’ve tried to correct the problem :

    1. Created the above files in the public_html folder

    2. Increased the max_execution_time and memory_limit in my php.ini file

    3. Changed the Ajax success() function to a complete() function

    I still get the 500 error. What else can I try ?

  • Please use -q:a or -q:v, -qscale is ambiguous

    20 septembre 2017, par Abhishek

    I’m using FFMpeg to encode a video. This is the command :

    fmpeg/ffmpeg -i '/home/ninbizco/public_html/public/temporary/15cf7_8665.mp4'
       -ab 64k -ar 44100 -qscale 5 -r 25 -vcodec libx264 -acodec aac
       -strict experimental -preset veryfast -f mp4 -vf "scale=480:386" -y
       '/home/ninbizco/public_html/temporary/sitevideo/82_vconverted.1' 2>&1

    But I’m getting following error :

    Please use -q:a or -q:v, -qscale is ambiguous
    [AVFilterGraph @ 0x42838a0] Error initializing threading.
    [AVFilterGraph @ 0x42838a0] Error creating filter 'anull'
    Error opening filters!

    Following are the ffmpeg version details :

    ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
     built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)

    Can anyone tell me if it’s related to server configuration, because it’s not working on only one site and I’m not sure which server configuration to check. This command works fine on my localhost and other sites with the same ffmpeg version.