
Recherche avancée
Autres articles (65)
-
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 -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (7983)
-
fluent-ffmpeg read the timeoffset of an audio file
14 juillet 2017, par shamaleyteI have a video to be transcoded with ffmpeg. But first, I check the video and its audio as the following. It presents the audio with a different set of timeoffset values. It is because of the way the video is generated ( I assume ).
But I need the audio to have the same offset structure as its video has.Not sure if that’s possible. But When I transcode the video into an audio file, I need to tell my application what its first offset is so that my logic could work properly. Is there any way of getting the first offset value as this ffprobe (in command prompt) offers me ?
$ ffprobe sample.webm -loglevel error -select_streams v -show_packets -show_entries packet=pts_time -of compact=p=0:nk=1 | head
0.000000
0.064000
0.112000
0.176000
0.240000
0.304000
0.353000
0.417000
0.481000
0.545000
$ ffprobe sample.webm -loglevel error -select_streams a -show_packets -show_entries packet=pts_time -of compact=p=0:nk=1 | head
2.495000
2.515000
2.535000
2.555000
2.575000
2.595000
2.615000
2.635000
2.655000
2.675000 -
How can I reset the path of FFMPEG in the VideoExport library in Processing ?
11 avril 2021, par bellaNote : 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).


-
How to use ffmpeg command for Android
8 avril 2015, par ManojI would like to separate
audio
andvideo
from giveninput video file
.I have buildffmpeg
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 fileffmpeg -i input.mkv -map 0:v -codec copy output.mkv
I know the
command
which we have used incommand prompt
to get the desired outputI 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.