Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (84)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (9001)

  • How to move font in ffmpeg ?

    16 mai 2023, par speedyes

    I want to move font from mkv container a couple pixels up so I can see the text, because when I scaled up the font it didn't change it's position and it's now too low. Also, is there a way to make ffmpeg automatically word-wrap my text so it doesn't come out of my screen ?

    


    Here's syntax I used :

    


    ffmpeg -i 'Lain01.mkv' -vf 'scale=320:240:force_original_aspect_ratio=decrease,pad=320:240:x=(320-iw)/2:y=(240-ih)/2:color=black,format=yuv420p,fps=12,subtitles=Lain01.mkv:force_style=Fontsize=24' -c:v mpeg4 -b:v 384k -c:a aac -b:a 256k -ac 2 'Lain Episode 1.mp4'


    


  • Trying to save an animation gives error : OSError : Error saving animation to file (cause : [Errno 22] Invalid argument)

    18 octobre 2019, par Esmee

    I am trying to save an animation, but I get the error :

    OSError : Error saving animation to file (cause : [Errno 22] Invalid argument) Stdout : b’’ StdError : b’’. It may help to re-run with logging level set to DEBUG.

    I have installed ffmpeg and also added the path to it in my code. If I add print(animation.writers.list()), it gives ’ffmpeg’ in the list as well so I’m sure my computer can find the right file.

    At the top of my code, I have :

    import matplotlib.pyplot as plt
    plt.rcParams['animation.ffmpeg_path'] = 'C:/FFmpeg/bin/ffmpeg.exe'

    And when saving the animation, I have :

    SubplotAnimation_1 = SubplotAnimation(F_vector, eta_atm, Pkid, Tb_sky)
    Writer = animation.FFMpegWriter(fps=20, metadata=dict(artist='Me'), extra_args=['--verbose-debug'])
    file_string = r'C:/Users/Esmee/Documents/Animations/animation_tryout.mp4'
    print(file_string)
    SubplotAnimation_1.save(file_string, writer=Writer)

    I have added the r in front of the string, so there are no problems with the /a in the file_string. The folder C :/Users/Esmee/Documents/Animations/ exists for sure, so that also shouldn’t be a problem.
    I have also tried

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

    But it doesn’t work either.

    I have looked at animation save gets errror, How can I overcome this key word error and No Moviewriters available, but none of them offers a solution to my problem.

    Does anyone know what the problem could be ? Thanks in advance !

  • How to re-encode a 120fps (or higher) MP4 from my Samsung Galaxy to a 30fps (example) so it plays on Windows like it does on the Samsung

    21 septembre 2022, par remark70

    I have some high fps slow-motion videos (mp4) that I've recorded on my phone, but when I copy them to windows and play them back, they play at the normal speed (or they play really fast), unless I slow down playback but this isn't a good result.

    


    What I'd like to do is re-encode (if that's the right word) the video to a standard fps (such as 30) to get a longer video (keeping all the frames), i.e. a 10 second 120fps would end up being a 40 second video at 30fps.