Recherche avancée

Médias (91)

Autres articles (94)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6348)

  • FFMPEG inside conda shell , running c++

    20 novembre 2018, par albert1905

    I’m trying to run a c++ program that depends on ffmpeg library.
    Important to mention, I’m working on a distance computer, so I don’t have the entire permissions.
    So I created a conda shell, download ffmpeg-dev, so far so good.
    I’m trying to run the c++ I want and he doesn’t recognize the "libav*" libraries (which are part of ffmpeg).
    I read that the libraries suppose to sit in "/usr/include" (or soemthing like that), in order that

    # include <>

    will recognize the library, but I don’t have permissions to write to this directory, so I had to think about something else, so I copied all the libav directories from "anconda3/include" to my dir and manually changed all the #includes to the realpath.

    But now I’m getting this error :

    g++ mpegflow.cpp -o mpegflow -O3 -D__STDC_CONSTANT_MACROS -lswscale
    -lavdevice -lavformat -lavcodec -lswresample -lavutil -lpthread -lbz2 -lz -lc -lrt -Idependencies/include -Ldependencies/lib /nfs/iil/itools/em64t_SLES11/pkgs/gcc/4.7.2/.bin/../lib64/gcc/x86_64-suse-linux/4.7.2/../../../../x86_64-suse-linux/bin/ld :
    cannot find -lavdevice collect2 : error : ld returned 1 exit status
    make : *** [mpegflow] Error 1

    I understand the problem, But I have no Idea how to solve it.
    I’ll be happy for your help.
    Thanks.

  • How to ensure plt.savefig saves multiple images instead of one ?

    18 mars 2018, par Natalie

    I’m trying to save images after for each iteration to show how my neural network is learning.

    for iterations in range(1,1000):
       model.fit(x_train,
                 y_train,
                 batch_size=20,
                 epochs=1,
                 verbose=2)

    predictions = model.predict(X)
    plt.plot(X,predictions,'o')
    plt.plot(r, morse(r,De,Re,alpha))
    plt.xlabel(r'$r$') # internuclear separation distance
    plt.ylabel(r'$V(r)$') # morse potential energy
    plt.savefig('myfig'+str(iterations))
    plt.clf()

    Originally, I was able to save every image, however, it now only saves the last iteration image only. I wondered how I might be able to solve this issue ?

    Also, related the first question : using the images I’m saving, I’m trying to merge all the images together into a quick movie to show the training process. I’ve been using ffmpeg (see image below for syntax error), but I keep getting syntax errors. Could anyone guide me through what I might be doing wrong ? ffmpeg syntax error I’m getting

    Thanks in advance for helping me out - completely new to machine learning but using it for a university project, so apologies for my lack of understanding/mistakes !!

  • Is there a way to non-linear speed-up video with ffmpeg ?

    3 mars 2020, par leoossa

    I’ve seen thousands of websites suggesting using setpts to speedup video

    ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" output.mp4

    The thing is - I don’t want to speed-up video in a linear way. I want it to accelerate. So I want ’acceleration’ (Wiki) to be constant and ’speed’ to be growing.

    From what I’ve seen on ffmpeg docs setpts can be an equation, I tried to play with PREV_OUTPTS but with no success.
    Is it even possible to achieve that with ffmpeg ?