Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (50)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (7304)

  • avcodec/vqavideo : Decode 15-bit VQA3 files

    22 septembre 2021, par Pekka Väänänen
    avcodec/vqavideo : Decode 15-bit VQA3 files
    

    Adds support for 15-bit VQA3 videos used in Westwood Studios' games.

    Signed-off-by : Pekka Väänänen <pekka.vaananen@iki.fi>

    • [DH] libavcodec/vqavideo.c
    • [DH] libavformat/westwood_vqa.c
  • 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 "";
       }
    }
  • Two rtsp streams to youtube on a Pi3

    19 mars 2020, par Sébastien Bonaimé

    I want to stream two rtsp camera from my birdbox to youtube from my raspberry pi 3 with the entrance in Pip (picture in picture) on top left. I don’t need sound.enter image description here

    192.168.1.13 can do 30 fps with sound that I don’t need
    192.168.1.31 is only 12 fps without sound

    I have some problems of lag between the two camera on the youtube stream which I think is due to the different fps. I compile ffmpeg with h264. Here is what I did

    ffmpeg -re -f lavfi -i anullsrc -rtsp_transport udp -thread_queue_size 1000k -i rtsp://admin:123@192.168.1.13:554 -i rtsp://admin:@192.168.1.31:554 -filter_complex "[1]scale=iw/4:ih/4[pip]; [2][pip] overlay=0:0"   -framerate 13  -bufsize 512k  -b:v 1500k -threads 4 -q:v 3  -c:v h264_omx  -c:a aac -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXXX-XXX

    and here are the errors

    [h264 @ 0x20ddd30] error while decoding MB 69 67, bytestream -6rate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x20ddd30] concealing 100 DC, 100 AC, 100 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0te=1589.0kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] RTP: missed 35 packets
    [h264 @ 0x2099580] error while decoding MB 60 30, bytestream -6rate=1589.3kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x2099580] concealing 4549 DC, 4549 AC, 4549 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1588.9

    What can I do to improve the stream ? When a bird enter the box, there is also a quality problem when the image is changing and some lagging.
    You can have a look here
    https://www.youtube.com/watch?v=iisbinyvSFk&feature=youtu.be

    Thank you