
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (94)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9878)
-
I am trying to merge audio in video using ffmpeg but it is crashing
28 février 2023, par Sachin SaxenaI am getting this crash message when i click on third button to merge audio with video , first i am selecting the path of video and audio then i am merging the audio with video


private fun mergeAudioAndVideo(videoFile: String, audioFile: String, outputFile: File) {
 val command = arrayOf(
 "ffmpeg",
 "-i", videoFile,
 "-i", audioFile,
 "-c:v", "copy",
 "-c:a", "aac",
 "-strict", "experimental",
 "-map", "0:v:0",
 "-map", "1:a:0",
 "-shortest",outputFile.absolutePath

 )
 val process = Runtime.getRuntime().exec(command)
 process.waitFor()


 }



The crash i am getting on LogCat is here


E/AndroidRuntime: FATAL EXCEPTION: main
 Process: com.example.mergev, PID: 10113
 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:622)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
 Caused by: java.lang.reflect.InvocationTargetException
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) 
 Caused by: java.io.IOException: Cannot run program "ffmpeg": error=2, No such file or directory
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
 at java.lang.Runtime.exec(Runtime.java:699)
 at java.lang.Runtime.exec(Runtime.java:564)
 at com.example.mergev.MainActivity.mergeAudioAndVideo(MainActivity.kt:65)
 at com.example.mergev.MainActivity.onCreate$lambda$2(MainActivity.kt:45)
 at com.example.mergev.MainActivity.$r8$lambda$9Q0VdcecuU1VoneEsUOL6ljoNPQ(Unknown Source:0)
 at com.example.mergev.MainActivity$$ExternalSyntheticLambda2.onClick(Unknown Source:2)
 at android.view.View.performClick(View.java:7570)
 at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1202)
 at android.view.View.performClickInternal(View.java:7525)
 at android.view.View.access$3900(View.java:836)
 at android.view.View$PerformClick.run(View.java:28680)
 at android.os.Handler.handleCallback(Handler.java:938)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:263)
 at android.app.ActivityThread.main(ActivityThread.java:8296)
 at java.lang.reflect.Method.invoke(Native Method) 
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) 
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) 
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
 at java.lang.ProcessImpl.start(ProcessImpl.java:141)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
 at java.lang.Runtime.exec(Runtime.java:699) 
 at java.lang.Runtime.exec(Runtime.java:564) 
 at com.example.mergev.MainActivity.mergeAudioAndVideo(MainActivity.kt:65) 
 at com.example.mergev.MainActivity.onCreate$lambda$2(MainActivity.kt:45) 
 at com.example.mergev.MainActivity.$r8$lambda$9Q0VdcecuU1VoneEsUOL6ljoNPQ(Unknown Source:0) 
 at com.example.mergev.MainActivity$$ExternalSyntheticLambda2.onClick(Unknown Source:2) 
 at android.view.View.performClick(View.java:7570) 
 at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1202) 
 at android.view.View.performClickInternal(View.java:7525) 
 at android.view.View.access$3900(View.java:836) 
 at android.view.View$PerformClick.run(View.java:28680) 
 at android.os.Handler.handleCallback(Handler.java:938) 
 at android.os.Handler.dispatchMessage(Handler.java:99) 
 at android.os.Looper.loop(Looper.java:263) 
 at android.app.ActivityThread.main(ActivityThread.java:8296) 
 at java.lang.reflect.Method.invoke(Native Method) 
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) 
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) 
I/Process: Sending signal. PID: 10113 SIG: 9
</init>


I have a video and a audio and i want to merge the audio and video using ffmpeg


I am getting this crash message when i click on third button to merge audio with video , first i am selecting the path of video and audio then i am merging the audio with video


-
ffmpeg gives error DTS out of order and Non-monotonous DTS in output stream [migrated]
16 août 2015, par tmoore82I’m trying to concatenate multiple mp4 videos into one using ffmpeg. The "how to" for this is mostly identical across the web :
ffmpeg -f concat -i inputfile.txt -c copy output.mp4
But when I try to concatenate my files, I keep getting output like the following :
[concat @ 0x1f72560] DTS 3815 < 3812809 out of order
[mp4 @ 0x20ad2e0] Non-monotonous DTS in output stream 0:0; previous: 3812809, current: 3815; changing to 3812810. This may result in incorrect timestamps in the output file.The result is that I have a file where the audio and video work for the first segment, but only the audio works for subsequent segments. Occasionally, I’ll get a video with no audio.
Some users switch to MP4Box, but I’ve tried MP4Box with the same results. What am I missing ? I saw this post that says
-c copy
is the problem, but I don’t really follow what it’s saying about reencoding or why that’s necessary.Command :
ffmpeg -f concat -i test.txt -c copy test.mp4 &> result.txt
Contents of
test.txt
file '/raw/01 - Introduction.mp4'
file '/raw/02 - Background Material.mp4'Contents of
result.txt
: http://paste.ubuntu.com/12101801/ -
Revision 37329 : On entoure la fréquence d’une classe spécifique permettant de jouer dessus ...
16 avril 2010, par kent1@… — LogOn entoure la fréquence d’une classe spécifique permettant de jouer dessus via CSS ou js