Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (39)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (6208)

  • How to add libmp3lame, libx264, libvo_aacenc and libvorbis codecs to existing ffmpeg install on Redhat 6.7

    9 avril 2016, par rjn

    Adobe cq uses ffmpeg to transcode videos. There is a workflow that is triggered when a user uploads any video to the digital asset management (DAM) section. This workflow internally uses ffmpeg to transcode the uploaded video and spits out additional video renditions in formats like ogg, m4v, mp3.

    The server (Red Hat Enterprise Linux Server release 6.5) on which adobe cq runs needs to have ffmpeg installed for the DAM workflow to function. ffmpeg has already installed been installed, but it is missing certain codecs : libmp3lame, libx264, libvo_aacenc and libvorbis.

    How to add and enable these codecs ?

  • 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 mp4 to hls but with variable segments size

    22 mai 2020, par Pavel Angel Mendoza Villafane

    I saw several examples to change mp4 container to hls using ffmpeg easily with something like this :

    



    ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8


    



    I observed that usually the last fragment could be really different with the others (because it is like an offset only). Then I guess that a fix segment length is not mandatory

    



    I have been asking, is it possible to change the size of another fragments ? For example, fix hls_time=10 for all the segments except for segments (1) or (1, 2) such that the length for these to be 5 instead of 10 ?

    



    Is possible ? with ffmpeg or any other ?