Recherche avancée

Médias (91)

Autres articles (58)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

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

    


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

    


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

    


    Which ends up erroring out, stating :

    


    Unable to find a suitable output format for 'udp://192.168.1.10:5000'

    


    udp://192.168.1.10:5000 Invalid Argument

    


  • 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 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' &amp;&amp; $data['file_ext'] != '.mp4') {
    //            unlink($directory_path_full);                      //Removing orignal video
    //        }
       }




    public function do_upload($fileName, $dirName) {
       if (is_array($_FILES) &amp;&amp; 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) &amp;&amp; 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;
           }
       }
    }