Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (31)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (4514)

  • I have installed FFMPEG and can't find it inside a PHP script

    14 novembre 2019, par Antop

    I have installed FFMPeg in CentOS. It works perfectly.
    It’s inside /usr/bin directory. Also, I have PHP 7.2.24 that comes with Plesk 18.0.20.

    I want to use FFMPeg inside a PHP script, but that script can’t find the executable of FFMpeg. I have tried giving the exact route (/usr/bin/ffmpeg) but doesn’t work.

    It’s a production server. The same script, in my development server (macOS) works perfectly.

    I tried using :

    var_dump(getenv('PATH'));
    var_dump(exec('which ffmpeg'));
    var_dump(ini_get('open_basedir'));
    var_dump(is_file(exec('which ffmpeg')));
    var_dump(is_executable(exec('which ffmpeg')));

    And it returns me :

    string(49) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
    string(0) ""
    string(44) "/var/www/vhosts/name-of-the-domain.com/:/tmp/"
    bool(false)
    bool(false)
    NULL

    ¿What could be happening ?

    A very strange thing I’ve noticed is that I can’t access any command via php :
    I tried using it with echo

    var_dump(exec('which echo'));
    var_dump(is_file(exec('which echo')));
    var_dump(is_executable(exec('which echo')));

    And it returns me :

    string(0) ""
    bool(false)
    bool(false)
    NULL

    And the permissions are right :

    [root@vps bin]# ls -lha echo
    -rwxr-xr-x 1 root root 33K ago 20 08:25 echo

    [root@vps bin]# ls -lha ffmpeg
    -rwxr-xr-x 1 root root 217K abr  4  2019 ffmpeg

    But if I make a

    var_dump(exec('echo "HELLO"'))

    it returns me

    string(5) "HELLO"
  • OpenCV : Cannot open camera with CAP_FFMPEG even though ffmpeg is installed

    24 février 2021, par cildiracagim

    Initializing a camera video capture using CAP_FFMPEG fails even though I have ffmpeg installed :

    


    cv::VideoCapture vcap;
vcap.open(0, cv::CAP_FFMPEG);

// After these, vcap.isOpened() returns false.


    


    However, it works perfectly when I open a file in the same way :

    


    cv::VideoCapture vcap;
vcap.open(argv[1], cv::CAP_FFMPEG);

/* Correctly opens the video file at path argv[1],
vcap.isOpened() returns true. */


    


    The problem occurs in both OpenCV versions installed in my system : 4.5.1 and 3.2.0. Version 3.2.0 came installed in my Linux distribution but I have compiled 4.5.1 myself. During compilation, I have verified that CMake succesfully recognized the ffmpeg installation in my system. I guess the problem is not related to OpenCV not recognizing ffmpeg since I can open and work on video files without any problems on both OpenCV versions.

    


    Any help is greatly appreciated.

    


  • Enable Codec on FFmpeg

    25 mars 2013, par nmnir

    I'm tryiing to use g711 alaw with ffmpeg. The call
    avcodec_find_encoder(CODEC_ID_PCM_ALAW) ;
    returns null.
    I'm passing —enable-encoder=pcm_alaw as parameter to ./configure.
    What is wrong ?

    Thanks,
    Nahum