Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (50)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (5902)

  • FFMPEG Throws Unexpected Exception

    12 février 2018, par MBJH

    I have this code which works fine until the finally statement is called :

    File cd=new File(path.substring(0, path.lastIndexOf("\\")));
           String cmdLine="C:/Program Files/ffmpeg/bin/ffmpeg -i " + path.substring(path.lastIndexOf("\\")+1) + " " + path.substring(path.lastIndexOf("\\")+1, path.lastIndexOf(".")) + "c.mp4";
           Process ffmpeg=Runtime.getRuntime().exec(cmdLine, null, cd);
               try {
                   ffmpeg.getInputStream();
                   ffmpeg.waitFor();
               } catch(InterruptedException ex) {
                   ffmpeg.getErrorStream();
                   ex.printStackTrace();
               } finally {
                   ffmpeg.getOutputStream();
                   Update_Delete ud=new Update_Delete(details[0], details[1], details[2]);
                   ud.compressed(Integer.parseInt(path.substring(path.lastIndexOf("\\")+5, path.lastIndexOf("\\")+6)));  
               }    

    Then it throws this IllegalStateException and I have no idea why.

    Warning:   StandardWrapperValve[addVideo]: Servlet.service() for servlet addVideo threw exception
    java.lang.IllegalStateException: This web container has not yet been started
       at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1674)
       at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
       at helpers.video.compressFile(video.java:42)
       at SQL.Create.insertIntoVideos(Create.java:94)
       at servlets.addVideo.doPost(addVideo.java:39)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
       at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
       at org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:305)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
       at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
       at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
       at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
       at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
       at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
       at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
       at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
       at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
       at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
       at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
       at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
       at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
       at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
       at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
       at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
       at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
       at java.lang.Thread.run(Thread.java:745)

    Please tell me why this happened and/or how to fix it. Thanks in advance.

  • FFmpeg : How to apply volume filter fast in ffmpeg

    29 novembre 2018, par Prashant_Sarin

    i am using below code for applying volume filter in ffmpeg, but its taking too long.Let’s say the audio itself is for 5 minutes then applying this filter takes 3 minutes. Can someone help to speed up the process.

    my command is as :

    var command = "-i $audioPath -af volume=enable='between(t,5,10)':volume=0.25,volume=enable='between(t,15,20)':volume=0.25 $outputFile"

    logs are :

    2018-11-29 15:17:16.912 17250-17250/com.example.prashants.ffmpegtest
    D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
    ---AudioVolume---- video:0kB audio:3030kB subtitle:0kB other streams:0kB
    global headers:0kB muxing overhead: 1.236199%
    2018-11-29 15:17:16.913 17250-17250/com.example.prashants.ffmpegtest
    D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
    ---AudioVolume---- bench: utime=168.977s
    2018-11-29 15:17:16.915 17250-17250/com.example.prashants.ffmpegtest
    D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
    ---AudioVolume---- bench: maxrss=65116kB
    2018-11-29 15:17:16.917 17250-17250/com.example.prashants.ffmpegtest
    D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
    ---AudioVolume---- [aac @ 0xaf5e4400] Qavg: 15833.816
    2018-11-29 15:17:16.920 17250-17250/com.example.prashants.ffmpegtest
    D/com.example.prashants.ffmpegtest.service.AudioOverlayService: AudioVolume
    success--------- -benchmark -threads 4 -i
    /storage/emulated/0/FFmpegTest/looped.m4a -af
    volume=enable='between(t,5,10)+between(t,15,20)':volume=0.25:eval=frame
    /storage/emulated/0/FFmpegTest/filtered_audio.m4a

    that’s the log from my android studio console

  • FFmpeg version 4.0.1 cannot find h264 encoder

    3 juillet 2018, par Cristiano

    Today I updated FFmpeg to version 4.0.1 and my existing project cannot compile anymore. In particular avcodec_find_encoder(AV_CODEC_ID_H264) always returns null. I tried to reinstall the libx264 but nothing changed.
    I also tried to call avcodec_find_encoder_by_name("libx264") and it works, but avcodec_open2() returns error.