
Recherche avancée
Autres articles (101)
-
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 (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (7115)
-
create AVI file from compressed data
3 décembre 2015, par QureshiI am using ffmpeg libararies to create an AVI file as mentioned in the post (Make AVI file from H264 compressed data), this guy had the same problem as i currently have (i-e getting error value -22.
Please anyone can explain me what’s the meaning of this error code "-22" that i get from "av_interleaved_write_frame" ?
he suggested that "By setting pts and dts with AV_NOPTS_VALUE I’ve solved the problem." please share any example how to set pts value with AV_NOPTS_VALUE ? and what should be the value of pts any rought estimate ?
-
Error while saving a matplotlib animation, missing 'dpi' argument
27 septembre 2020, par aarcasI'm trying to save an animation of matplotlib.animation.AnimationFunc and I get an error saying 'dpi' argument missing. Obviously, I have the dpi set so I don't understand where this error comes from.



I'm running python 3.6 and matplotlib 3.0.3, I also just installed ffmpeg from ubuntu official repositories (Ubuntu 18.04).



This is the part of my code that should affect that, although I think it should be something of the system :



Writer = writers['ffmpeg']
writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800,)
ani = FuncAnimation(fig, anime, interval=time_step *
 10**3, frames=F, repeat=False,) 
ani.save('standard_map.mp4', writer=Writer, dpi=100)




The errors is :



with writer.saving(self._fig, filename, dpi):
File "/usr/lib/python3.6/contextlib.py", line 159, in helper
 return _GeneratorContextManager(func, args, kwds)
File "/usr/lib/python3.6/contextlib.py", line 60, in __init__
 self.gen = func(*args, **kwds) TypeError: saving() missing 1 required positional argument: 'dpi'




I tried both adding the lines they suggested there and the error stills the same.



plt.rcParams['animation.ffmpeg_path'] = '/usr/bin/ffmpeg'




I also tried changing the writer to 'imagemagick' the one set on Ubuntu by default and the error persists.


-
Remuxing DIVX to MP4 for iDevices
16 octobre 2013, par Chris RobinsonPlease note, everything I refer to hereafter is using ffmpeg.
I have a DIVX video which has an
mpeg4
codec (MPEG4 Part 2) and an mp3 audio stream as given byffmpeg -i file.avi
. It's my understanding that I should simply be able to remux into anmp4
container for use with iTunes and iDevices byffmpeg -i file.avi -vcodec copy -acodec copy output.mp4
seeing as both codecs are complient with the Mpeg4 Part 14 specification. However I can't import these files into iTunes. I'm assuming this is because the FourCC of the original stream has been set to DIVX.
Is there an easy way to change this without re-encoding the video stream ? I'm looking to remux rather than re-encode to keep losses to a minimum and because I have a massive library of DIVX files that I want to import into iTunes and ffmpeg is easily scriptable for addition of future files.