
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (107)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (9653)
-
Matplotlib animation won't save
17 décembre 2014, par abe678I am trying to learn how to create matplotlib animations by using Jake Vanderplas’s basic example, but I’m having trouble getting the figure to save. I installed ffmpeg on my Mac via homebrew.
The only changes that I have made are to add :
import matplotlib
matplotlib.use('TKAgg')When I run this script I receive the following error :
anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])
TypeError: save() got an unexpected keyword argument 'extra_args'Based on the many other similar questions, I’ve tried setting the ffmpeg path with
plt.rcParams['animation.ffmpeg_path']
but that also gives me an error :
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/__init__.py", line 660, in __setitem__
See rcParams.keys() for a list of valid parameters.' % (key,))
KeyError: 'animation.ffmpeg_path is not a valid rc parameter.See rcParams.keys() for a list of valid parameters.'After removing the rcParams setting, I also tried adjusting the save command to avoid the aforementioned TypeError :
try:
anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])
except TypeError:
anim.save('basic_animation.mp4', fps=30)This runs with no error, but the mp4 file is not created. I have read over every thread and tried every solution I can find, but nothing changes. The plt.show() call works just fine. Can anyone please point me in the right direction ? Thanks !
Update : I’m using matplotlib version 1.1.1
-
How to save frame numbers with ffmpeg ?
14 mai 2016, par JulianJI am using ffmpeg to scan video files for scene changes and save the results to a text file. The code I am using below works but I want to simplify the results and just output the frames number where the scene changes occur and the not all the data that this code produces. Any suggestions ?
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=input.mov,select=gt(scene\,.02)" > results.txt
Outputs all this :
media_type=video stream_index=0 key_frame=1 pkt_pts=31031 pkt_pts_time=1.292958 pkt_dts=31031 pkt_dts_time=1.292958 best_effort_timestamp=31031 best_effort_timestamp_time=1.292958 pkt_duration=N/A pkt_duration_time=N/A pkt_pos=82320 pkt_size=629760 width=640 height=328 pix_fmt=rgb24 sample_aspect_ratio=1:1 pict_type=I coded_picture_number=0 display_picture_number=0 interlaced_frame=0 top_field_first=0 repeat_pict=0 tag:lavfi.scene_score=0.025551
-
How to save frame numbers with ffmpeg ?
28 décembre 2018, par JulianJI am using ffmpeg to scan video files for scene changes and save the results to a text file. The code I am using below works but I want to simplify the results and just output the frames number where the scene changes occur and the not all the data that this code produces. Any suggestions ?
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=input.mov,select=gt(scene\,.02)" > results.txt
Outputs all this :
media_type=video stream_index=0 key_frame=1 pkt_pts=31031 pkt_pts_time=1.292958 pkt_dts=31031 pkt_dts_time=1.292958 best_effort_timestamp=31031 best_effort_timestamp_time=1.292958 pkt_duration=N/A pkt_duration_time=N/A pkt_pos=82320 pkt_size=629760 width=640 height=328 pix_fmt=rgb24 sample_aspect_ratio=1:1 pict_type=I coded_picture_number=0 display_picture_number=0 interlaced_frame=0 top_field_first=0 repeat_pict=0 tag:lavfi.scene_score=0.025551