Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (46)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5650)

  • Centos : TERM enivornment Variable Not Set

    21 janvier 2014, par Architact

    I am working on a mobile application which allows users to upload videos, upon upload the videos are converted to mp4 format, I am using a shell script for that purpose, the script was working fine on our last server but we switched our server and now it has stopped working, the log files of apache are printing.

    [Tue Jan 21 00:57:37.003944 2014] [:error] TERM environment variable not set.
    [Tue Jan 21 00:57:37.148531 2014] [:error] ./script.sh: line 3: ffmpeg: command not found
    [Tue Jan 21 00:57:37.148794 2014] [:error] script.sh: line 4: ffmpeg: command not found

    The content of script.sh are

    #!/bin/bash -p
    clear
    ffmpeg -i $filename -strict experimental -ar 22050 converted.mp4<br />
    ffmpeg -itsoffset -1 -i  converted.mp4 -vframes 25 -filter:v scale="min(500\, iw):-1"  thumbnail.png

    I am calling the script form php using

    shell_exec("script.sh 52567afa374c61381399290.mp4");

    Any help would be greatly appreciated.

    Thanks

  • FFmpeg permission denied

    22 septembre 2016, par nikoz84

    I’m try to execute this PHP code

    exec("/root/bin/ffmpeg -version 2>&amp;1", $output);
    print_r($output);

    But always the output return permission denied

    Array ( [0] => sh: /root/bin/ffmpeg: Permission denied )

    and the output from library PhpVideoToolKit

    sh: /root/bin/ffmpeg: Permission denied

    how can i give permission for execute to my apache service ? i’m used CENTOS

  • FFMPEG shell execution with PHP - Unusual Error Because of GCC

    9 février 2012, par trocker

    I've been trying to debug the PHP Script, but the error message that I receive is very unusual.

    • CP, MV , WHOAMI - all these commands work with shell_exec
    • FFMPEG is installed
    • apache user - nobody with read write execute permission for nogroup to /usr/bin/ffmpeg.
    • FFMPEG working fine in terminal.
    • GCCPP is installed and GCC package is also installed.
    • Working with shell PHP command (brock@ubuntu $ php runthis.php)

    Code I ran :

    exec(&#39;ffmpeg -i beep.mp3 -ac 1 -ar 48000 -ab 128k audio1.mp3 2>&amp;1&#39;, $out, $rv);
    echo "output is:\n".implode("\n", $out)."\nexit code:$rv\n";

    I get the following error :

    output is: ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.0.0&#39; not found (required by /usr/lib/libdirac_encoder.so.0) ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.2.0&#39; not found (required by /usr/lib/libstdc++.so.6) exit code:1

    Can someone help me out here ?