Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (94)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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, par

    Multilang 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, par

    MediaSPIP 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 Saxena

    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

    


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

    &#xA;

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

    &#xA;

    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

    &#xA;

  • ffmpeg gives error DTS out of order and Non-monotonous DTS in output stream [migrated]

    16 août 2015, par tmoore82

    I’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 &lt; 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 &amp;> 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@… — Log

    On entoure la fréquence d’une classe spécifique permettant de jouer dessus via CSS ou js