Recherche avancée

Médias (91)

Autres articles (108)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6893)

  • How can I reset the path of FFMPEG in Java ?

    4 avril 2017, par Figgyja

    I accidentally set the path for FFMPEG to a different folder, and I can’t change it back.

    I’m using Processing (the API and its IDE) and the user created Video Export library to capture and write an mp4 video file. The library required FFMPEG, so I downloaded and installed it. After I installed it, I ran the code, and the library called Java to request the path of FFMPEG. I wrongly set the path to a different folder, which I eventually deleted. I knew I set it to the wrong folder, and ran the code again to see if I could trigger the Java prompt again to reset the folder.


    The console response I received was : (I’m sure most of it doesn’t have to do with the actual issue. However, I wanted to show all of it in case it somehow does.)

    Oct 24, 2016 10:23:25 PM java.util.prefs.WindowsPreferences
    WARNING : Could not open/create prefs root node Software\JavaSoft\Prefs
    at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
    java.io.IOException : Cannot run program
    "C :...\Processing\Octree_Graphics\data\FFMPEG\ff-prompt.bat" :
    CreateProcess error=2, The system cannot find the file specified at
    java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at
    com.hamoid.VideoExport.startFfmpeg(Unknown Source) at
    com.hamoid.VideoExport.initialize(Unknown Source) at
    com.hamoid.VideoExport.saveFrame(Unknown Source) at
    Octree_Graphics.draw(Octree_Graphics.java:90) at
    processing.core.PApplet.handleDraw(PApplet.java:2399) at
    processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:731)
    at
    jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
    at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
    at
    jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
    at
    jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
    at
    jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at
    com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
    at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
    at
    com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
    at java.util.TimerThread.mainLoop(Timer.java:555) at
    java.util.TimerThread.run(Timer.java:505) Caused by :
    java.io.IOException : CreateProcess error=2, The system cannot find the
    file specified at java.lang.ProcessImpl.create(Native Method) at
    java.lang.ProcessImpl.(ProcessImpl.java:386) at
    java.lang.ProcessImpl.start(ProcessImpl.java:137) at
    java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 17 more
    VideoExport error : Ffmpeg failed. Study
    C :...\Processing\Octree_Graphics\basic.mp4.txt for more details.


    I need to find a way to reset the path of FFMPEG that Java has. I have tried uninstalling and reinstalling the library, but I haven’t tried Java (I don’t want to mess with anything it has in its current state).

    P.S. The file listed at the end of the console response (basic.mp4.txt) was empty because it had not begun writing to the file yet.

  • How can I reset the path of FFMPEG in Java ?

    30 octobre 2018, par Figgyja

    I accidentally set the path for FFMPEG to a different folder, and I can’t change it back.

    I’m using Processing (the API and its IDE) and the user created Video Export library to capture and write an mp4 video file. The library required FFMPEG, so I downloaded and installed it. After I installed it, I ran the code, and the library called Java to request the path of FFMPEG. I wrongly set the path to a different folder, which I eventually deleted. I knew I set it to the wrong folder, and ran the code again to see if I could trigger the Java prompt again to reset the folder.


    The console response I received was : (I’m sure most of it doesn’t have to do with the actual issue. However, I wanted to show all of it in case it somehow does.)

    Oct 24, 2016 10:23:25 PM java.util.prefs.WindowsPreferences
    WARNING : Could not open/create prefs root node Software\JavaSoft\Prefs
    at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
    java.io.IOException : Cannot run program
    "C :...\Processing\Octree_Graphics\data\FFMPEG\ff-prompt.bat" :
    CreateProcess error=2, The system cannot find the file specified at
    java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at
    com.hamoid.VideoExport.startFfmpeg(Unknown Source) at
    com.hamoid.VideoExport.initialize(Unknown Source) at
    com.hamoid.VideoExport.saveFrame(Unknown Source) at
    Octree_Graphics.draw(Octree_Graphics.java:90) at
    processing.core.PApplet.handleDraw(PApplet.java:2399) at
    processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:731)
    at
    jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
    at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
    at
    jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
    at
    jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
    at
    jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at
    com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
    at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
    at
    com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
    at java.util.TimerThread.mainLoop(Timer.java:555) at
    java.util.TimerThread.run(Timer.java:505) Caused by :
    java.io.IOException : CreateProcess error=2, The system cannot find the
    file specified at java.lang.ProcessImpl.create(Native Method) at
    java.lang.ProcessImpl.(ProcessImpl.java:386) at
    java.lang.ProcessImpl.start(ProcessImpl.java:137) at
    java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 17 more
    VideoExport error : Ffmpeg failed. Study
    C :...\Processing\Octree_Graphics\basic.mp4.txt for more details.


    I need to find a way to reset the path of FFMPEG that Java has. I have tried uninstalling and reinstalling the library, but I haven’t tried Java (I don’t want to mess with anything it has in its current state).

    P.S. The file listed at the end of the console response (basic.mp4.txt) was empty because it had not begun writing to the file yet.

  • How to use ffmpeg command for Android

    8 avril 2015, par Manoj

    I would like to separate audio and video from given input video file.I have build ffmpeg sos for Android using http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/ this link.

    generated SOS

    libavcodec-56.so,libavfilter-5.so,libavformat-56.so,libavutil-54.so,libswscale-3.so

    ffmpeg command for separate video file(doesn't contain audio) from input video file

    ffmpeg -i input.mkv -map 0:v -codec copy output.mkv

    I know the command which we have used in command prompt to get the desired output

    I dont know how to call the ffmpeg command from Android Java Native method.and also dont know about write a JNI wrapper for this command.