Recherche avancée

Médias (91)

Autres articles (81)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (11072)

  • lavf : move avpriv function definition to internal.h

    1er avril 2018, par Josh de Kock
    lavf : move avpriv function definition to internal.h
    

    Signed-off-by : Josh de Kock <josh@itanimul.li>

    • [DH] libavdevice/alldevices.c
    • [DH] libavformat/allformats.c
    • [DH] libavformat/avformat.h
    • [DH] libavformat/internal.h
  • FFmpeg output to textfile causing 500 Internal Server Error in PHP

    27 mars 2018, par user3080392

    I have a PHP script with two FFmpeg commands. The first command combines a list of .ts files into a single .ts file and logs the output information into a textfile. The second command converts the combined .ts file into an mp4 file and logs the output information into a textfile.

    Here’s the PHP :

    &lt;?php
    error_reporting(E_ALL);
    ini_set('display_errors', 'On');

    $ffmpeg = "/usr/local/bin/ffmpeg";
    $vidClips = 'my_vids/vidClipslist.txt';
    $combinedFileTs = 'my_vids/combinedFileTs.ts';
    $logFileCombine = 'my_vids/logFileCombine.txt';
    $logFileConvert = 'my_vids/logFileConvert.txt';
    $combinedFileMp4 = 'my_vids/combinedFileMp4.mp4';

    shell_exec("$ffmpeg -f concat -safe 0 -i $vidClips -c copy $combinedFileTs 1> $logFileCombine 2>&amp;1");

    shell_exec("$ffmpeg -i $combinedFileTs -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -q 12 $combinedFileMp4 1> $logFileConvert 2>&amp;1");

    echo "Video finished.";
    ?>

    When I run this, my 500.shtml file message is shown on the page. However, I get no other error message echoed to the page nor are there any errors in my Cpanel error log. I also have a php error log set up, but it doesn’t show any errors.
    Oddly, both of the FFmpeg commands do what they’re supposed to, i.e., the "combinedFileTs.ts", "logFileCombine.txt", "combinedFileMp4.mp4", and "logFileConvert.txt" are all created. It’s just that I’m getting the 500 error and the PHP script following the two FFmpeg commands is not being run, i.e., echo "video finished."

    When I remove the output directive on the first FFmpeg command, i.e., "1> $logFileCombine 2>&1", everything works. All the files are created, the proceeding PHP script is run, and I don’t get the 500 error.

    &lt;?php
    error_reporting(E_ALL);
    ini_set('display_errors', 'On');

    $ffmpeg = "/usr/local/bin/ffmpeg";
    $vidClips = 'my_vids/vidClipslist.txt';
    $combinedFileTs = 'my_vids/combinedFileTs.ts';
    $logFileCombine = 'my_vids/logFileCombine.txt';
    $logFileConvert = 'my_vids/logFileConvert.txt';
    $combinedFileMp4 = 'my_vids/combinedFileMp4.mp4';

    shell_exec("$ffmpeg -f concat -safe 0 -i $vidClips -c copy $combinedFileTs");

    shell_exec("$ffmpeg -i $combinedFileTs -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -q 12 $combinedFileMp4 1> $logFileConvert 2>&amp;1");

    echo "Video finished.";
    ?>    

    Also, the first FFmpeg command takes about 2 min to run. Thinking that the problem was due to the PHP script being killed, I increased the max_execution_time to 600 and the memory_limit to 512M in my php.ini file but that did not fix the problem.

    I need both FFmpeg commands to produce an output log textfile and I need the proceeding PHP code to run.

  • avcodec/noise_bsf : move the reference in the bsf internal buffer

    20 mars 2018, par James Almer
    avcodec/noise_bsf : move the reference in the bsf internal buffer
    

    There's no need to allocate a new packet for it.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/noise_bsf.c