Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12815)

  • Evolution #4609 (Nouveau) : Pouvoir configurer le délai d’expiration du cookie de la splash boite

    27 novembre 2020, par jean marie

    Ajouter une config qui permette de choisir le délai d’expiration du cookie de la splash boite sans avoir à surcharger https://git.spip.net/spip/mediabox/src/branch/master/javascript/splash.mediabox.js#L4

    Voir discussion sur spip-dev : https://www.mail-archive.com/spip-dev@rezo.net/msg70564.html

  • build video from images with a bash for loop using ffmpeg

    10 septembre 2021, par TheCodeNovice

    I am trying to take 50K images and turn them into a movie using ffmpeg. I am running this on a HPC setup, hence the slurm commands. My attempt does not work since I am running into a hard limit due to the shear volume of images. I cannot just list a start number since the pipeline will reject some images so I do not have a proper sequence.

    


    I know a loop could circumvent both issues but I am not sure how to use that with ffmpeg so that it builds one long movie.

    


    The cat command has worked for shorter movies but i just have too many images now.

    


    #!/bin/bash&#xA;&#xA;img_dir=&#x27;foo/bar/1/2/123456&#x27;&#xA;folder=&#x27;fooo&#x27;&#xA;#BATCH -p general&#xA;#SBATCH -N 1&#xA;#SBATCH -t 03-00:00:00&#xA;#SBATCH --mem=8g&#xA;#SBATCH -n 1&#xA;#SBATCH --mail-type=BEGIN,REQUEUE,END,FAIL,REQUEUE   &#xA;#SBATCH --mail-user=<snip>&#xA;&#xA;singularity exec /$img_dir/foo_container cat /$img_dir/processed_images/$folder/*.jpeg | ffmpeg -f image2pipe -i pipe:.jpeg -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" /$img_dir/processed_images/$folder/$folder.mp4&#xA;&#xA;</snip>

    &#xA;

  • FFMpeg is writing a matplotlib animation with diminishing quality

    3 mars 2017, par Bryan Stafford

    I am trying to create a bunch of animations that follow the paths National Hockey League teams travel during the current season. Currently, my animation looks like this.

    As you can see, the animation begins decently sharp but within 2 seconds the quality bottoms out and everything is grainy.

    The relevant code is this :

    ani = animation.FuncAnimation(fig, update, frames=len(all_x + 20),
                                 interval=75, repeat=False)
    filepath =  map_team + '.mp4'
    ani.save(filepath, writer='ffmpeg', fps=30)
    plt.tight_layout()
    plt.show()

    I have chosen FFMpeg as my writer because I hope to put about 30 graphics online and the MP4 format keeps each file around 1.5MB. If there’s a way to keep the graphics sharp, with low file sizes, and able to be uploaded onto Imgur, I would love to do that with my project.

    Thanks.