Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (66)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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

Sur d’autres sites (8489)

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