Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (13)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4692)

  • Resume encoding or re-encoding video after a power loss in ffmpeg

    23 juin 2016, par Bhupendra Pandey

    I have a php script that reads from database and converts videos using ffmpeg.

    Sometimes the power goes off and my server turns of suddenly.

    What should I do to re-encode the video that was being converted while the power loss occurred ?

    The whole process should be automatic.

  • avcodec/ppc/h264dsp : POWER LE support in h264_idct_dc_add_internal() fix vec_lvsl bug

    14 mai 2015, par Rong Yan
    avcodec/ppc/h264dsp : POWER LE support in h264_idct_dc_add_internal() fix vec_lvsl bug
    

    We got defective video when use GCC 4.9.2 instead of GCC 4.9.1 to compile FFMEPG. And further found
    that GCC 4.8 and 4.9 need patch to fix the lvsl/lvsr bug on POWER LE, and GCC 5.1 contains
    the correct code since its release. The message on gcc-patches requesting approval for lvsl/lvsr
    patch is at https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00228.html.

    The fixed code avoids using lvsl and will not depends on GCC version, also it uses less instructions on POWER LE.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/ppc/h264dsp.c
  • ffmpeg - Encoding Percentage in PHP

    13 juillet 2012, par Jimbo

    I've written a whole system in PHP and bash on the server to convert and stream videos in HTML5 on my VPS. The conversion is done by ffmpeg in the background and the contents is output to block.txt.

    Having looked at the following posts :

    Can ffmpeg show a progress bar ?

    and

    ffmpeg video encoding progress bar

    amongst others, I can't find a working example.

    I have always struggled with the regexes and maths, and I need to grab the currently encoded progress as a percentage.

    The first post I linked above gives :

    $log = @file_get_contents(&#39;block.txt&#39;);

    preg_match("/Duration:([^,]+)/", $log, $matches);
    list($hours,$minutes,$seconds,$mili) = split(":",$matches[1]);
    $seconds = (($hours * 3600) + ($minutes * 60) + $seconds);
    $seconds = round($seconds);

    $page = join("",file("$txt"));
    $kw = explode("time=", $page);
    $last = array_pop($kw);
    $values = explode(&#39; &#39;, $last);
    $curTime = round($values[0]);
    $percent_extracted = round((($curTime * 100)/($seconds)));

    echo $percent_extracted;

    The $percent_extracted variable echoes zero, and as maths is not my strong point, I really don't know how to progress here.

    Here's one line from the ffmpeg output from block.txt (if it's helpful)

    time=00:19:25.16 bitrate= 823.0kbits/s frame=27963 fps= 7 q=0.0 size=
    117085kB time=00:19:25.33 bitrate= 823.1kbits/s frame=27967 fps= 7
    q=0.0 size= 117085kB time=00:19:25.49 bitrate= 823.0kbits/s
    frame=27971 fps= 7 q=0.0 size= 117126kB

    Please help me output this percentage, once done I can create my own progress bar. Thanks.