Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (47)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (4944)

  • ffmpeg for x264 core 136 lib in iOS [on hold]

    23 août 2013, par 官承翰

    I want to develop a service (written in php) to provide mobile platforms(iOS/android/..etc) or desktop PCs to stream videos.

    I have tried a lot and found.

    My iPhone4 didn't support core 136 lib based on x264...it would crash or freeze when I tried playing it.

    Here is my question :

    Can ffmpeg decode video so that iOS can play ?
    Or is there another way to solve it ?
    I am new to these things...

    Thanks in advance

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

  • Convert mp3 to aac stream for facebook video with ffmpeg

    17 août 2022, par Miro Barsocchi

    I want to start a live video in a Facebook page and I can do this using ffmpeg. The input is, as a video stream, a static image, suppose image.jpg and as audio a streaming content that currently is in mp3 format.
Due to facebook limitation, the audio format should be aac, so the idea is to convert the audio from mp3 to aac and send everything to facebook. What I'm using is this command

    


    ffmpeg -loop 1 -f image2 -i image.jpg -i https://some.streaming.service/mp3 -c:a libfdk_aac -pix_fmt yuv420p  -profile:v baseline  -bufsize 6000k  -maxrate 1500k  -vcodec libx264  -preset veryfast  -g 30  -r 30  -f flv  -flvflags no_duration_filesize  "rtmps://live-api-s.facebook.com:443/rtmp/FB-KEYTOSTREAM"


    


    where https://some.streaming.service/mp3 is a streaming in mp3 format. It "almost" work in the sense that it returns no error but I can not start streaming because, from facebook side, it seems that I'm not sending the stream : the "Start Live session" is not enabled

    


    enter image description here

    


    If I stop ffmpeg, then for a second, the button is enabled and I can stream a few seconds of what I want. It seems that the error is related to the fact that there is no buffer of data that arrives, will be converted, and directly sent to the output. If, instead of a mp3 streaming audio, I use a mp3 file then no problem.

    


    I'm quite sure that ffmpeg can do this type of conversion, but can someone help me understand the flag(s) that I'm missing ?

    


    I've tried also with -re with no luck.