Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (81)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (11541)

  • How to create effect same video with FFmpeg

    29 juin 2023, par Sang Vo

    How to make a video from an image with a drag effect like this one in FFmpeg :

    


    https://www.youtube.com/watch?v=zC6qbpe3FyE&ab_channel=CloudMood


    


    I tried to zoom in zoom out effects but not the same with video

    


     ffmpeg -loop 1 -i photo.jpg -vf "zoompan=z='min(zoom+0.001,1.2)':x='if(gte(zoom,1.2),x+2,x-1)':y='if(gte(zoom,1.2),y+2,y-1)':d=10*25,framerate=25,scale=1920:1080" -c:v libx264 -t 10 -pix_fmt yuv420p -s 1920x1080 output.mp4


    


  • Can FFmpeg perform audio phase subtraction ? [closed]

    22 avril 2023, par Calarpo

    I can do audio phase subtraction in Adobe Audition like so : https://www.youtube.com/watch?v=vNvJKBg3yds

    


    How can I do this with FFmpeg ? Is it possible ?

    


    I've googled for audio phase subtraction, and looked at https://ffmpeg.org/ffmpeg-filters.html, nothing seems to work for me.

    


    I want to do phase subtraction in batches and support for stereo audio.

    


  • Can't obtain thumbnail with ffmpeg codeigniter

    2 avril 2015, par DMBorges

    I have used the following tutorial ( https://www.youtube.com/watch?v=qT4hN5o57hI) to try to obtain a thumbnail from a uploaded video using codeigniter as a framework. As I am new to all this I don’t understand if at the end of supposedly uploading my video the code failed to create a thumbnail, if my created thumbnail is somewhere lost in my computer of by some settings reasons ffmpeg is not working.

    Where does my $imageFile goes to ?

    Here is my code.

    MY VIEW

    <div>

               &lt;?php echo form_open_multipart('gallery/save/'); ?>
                   <table class="table">
                       <tr>
                           <td>Video</td>
                           <td>&lt;?php echo form_upload('pic'); ?></td>
                       </tr>
                       <tr>
                           <td>Descrição</td>
                           <td>&lt;?php echo form_input('description'); ?></td>
                       </tr>
                       <tr>
                           <td></td>
                           <td>&lt;?php echo form_submit('upload', 'Guardar', 'class="btn btn-primary"'); ?></td>
                       </tr>      
                   </table>

       </div>

    MY CONTROLLER

    &lt;?php
    class Gallery extends CI_Controller{
       public function index(){
           //Load View
           $data['main_content'] = 'gallery';
           $this->load->view('layouts/main', $data);
       }

       public function save()
       {
           $url = $this->do_upload();
           $ffmpeg = "C:\\xampp\\htdocs\\ffmpeg\\bin";
           $videoFile = $_FILES["pic"]["tmp_name"];
           $imageFile = "1.jpg";
           $size = "120x90";
           $getFromSecond = 5;
           $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile ";
           echo $cmd;
           if(!shell_exec($cmd)){
               echo 'thumbnail created!';
           }
           else {
               echo 'ERROR!';
           }

           /* $config = array(
                           'source_image' => $url,
                           'new_image' =>"./assets/images/gallery/thumbs/",
                           'maintain_ration' => true,
                           'width' => 150,
                           'height'=> 100
                           );
                   $this -> load -> library('image_lib', $config);
                   $this ->image_lib-> resize();
                   $description = $_POST["description"];
                   $user = $this->session->userdata('user_id');
                   $this->Gallery_model->save($description, $url, $user);
                   redirect('gallery'); */
       }
       private function do_upload()
       {
           $type = explode('.', $_FILES["pic"]["name"]);
           $type = strtolower($type[count($type)-1]);
           $id = uniqid(rand());
           $url = "./assets/images/gallery/".$id.'.'.$type;
           if(in_array($type, array("wmv", "mp4", "avi", "flv")))
               if(is_uploaded_file($_FILES["pic"]["tmp_name"]))
                   if(move_uploaded_file($_FILES["pic"]["tmp_name"],$url))
                       return $url;
           return "";
       }
    }