Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (54)

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

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (5201)

  • ffmpeg in codeighter not working

    26 mai 2015, par MichaelMHerbert

    ffmpeg is not working. I put ffmpeg in site root folder. here is my function for converting videos. I also almost try each and every method and try many things on google, but I am unable to figure what is problem. I also try to install ffmpeg extension on my 64bit version system but I get another error as I start up xammp

    "Unable to load dynamic library ’D :\xamp\php\ext\php_ffmpeg.dll’ - %1 is not a valid Win32 application."

    I am working on localhost xammp and php version is 5.5.19

    public function convert_video($data) {
           $vdonewPath = $data[0];
           $vdodata = $data[1];
          `enter code here` $vdonewName = $vdodata['orig_name'];
           $vdonewPath = $vdonewPath . '/' . $vdonewName;
           print_r(get_loaded_extensions());
           $directory_path = $vdodata['file_path']; //Video directory location
           $directory_path_full = $vdonewPath;  //Video directory location with file name
           exec("ffmpeg -i " . $vdonewPath . " " . $directory_path . $vdodata['raw_name'] . '.MP4');
           exec("cmd.exe");
           exit;
           exec("D:\xampp\ffmpeg -i " . $directory_path_full . "  -vf scale=50:-1 " . $directory_path . $file_name . '.jpg');
           exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.ogg');
           exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.WEBM');
           exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.MP4');
    //        if ($data['file_ext'] != '.MP4' && $data['file_ext'] != '.mp4') {
    //            unlink($directory_path_full);                      //Removing orignal video
    //        }
       }




    public function do_upload($fileName, $dirName) {
       if (is_array($_FILES) && isset($_FILES['image']['name'])) {
           $dir = './uploads/' . $dirName . '/' . "images";
           if (file_exists($dir) === false) {
               mkdir($dir, 0777, true);
           }
           $config['upload_path'] = $dir;
           $config['allowed_types'] = 'gif|jpg|png';
           $config['max_size'] = '300';
           $config['max_width'] = '1024';
           $config['max_height'] = '768';
           $config['file_name'] = time();
           $this->load->library('upload', $config);
           if (!$this->upload->do_upload($fileName)) {
               $error = array('error' => $this->upload->display_errors());
               print_r('Error in Uploading Images ' . $error);
           } else {
               $data = array('upload_data' => $this->upload->data());
               $imgData[] = array($data, $dir);
               $this->resizeImage($imgData);
               return $imgData;
           }
       } elseif (is_array($_FILES) && isset($_FILES['video']['name'])) {
           $dir = './uploads/' . $dirName . '/' . "videos";
           if (file_exists($dir) === false) {
               mkdir($dir, 0777, true);
           }
           $config['upload_path'] = $dir;
           $config['allowed_types'] = 'avi|flv|wmv|mpeg|mp3|mp4';
           $config['max_size'] = '5000';
           $config['max_width'] = '1024';
           $config['max_height'] = '768';
           $config['file_name'] = time();
           $this->load->library('upload', $config);
           if (!$this->upload->do_upload($fileName)) {
               $error = array('error' => $this->upload->display_errors());
               print_r($error);
           } else {
               $data = $this->upload->data();
               $dat = array($dir, $data);
               $convertVdo = $this->convert_video($dat);
               var_dump($convertVdo);
               return $dat;
           }
       }
    }
  • gstreamer rtsp streaming chain with LGPL elements

    25 avril 2016, par user3612009

    The following chain seem to work well to stream video :

    gst-launch filesrc location=/home/manusha/Downloads/movies/<movie file="file">.mkv ! decodebin ! ffenc_mpeg4 bitrate=5000000 ! rtpmp4vpay mtu=1400 pt=96 ssrc=0 timestamp-offset=0 seqnum-offset=0 send-config=true ! udpsink host=127.0.0.1 port=5000
    </movie>

    This chain is able to receive the stream and play it :

    gst-launch udpsrc uri=udp://127.0.0.1:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335322e3132332e30, payload=(int)96, ssrc=(uint)298758266, clock-base=(uint)3097828288, seqnum-base=(uint)63478" ! rtpmp4vdepay ! ffdec_mpeg4 ! autovideosink

    My problem is, both ffdec_mpeg4 and ffenc_mpeg4 are GPL licensed and will not suit my purpose because I need to redistribute them. I am lookiing for advice on alternative stream chains that I can form only with LGPL licensed elements. The streaming to be used only inside a LAN, but it need to support HD quality streaming.

  • FFMPEG "Unable to find a suitable output format for 'udp :// :'"

    27 juin 2020, par Benjamin Dennison

    I am trying to figure out how to get FFMPEG to stream my desktop to UDP so that I can then see from VLC Media Player on a LAN connected device.

    &#xA;

    The command I'm trying to run is as follows :

    &#xA;

    .\ffmpeg.exe -loglevel 56 -video_size 1920x1200 -f dshow -i video="screen-capture-recorder" "udp://192.168.1.10:5000"

    &#xA;

    Which ends up erroring out, stating :

    &#xA;

    Unable to find a suitable output format for &#x27;udp://192.168.1.10:5000&#x27;

    &#xA;

    udp://192.168.1.10:5000 Invalid Argument

    &#xA;