
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (84)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (8208)
-
FFmpeg 32-bit DLLs fail to load on Windows when switching target platform to 32-bit in C# project (Linux cross-compile with MinGW)
8 novembre 2024, par ryanI’m working on a C# project in Windows that integrates FFmpeg DLLs. I need both 32-bit and 64-bit FFmpeg DLLs. The 64-bit DLLs load and work fine, but when I change the target platform in my project settings to 32-bit, some 32-bit DLLs (specifically avfilter-7.dll) fail to load, even though they’re in the correct directory.


Code :


case PlatformID.Win32Windows:
 return WindowsNativeMethods.LoadLibrary(libraryName);



is returning a null pointer for avfilter-7.dll.


Error Received :


System.Runtime.InteropServices.Marshal.GetLastWin32Error() = 0x0000007e 



Which I think translates to ERROR_MOD_NOT_FOUND.


Environment & Context :


- 

- Linux VM : Using a Linux virtual machine to cross-compile FFmpeg for Windows.
- Tool : ffmpeg-windows-build-helpers script from https://github.com/rdp/ffmpeg-windows-build-helpers.
- Cross-Compiler : MinGW (latest version installed on VM).
- Target Architectures : Both 32-bit and 64-bit DLLs for Windows.
- FFmpeg Version : n4.4.5 (using —ffmpeg-git-checkout-version=n4.4.5).












Compilation Command :
Using the helper script, I’ve tried the following command to generate the 32 and 64 bit shared libraries :


./cross_compile_ffmpeg.sh --ffmpeg-git-checkout-version=n4.4.5 --disable-nonfree=y --build-libmxf=n --build-mp4box=n --build-vlc=n --build-svt-hevc=n --build-svt-vp9=n --build-dvbtee=n --build-dependencies=y --build-mplayer=n --build-ffmpeg-static=n --build-ffmpeg-shared=y --prefer-stable=y --build-x264-with-libav=n



I’ve also updated MinGW to the latest version on the VM to ensure compatibility.


Questions :


- 

- What might be causing the 32-bit FFmpeg DLLs (like avfilter-7.dll) to fail to load on a Windows platform, while 64-bit DLLs work fine ?
- Are there specific flags or steps in the build process needed to ensure compatibility for 32-bit FFmpeg DLLs in a 64-bit Windows environment ?
- Are there common pitfalls when cross-compiling 32-bit and 64-bit FFmpeg DLLs with MinGW on Linux that could cause these loading issues ?








Any insights or additional troubleshooting tips would be greatly appreciated !


-
How to batch process with ffmpeg script, but do each step in a loop instead of two stages
14 mai 2024, par MattI'm a novice script editor. I convert MOV/AVI video files to MP4 format using a script with ffmpeg and then move the files after processing :


for f in *.mov; do ffmpeg -y -i "$f" "${f%}.mp4"; done

mv -f *.mov /Users/me/Videos/mov
mv -f *.MOV /Users/me/Videos/mov
mv -f *.avi /Users/me/Videos/avi
mv -f *.AVI /Users/me/Videos/avi



- 

-
Currently the script converts all videos, then moves them all to the other folders. Please how can the script be adjusted so that each video is moved immediately after processing (instead of waiting until all are complete) ? This would be a great improvement, as sometimes there are a lot of videos and the script gets interrupted for some reason (not a fault of the script). It will make it easier to monitor progress.


-
Currently I manually tweak the first line changing *.mov for *.avi Please is there an easy way to handle either video file format/extension, within the same line ?


-
Is there a better way of handling the mv statements which have multiple lines for lower/uppercase ? They also give error if there are no files of that type.










Thank you


The above script is functional but will be better with enhancements or changes.


-
-
SNAP : Simulation and Neuroscience Application Platform [closed]
19 avril 2024, par S_SIs there any documentation/help manual on how to use SNAP (Simulation and Neuroscience Application Platform)1.



I wanted to run the Motor Imagery sample scenario with a .avi file for the stimulus instead of the image. How can that be done ?



The following error is obtained when using the AlphaCalibration scenario which gives code to play an avi file.Any help appreciated



:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Cannot open file: /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Could not open audio /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:gobj(error): Texture "/e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi" exists but cannot be read.
Traceback (most recent call last):
 File "E:\BCI_Feb2014\SNAP-master\src\framework\latentmodule.py", line 458, in _run_wrap
 self.run()
 File "modules\BCI\AlphaCalibration.py", line 30, in run
Exception during run():
 m = self.movie(self.moviefile, block=False, scale=[0.7,0.4],aspect=1.125,contentoffset=[0,0],volume=0.3,timeoffset=self.begintime+t*self.awake_duration,looping=True)
Could not load texture: bird.avi
 File "E:\BCI_Feb2014\SNAP-master\src\framework\basicstimuli.py", line 348, in movie
 tex = self._engine.base.loader.loadTexture(filename)
 File "E:\BCI_Feb2014\Panda3D-1.8.0\direct\showbase\Loader.py", line 554, in loadTexture
 raise IOError, message
IOError: Could not load texture: bird.avi