Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (69)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6345)

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