Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (74)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

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

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

Sur d’autres sites (4520)

  • How to convert a lump set of PPM files to a single .mp4 video using ffmpeg

    4 août 2021, par Nash G-L

    I'm trying to convert some .ppm files into a single video using ffmpeg. The images are listed as image10.ppm, image20.ppm, all the way up to image2000.ppm

    


    Essentially, there are 200 images following the format of image(1-200)0.ppm in a single folder.

    


    I've navigated to the correct folder containing the images using cd and the terminal displays this folder as the directory I'm in.

    


    Inputting the following command into the terminal :

    


    ffmpeg -r 10 -f image2 -s 500x500 -i image%04d.ppm -vcodec libx264 -crf 25  -pix_fmt yuv420p presentation_video.mp4


    


    I get the error that says :

    


    [image2 @ 0x7ff36180ba00] Could find no file with path 'image%04d.ppm' and index in the range 0-4
image%04d.ppm: No such file or directory


    


    What am I missing ? I've just downloaded ffmpeg and am fairly new in general to command line interface.

    


  • PHP's exec() not executing command for FFmpeg

    16 septembre 2011, par tundoopani

    I have installed ffmpeg on my server and it works fine via my terminal. I'm able to successfully convert a file to webm format, so I'm sure the installation is fine. I'm also sure that I only have one installation of ffmpeg installed on my machine.

    A problem arises when I try to convert files through PHP via PHP's exec(). When I run the same commands, I ran in the terminal, nothing happens. I looked around stackoverflow and other parts of the net for some help. I tried this to see the output :

    exec($cmd, $out, $rv);
    echo "output is:\n".implode("\n", $out)."\n exit code:$rv\n";

    The output is : "output is : exit code:127"

    The command I'm using is in this format :

    ffmpeg -i "sample.mov" -vcodec libvpx  -r 30 -b "644k" -acodec libvorbis -ab 128000   -ar "44100" -ac 2 -s "352x198" "sample.webm"

    I've tried replacing "ffmpeg" with the full path to FFmpeg but that did not work.

    Why isn't the script running the command correctly and converting the files ?

    Thank you !

  • FFmpeg - PHP Error Code 127

    25 avril 2013, par Kit

    I am trying to execute FFmpeg from php. I have installed FFmpeg-php, and the extension is in the modules directory and it shows up in phpinfo. FFmpeg is working fine as I can run the command in a terminal and it outputs the video. However, when I try and run the command from php using the following script :

    exec(ffmpeg -i input.avi output.avi);

    But I get a '127' error code.

    The extension is loaded in using :

    $extension      = "ffmpeg";
    $extension_soname   = $extension . "." . PHP_SHLIB_SUFFIX;
    $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;

    // Locate Extension
    define('FFMPEG_LIBRARY', '/usr/local/bin/ffmpeg');

    // Load Extension
    if (!extension_loaded($extension))
       echo dl($extension_soname) or die("Can't load extension $extension_fullname\n");

    I have also tried defining the aboslute extension location in the command :

    exec(/usr/local/bin/ffmpeg-i input.avi output.avi);

    Again, this works in the terminal but still returns the same erro code using the php exec().

    Has anyone got any ideas ?

    Thank you.