
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (98)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7846)
-
Evolution #4609 (Nouveau) : Pouvoir configurer le délai d’expiration du cookie de la splash boite
27 novembre 2020, par jean marieAjouter 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 TheCodeNoviceI 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

img_dir='foo/bar/1/2/123456'
folder='fooo'
#BATCH -p general
#SBATCH -N 1
#SBATCH -t 03-00:00:00
#SBATCH --mem=8g
#SBATCH -n 1
#SBATCH --mail-type=BEGIN,REQUEUE,END,FAIL,REQUEUE 
#SBATCH --mail-user=<snip>

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

</snip>


-
FFMpeg is writing a matplotlib animation with diminishing quality
3 mars 2017, par Bryan StaffordI 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.