
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (56)
-
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 (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (6646)
-
Google Analytics Privacy Issues : Is It Really That Bad ?
2 juin 2022, par Erin -
java.lang.UnsatifiedLinkError : no jniavutil in java.library.path using JavaCV FFmpegFrameGrabber
31 mars 2015, par Noah LutzI’m writing a program that is using JavaCV to grab frames from a stream. Its trying to use FFmpegFrameGrabber to capture the frames but when I try to run it, I get an UnsatisfiedLinkError.
Here is the code :
FrameGrabber frameGrabber;
try{
frameGrabber = new FFmpegFrameGrabber("http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8");
frameGrabber.start();
while(true){
video.addFrame(new Frame(frameGrabber.grab()));
System.out.println(video.getLength());
}
}catch(Exception e){
e.printStackTrace();
}And here is the stack trace :
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:535)
at org.bytedeco.javacpp.Loader.load(Loader.java:410)
at org.bytedeco.javacpp.Loader.load(Loader.java:353)
at org.bytedeco.javacpp.avutil.<clinit>(avutil.java:10)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:344)
at org.bytedeco.javacpp.Loader.load(Loader.java:385)
at org.bytedeco.javacpp.Loader.load(Loader.java:353)
at org.bytedeco.javacpp.avcodec.<clinit>(avcodec.java:12)
at org.bytedeco.javacv.FFmpegFrameGrabber.<clinit>(FFmpegFrameGrabber.java:103)
at com.noahlutz.gopro.GoProDVR.run(GoProDVR.java:23)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/4q/tw0nqgpn4cv2q7yr052_szh00000gn/T/javacpp104085411945039/libjniavutil.dylib: dlopen(/private/var/folders/4q/tw0nqgpn4cv2q7yr052_szh00000gn/T/javacpp104085411945039/libjniavutil.dylib, 1): Library not loaded: @rpath/libavutil.52.dylib
Referenced from: /private/var/folders/4q/tw0nqgpn4cv2q7yr052_szh00000gn/T/javacpp104085411945039/libjniavutil.dylib
Reason: no suitable image found. Did find:
/private/var/folders/4q/tw0nqgpn4cv2q7yr052_szh00000gn/T/javacpp104085411945039/./libavutil.52.dylib: malformed mach-o image: load command #16 length (0) too small in /private/var/folders/4q/tw0nqgpn4cv2q7yr052_szh00000gn/T/javacpp104085411945039/./libavutil.52.dylib
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:524)
... 11 more
Process finished with exit code 0
</clinit></clinit></clinit>I have both OpenCV and FFmpeg installed and I followed the instructions for the manual installation of JavaCV on their github page.
Thanks for your help.
-
FFMPEG fails in node exec but succeeds on OSX
10 avril 2015, par rrrkrenSo I’m trying to get a thumbnail of a mov video using ffmpeg.
Here is the command :ffmpeg -i video.mov -vf scale=-1:100 -r 1 -an -vframes 1 -f mjpeg thumb.jpg
it works fine when I type it in terminal. But once I do it in javascript (node) :
(thumbPath, destPath, and thumbname are all defined earlier, and I doubt they are the problem)var command = "ffmpeg -i "+ destPath +" -vf scale=-1:100 -ss 00:01 -r 1 -an -vframes 1 -f mjpeg "+thumbPath+thumbname;
exec(command,function(err){
if(err){
console.log(err);
};
});The console logs :
{ [Error: Command failed: ffmpeg version 2.4.1-tessus Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 22 2014 23:16:01 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe29c817000] moov atom not found
video.mov: Invalid data found when processing input
] killed: false, code: 1, signal: null }I’ve looked up online and apparently the "moov atom not found error" is caused by the video being corrupted. But the command works fine when I type it in terminal. What’s wrong with my code ?
Edit : This code works for mp4 videos, and the mov video was from an iPhone. I tried using a .mov file downloaded elsewhere and it works. Seems to be an issue with mov file shot with iPhone ?