Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (71)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5791)

  • How to include MPEG codec ?

    22 décembre 2018, par Edin Hajdarevic

    Why embed video streams are not visible in my c++ program ? I added WebBrowser into the program and the page that Browser should show is embed video stream. When I compile and run program, and when I press connect (button that should load web browser) it just loads black screen. That’s when I use just embed video stream (valid one), when I use whole site where stream is, program loads whole site, expect stream which is black. What might be problem ?

    I tagged html and css in this post since they might know something about it too.

    void__fastcall TForm1::Button1Click(TObject *Sender)
    {
       UnicodeString code, key;
       int br;

       code = Edit1->Text;

       if (code=="C577F") br=1;
       if (code=="A9967") br=2;
       if (code=="G02C1") br=3;
       if (code=="TB4FA") br=4;
       if (code=="U3E4B") br=5;
       if (code=="KR11V") br=6;
       if (code=="DFF9D") br=7;
       if (code=="L738D") br=8;
       if (code=="AA46C") br=9;
       if (code=="EC6E7") br=10;
       if (code=="T7BCE") br=11;
       if (code=="JT429") br=12;
       if (code=="R5F2C") br=13;
       if (code=="O582B") br=14;
       if (code=="A1FB4") br=15;

       switch(br)
       {
           case 1:
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=1";
               break;
           case 2:
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=2";
               break;
           case 3:
               key="3";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=3";
               break;
           case 4:
               key="4";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=4";
               break;
           case 5:
               key="5";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=5";
               break;
           case 6:
               key="6";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=6";
               break;
           case 7:
               key="7";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=7";
               break;
           case 8:
               key="8";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=8";
               break;
           case 9:
               key="9";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=9";
               break;
           case 10:
               key="10";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=10";
               break;
           case 11:
               key="11";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=11";
               break;
           case 12:
               key="12";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=12";
               break;
           case 13:
               key="13";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=13";
               break;
           case 14:
               key="14";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=14";
               break;
           case 15:
               key="15";
               WebBrowser1->URL = "https://live-sports-stream.net/embed/video.php?channel=15";
               break;
           default:
               ShowMessage("Code not valid. Contact @account on instagram for a new one.");

       }
    }
  • How can I get matplotlib to show full subplots in an animation ?

    12 mars 2015, par Matt Stone

    I’m trying to write a simple immune system simulator. I’m modeling infected tissue as a simple grid of cells and various intracellular signals, and I’d like to animate movement of cells in one plot and the intensity of viral presence in another as the infection progresses. I’m doing so with the matshow function provided by matplotlib. However, when I plot the two next to each other, the full grid gets clipped unless I stretch out the window myself. I can’t address the problem at all when saving to an mp4.

    Here’s the default view, which is identical to what I observe when saving to mp4 :

    And here’s what it looks like after stretching out the viewer window

    I’m running Python 2.7.9 with matplotlib 1.4.2 on OS X 10.10.2, using ffmpeg 2.5.2 (installed via Homebrew). Below is the code I’m using to generate the animation. I tried using plt.tight_layout() but it didn’t affect the problem. If anyone has any advice as to how to solve this, I’d really appreciate it ! I’d especially like to be able to save it without viewing with plt.show(). Thanks !

    def animate(self, fname=None, frames=100):
       fig, (agent_ax, signal_ax) = plt.subplots(1, 2, sharey=True)

       agent_ax.set_ylim(0, self.grid.shape[0])
       agent_ax.set_xlim(0, self.grid.shape[1])
       signal_ax.set_ylim(0, self.grid.shape[0])
       signal_ax.set_xlim(0, self.grid.shape[1])

       agent_mat = agent_ax.matshow(self.display_grid(),
                                    vmin=0, vmax=10)
       signal_mat = signal_ax.matshow(self.signal_display(virus),
                                      vmin=0, vmax=20)
       fig.colorbar(signal_mat)

       def anim_update(tick):
           self.update()
           self.diffuse()
           agent_mat.set_data(self.display_grid())
           signal_mat.set_data(self.signal_display(virus))
           return agent_mat, signal_mat

       anim = animation.FuncAnimation(fig, anim_update, frames=frames,
                                      interval=3000, blit=False)

       if fname:
           anim.save(fname, fps=5, extra_args=['-vcodec', 'libx264'])
       else:
           plt.show()
  • avdevice : Give names to anonymously typedeffed structs

    17 juillet 2014, par Diego Biurrun
    avdevice : Give names to anonymously typedeffed structs
    

    Anonymous structs can cause trouble in header files, so try to
    avoid them altogether as a matter of good style.

    • [DH] libavdevice/bktr.c
    • [DH] libavdevice/fbdev.c
    • [DH] libavdevice/jack_audio.c
    • [DH] libavdevice/oss_audio.c