Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (55)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6028)

  • 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.

  • How can I reset the path of FFMPEG in the VideoExport library in Processing ?

    11 avril 2021, par bella

    Note : This question was originally titled "How can I reset the path of FFMPEG in Java ?" but, as it has been pointed out in the comments and the answer, the issue is not with Java, so I've changed the title to make it easier to find for others with the same issue.

    



    


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

    


    I'm using Processing (the library and its IDE) and the user-created Video Export library to capture and write to 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), and immediately realized my mistake. I ran the code again to see if I could trigger the prompt again to correct the path.

    



    


    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).