
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (68)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (7338)
-
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 ?
-
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.
-
Google Analytics Privacy Issues : Is It Really That Bad ?
2 juin 2022, par Erin