Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (29)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6600)

  • 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 "";
       }
    }