Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (21)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (4739)

  • php shell_exec() command pop out error and permission denied ffmpeg

    19 octobre 2016, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    <form action="index.php" method="POST" enctype="multipart/form-data">
    <input type="file" /><input type="submit" value="upload" />

    </form>

    &lt;?php

    if(isset($_POST['submit'])){


    $ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";
    $videoFile = $_FILES["file"]["tmp_name"];
    $imageFile = "1.jpg";
    $size = "320x240";
    $getFromSecond = 5;
    $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";

       echo shell_exec($cmd);


    echo shell_exec('whoami');
    if(!shell_exec($cmd)){


       echo "thumbnail created";
    }else{
       echo "error creating thumbnail";
    }






    }

    ?>
  • php shell_exec() command pop out error and permission denied ffmpeg

    3 juin 2023, par user3711175

    This is the main index.php file where I run my code to generate a video thumbnail with ffmpeg but it has no lucks at all I have been searching online for a lot of solution but nothing comes out i will be very appreciate if you guys can help me out. The shell_exec() keep giving me error

    &#xA;&#xA;

    &#xA;&#xA;&#xA;&#xA;<form action="index.php" method="POST" enctype="multipart/form-data">&#xA;<input type="file" /><input type="submit" value="upload" />&#xA;&#xA;</form>&#xA;&#xA;&lt;?php&#xA;&#xA;if(isset($_POST[&#x27;submit&#x27;])){&#xA;&#xA;&#xA;$ffmpeg = "/Users/mac/Documents/ffmpeg/3.1.4/bin/ffmpeg";&#xA;$videoFile = $_FILES["file"]["tmp_name"];&#xA;$imageFile = "1.jpg";&#xA;$size = "320x240";&#xA;$getFromSecond = 5;&#xA;$cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile 2>&amp;1";&#xA;&#xA;    echo shell_exec($cmd);&#xA;&#xA;&#xA;echo shell_exec(&#x27;whoami&#x27;);&#xA;if(!shell_exec($cmd)){&#xA;&#xA;&#xA;    echo "thumbnail created";&#xA;}else{&#xA;    echo "error creating thumbnail";&#xA;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;?>&#xA;&#xA;&#xA;&#xA;

    &#xA;

  • {OpenAL(+FFmpeg)} How to queue variable size buffer due to ogg format ?

    11 février 2014, par user3293833

    (First of all, I may feel sorry about my poor English as it's not my native language.)

    I use FFmpeg to decode some audio file and play it with OpenAL by "stream"(i.e."queue" and "unqueue" function of OpenAL).

    When I use my program to play .ogg file, I find that it has a variable nb_samples.(due to ogg has variable bit rate ??) There are 128 B, 512 B and 1024 B of nb_samples. As a results, I must call alDeleteBuffers and alGenBuffers before I use alBufferSamplesSOFT(similar to alBufferData) because it would fail to call alBufferSamplesSOFT without recreate the buffer.
    Notes : alBufferSamplesSOFT is provided by OpenAL Soft. You can just see it as alBufferData.

    Nevertheless, I think it's foolish and inefficient if I do this. Is there is some smart method ? I paste the part of code :

    while (av_read_frame(...) == 0){
     avcodec_decode_audio4(...);
     swr_convert(...);  // to convert PCM format from FLTP to FLT
     alDeleteBuffers(1, theBuffers[?]);
     alGenBuffers(1, theBuffers[?]);
     alBufferSamplesSOFT(...);  // put those data into OpenAL buffer
    }

    if I don't do this, It would failed to update the OpenAL buffer. Is there any method to create a variable size buffer or a big size buffer ? Or is there any method to change the size of buffer ?

    Thanks for you guys.