Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (77)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (6816)

  • Why does ffmpeg could only record the first 100 frames of the animation ?

    9 février 2020, par jack fang

    I am using the following Python code to make an animation and want to save it as a video through FFmpeg (in PyCharm) :

    import numpy as np
    import matplotlib.pyplot as plt
    import matplotlib.animation as animation
    from matplotlib.animation import FFMpegWriter

    def func():
       for j in range(1, len(t)):
           time = j * 0.01
           print('time:{:2}'.format(time))
           yield time

    def animate(data):
       time = data
       ax2.plot(time, time, **{'marker':'o'})
       ax2.set_title('t = {:.2}'.format(time))
       return  ax2

    def init():
       ax2.plot(0, 0)
       return ax2

    dt = 0.01
    t = np.arange(0, 50, dt)

    fig2 = plt.figure()
    ax2 = fig2.add_subplot(111, autoscale_on=True)
    ax2.grid()

    ani = animation.FuncAnimation(fig2, animate, func, interval=dt*1000, blit=False, init_func=init, repeat=False)

    plt.rcParams['animation.ffmpeg_path'] = 'C:\Program Files\\ffmpeg\\bin\\ffmpeg.exe'
    writer = FFMpegWriter(fps=15, metadata=dict(artist='Me'), bitrate=1800)
    ani.save("movie.mp4", writer=writer)

    #plt.show()

    But when time reaches 1.0, the process stopped but it is supposed to stop when time reaches 50.0. The following picture shows when the process stopped. The PyCharm Run console
    I then check movie.mp4 and find that the video ends when time reaches 1.0.
    That is to say, only the first 100 frames of the animation were converted into the .mp4 file, so I was very confused where did the rest of the frames went ?

    I tried to run the code through windows cmd but got the same result.
    I then uncomment the line #plt.show() and found that the process stopped when time reaches 50.0 and the animation could be displayed properly but still only the first 100 frames was converted.

    I am now very confused about this problem and don’t know how to solve it. Appreciated for your help. :)

  • FFMpeg kmsgrab record pixels wrong

    21 avril 2020, par Alex Joel

    ffmpeg -f kmsgrab -i - -framerate 60 -vf 'hwdownload,format=bgr0' -preset ultrafast out.mkv

    



    This is how a video frame should look like
kitty terminal emulator in the wayland
This is how it is recorded by ffmpegkitty terminal emulator in the waylandweston-simple-egl
https://drive.google.com/file/d/11jOUTk3ZxOfwnfd7zS4d4qBLApTS3Vmx/view?usp=sharing

    


  • FFMPEG : Converting chapter points when converting PAL to NTSC

    26 février 2020, par koberulz

    I have a batch file converting my PAL TV series DVDs to the correct NTSC frame rates :

    for %%F in (*.mkv) do (
    echo A = LWLibAvVideoSource("%%F"^) > script.avs
    echo B = LWLibAvAudioSource("%%F"^) >> script.avs
    echo AudioDub(A,B^) >> script.avs
    echo AssumeFPS(24000,1001,sync_audio=true^) >> script.avs
    echo ResampleAudio(48000^) >> script.avs
    ffmpeg\ffmpeg.exe -i script.avs -aspect 16:9 -acodec ac3 -vcodec libx264 -preset slow -qp 16 "Output\%%F"
    del "%%F.lwi"
    del script.avs
    )

    pause

    But this removes the chapter points. I’m assuming map_chapters, if I figured out how to use it, would just shift in the chapters at the old PAL timestamps, so they wouldn’t match up to the correct times in the actual NTSC video ? Is there a way to get the chapters in the right spots other than manually opening each episode, finding the equivalent points, and manually creating each chapter ?