Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (37)

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

  • Pipe series of images from java application to ffmpeg subprocess

    20 juin 2014, par Marco

    I am looking for a way to stream series of images (jpegs) from java application into FFMpeg STDIN pipe.
    FFMpeg should process these images and create a video file as an output.

    FFMpeg is executed as sub process of java application with the following command "ffmpeg.exe -i pipe:0 out.avi"

    When i run "ffmpeg -i input.jpg out.avi" command in the console, i get the "out.avi" file as expected

    But when i use the following tester code in my java application, i got an error.

    Code in Java application :

    File ffmpeg_output_msg = new File("ffmpeg_output_msg.txt");
    ProcessBuilder pb = new ProcessBuilder(
           "ffmpeg.exe","-i","pipe:0","out.avi");
    pb.redirectErrorStream(true);
    pb.redirectOutput(ffmpeg_output_msg);
    pb.redirectInput(ProcessBuilder.Redirect.PIPE);
    Process p = pb.start();
    OutputStream ffmpegInput = p.getOutputStream();

    byte[] image;
    File file = new File("input.jpg");
    image = new byte[(int)file.length()];

    FileInputStream fileInputStream = new FileInputStream(file);
    fileInputStream.read(image);

    ImageInputStream iis = ImageIO.createImageInputStream(
           new ByteArrayInputStream(image));
    BufferedImage img = ImageIO.read(iis);

    ImageIO.write(img, "JPEG", ffmpegInput);

    FFMpeg output :

    ffmpeg version N-59664-g94cf4f8 Copyright (c) 2000-2014 the FFmpeg developers built on Jan 7 2014 22:07:02 with gcc 4.8.2 (GCC)
    configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libcaca —enable-libfreetype —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libx264 —enable-libxavs —enable-libxvid —enable-zlib

    libavutil      52. 62.100 / 52. 62.100
    libavcodec     55. 47.100 / 55. 47.100
    libavformat    55. 22.102 / 55. 22.102
    libavdevice    55.  5.102 / 55.  5.102
    libavfilter     4.  0.103 /  4.  0.103
    libswscale      2.  5.101 /  2.  5.101
    libswresample   0. 17.104 /  0. 17.104
    libpostproc    52.  3.100 / 52.  3.100

    pipe: : Invalid data found when processing input

    Any ideas how to make it work ?

    Thank you very much for your time.

  • Unable to create a PPAPI (Pepper) video plugin -NaCl module failed - how to resolve ?

    27 novembre 2013, par ElHaix

    Google's Say Goodbye to Our Old Friend NPAPI blog post indicates that NPAPI plugin support will cease by the end of 2014 (in favor of PPAPI).

    We have considered the option of using the ffmpeg libraries to create our own video plugin to simply decode RTSP encoded H.264 video streams on the client - important because we need as near real-time video display (avoiding transcoding latency). Using the ffmpeg libraries, there is still a 3-5 second delay in decoding the stream, not as fast as running MPlayer with the -benchmark option.

    In trying Google's PNaCl recommendation, we just got the LOADING status and the following error :

    NativeClient : NaCl module load failed : PnaclCoordinator : Compile
    process could not be created : ServiceRuntime : failed to start

    Are there any other alternatives or suggestions to getting this working ?

  • What are the steps required to create a non-NPAPI video decoder plugin - VLC Alternative ?

    26 novembre 2013, par ElHaix

    Google's Say Goodbye to Our Old Friend NPAPI blog post indicates that NPAPI plugin support will cease by the end of 2014 (in favor of PPAPI).

    We have considered the option of using the ffmpeg libraries to create our own video plugin to simply decode RTSP encoded H.264 video streams on the client - important because we need as near real-time video display (avoiding transcoding latency). Using the ffmpeg libraries, there is still a 3-5 second delay in decoding the stream, not as fast as running MPlayer with the -benchmark option.

    In trying Google's PNaCl recommendation, we just got the LOADING status and the following error :

    NativeClient : NaCl module load failed : PnaclCoordinator : Compile
    process could not be created : ServiceRuntime : failed to start

    Are there any other alternatives or suggestions ?