Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (48)

  • 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 (...)

  • 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 (...)

  • 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 (...)

Sur d’autres sites (5843)

  • Centos : TERM environment 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 installation in Ubuntu 12.04 and using it in PHP-FFMpeg

    16 mai 2015, par SohelAhmedM

    I have tried many many failed attempt to install FFMpeg in my Ubuntu 12.04.
    I used following links : 1, 2, 3 and many others.

    Then I need to use it in PHP-FFMpeg
    And Then I need to deploy in Linux based server. This is my requirement.

    But after much trying, I just downloaded static build through this link.

    This helped me to successfully convert video and use FFMpeg through terminal in Ubuntu. But I cannot use it through PHP-FFMpeg library which I need to run. In docs of PHP-FFMpeg it is written

    This library requires a working FFMpeg install. You will need both
    FFMpeg and FFProbe binaries to use it. Be sure that these binaries can
    be located with system PATH to get the benefit of the binary
    detection, otherwise you should have to explicitely give the binaries
    path on load.

    and I am not getting this.

  • Can't get FFMpeg to work with php

    15 octobre 2017, par casusbelli

    I’ve installed FFMpeg using composer on my Ubuntu LAMP 16.04 however I fail to make it work.

    I’m trying this simple code which make an instance of FFMpeg :

    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('video101.MOV');

    However I get this error :

    Fatal error: Uncaught Error: Class 'FFMpeg\FFMpeg' not found in /var/www/html/upload/test.php:10 Stack trace: #0 {main} thrown in /var/www/html/upload/test.php on line 10

    I tried to manually include the composer autoload.php with :

    require_once 'vendor/autoload.php';

    However I get this error :

    Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/upload/test.php on line 6

    I found out that is because composer vendor is at root of apache.

    any help ?