
Recherche avancée
Autres articles (58)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (14889)
-
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.


-
compile own ffmpeg filter
20 juin 2023, par lfkI'm trying compile my own ffmpeg filter using official tutorial. My filter uses C++ code. I made header file and adapted my C++ function definition for C. Now I'm trying compile with command
make -j<libavfilter> ffmpeg</libavfilter>
, but receiving an error message



gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat
-Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,—as-needed -Wl,-z,noexecstack -Wl,—warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o ffmpeg_g fftools/ffmpeg_opt.o fftools/ffmpeg_filter.o fftools/ffmpeg_hw.o fftools/cmdutils.o fftools/ffmpeg.o -lavdevice
-lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lm -pthread -lm -lm -lz -pthread -lm -lz -lm -lm -pthread -lm libavfilter/libavfilter.a(vf_foobar.o) : In function `filter_frame' :
/home/joeyes/ffmpeg_sources/ffmpeg/libavfilter/vf_foobar.c:302 :
undefined reference to MyFunction.c
collect2 : ld returned 1 exit status
*** [ffmpeg_g] Error 1




For compilation I added
OBJS-$(CONFIG_FOOBAR_FILTER) += vf_foobar.o MyCode.o
to /libavfilter/makefile

Also I put MyCode.h & MyCode.cpp to /libavfilter folder


-
Xamarin Mac FFmpeg launch path not accessible
25 mars 2024, par TecnopresleyI have a Xamarin Forms project with Mac support and I am trying to implement FFmpeg, so I have downloaded the Static build from its official page and added it as in the resources folder of the Mac project with the build action in Content, then I have created a service that will basically remove the audio from a video that I indicate in a path with a FFmpeg command, to do the service I have based on the following answer and I have adapted it to C # :
https://stackoverflow.com/a/37422688/8496520


The problem is that when I try to execute the command I get the following error :


"NSInvalidArgumentException: launch path not accessible"



And I can't find out why this happens, I use the following code in the service (The error occurs when calling the Launch () method of the NSTask) :


public void ExecuteFFmpeg()
{
 try
 {
 var launchPath = NSBundle.MainBundle.PathForResource("ffmpeg", ofType: "");
 var compressTask = new NSTask();
 compressTask.LaunchPath = launchPath;
 compressTask.Arguments = new string[] {
 "-i",
 "downloads/test.mp4",
 "-c",
 "copy",
 "-an",
 "nosound.mp4" };
 compressTask.StandardInput = NSFileHandle.FromNullDevice();
 compressTask.Launch();
 compressTask.WaitUntilExit();
 }
 catch (Exception ex)
 {

 }