Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • 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 : (...)

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

Sur d’autres sites (7170)

  • Space Adventure CD-ROM

    1er octobre 2011, par Multimedia Mike — Game Hacking

    I acquired a CD-ROM entitled Space Adventure by Knowledge Adventure (I like these people ; they make decent, entertaining educational games). The physical media displays a copyright date of 1993, very early in the multimedia era.



    This 1993 CD-ROM makes proud use of multimedia files. What kind ? There’s a movies/ directory with 17 .mov files. It would be way too simple if these were QuickTime files, though. These represent a custom format, and video-only since a separate sounds/ directory contains .snd files with filenames corresponding to the .mov files. The .snd files are actually Creative Voice (a.k.a. VOC) files. As for this MOV format, wiki page and samples.



    I was also surprised to find the binary ultrasnd.exe file among the drivers on the disc. The Gravis UltraSound was released in 1992. The sound setup utility does not have an option for the GUS, however. No matter since DOSBox has great SB/Pro/16 emulation.

    I’m also a bit puzzled about why the DOSBox screenshots are 720 x 480 (posted here are various cropping and resizings).

  • How to make FuncAnimation animations faster ?

    12 juin 2021, par Zenitsu

    The code I have written is for a Lorrenz Attractor in Python. It shows how a number of random points evolves according to lorrenz equtions and falls into the lorrenz attractor. I did get satisfactory results when I ran the code, but ran into problems while saving the animation as a gif or mp4 file. Python and my text editor started crashing when I tried saving them. I want to know if the code could be simplified or maybe made more effective in some way. Thankyou for helping !!

    


    # Importing all the necessary modules

import matplotlib.pyplot as pl
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.animation import FuncAnimation
import matplotlib.animation as animation
import matplotlib.cm as cm
import numpy as np

#Writer = animation.writers['ffmpeg']
#writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)

fig = pl.figure(figsize=(35,35))
ax = pl.axes(projection="3d") 
fig.set_facecolor('black')
ax.set_facecolor('black') 
ax.w_xaxis.pane.fill = False
ax.w_yaxis.pane.fill = False
ax.w_zaxis.pane.fill = False
ax.get_proj = lambda: np.dot(Axes3D.get_proj(ax), np.diag([2, 2, 2, 1.3]))
ax.grid(False)
ax.set_axis_off()

# B has the values of sigma, rho and beta used in the lorrenz equations
B =[10,28,8/3]
# t is the dt time element
t = 0.001
# The number of points 
num_points = 20

# These three list will store all the x, y and z position of all the points
X_data = []
Y_data = []
Z_data = []

for i in range(0,num_points,1):
        x_data = []
        y_data = []
        z_data = []
        x , y , z = np.random.uniform(-25,25),np.random.uniform(-25,30),np.random.uniform(0,60)
        for i in np.arange(0,10,t):

                dx = B[0]*(y-x)*t
                dy = (x*(B[1] - z)-y)*t
                dz = (x*y-B[2]*z)*t

                x+=dx
                y+=dy
                z+=dz

                x_data.append(x)
                y_data.append(y)
                z_data.append(z)
        X_data.append(x_data)
        Y_data.append(y_data)
        Z_data.append(z_data)

color = cm.rainbow(np.linspace(0,1,num_points))

def animate(i):
        pl.cla()

        for j in range(0,num_points,1):
                ax.set_axis_off()
                ax.plot3D(X_data[j][2*i:10*i],Y_data[j][2*i:10*i],Z_data[j][2*i:10*i],linewidth=0.5,color=color[j])
                ax.plot3D(X_data[j][10*i],Y_data[j][10*i],Z_data[j][10*i],marker=".",color=color[j],markersize=3)
                ax.set_xlim([-30,30])
                ax.set_ylim([-30,30])
                ax.set_zlim([0,60])

        ax.view_init(0,i/2) 

ani = FuncAnimation(fig,animate,repeat=False,interval=100,frames=600)

# Commented out the bottom part so that i can see it before saving

#ani.save('Lorrenz_Attractor.mp4', writer=writer)

#writer = animation.PillowWriter(fps=10)  
#ani.save("Lorrenz_Attractor.gif", writer=writer)

pl.show()


    


  • Convert file with any extension to MP4 with ffmpeg

    15 novembre 2019, par not legit

    I am using youtube-dl and ffmpeg to create a youtube downloader and converter (for personal use). I am trying to download a video and convert it to MP4.

    The problem I have, is that youtube-dl downloads the video in a variety of formats. Is there a way that I can download the video and then tell FFMPEG to convert it, not knowing the current file type ?

    I tried using a * wild card but that results in an error.

    @echo off
    title youtube downloader

    set /p name= URL:
    echo Select a type. (vid/mp3/mp4)
    set /p type=

    IF /i "%type%"=="vid" goto vid
    IF /i "%type%"=="mp3" goto mp3
    IF /i "%type%"=="mp4" goto mp4

    :vid
    youtube-dl %name%
    goto commonexit

    :mp3
    youtube-dl -x --audio-format mp3 %name%
    goto commonexit

    :mp4
    youtube-dl -o video %name%
    ffmpeg -i video.* video.mp4 -hide_banner

    :commonexit
    pause