Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (63)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (8008)

  • How to set FFmpeg to send a signal to java code when it's done with its job ?

    23 juin 2016, par Elaheh

    I have a java servlet which waits for an httprequest, when it arrives, it calls the FFmpeg to do mixing two videos. Java code needs to send the mixed video back to the requester when the FFmpeg finished its job.
    How can I set the FFmpeg to inform the java servlet when the mixed video is ready ?
    My code in current shape, starts sending the video while FFmpeg is not completely done.

    I can use thread.sleep() or similar methods, but since we need to measure the processing time for a research work, I cannot use that.

    I appreciate if you can help me on this.
    this is part of the code :

    String videoId=req.getParameter("id");        
            String ad= "/var/Videos/ads/angrybirds-adv.mp4";  
            String url="http://"+RequesterIP+"/"+videoId;
            System.out.println("url: "+url);
            String output= new SimpleDateFormat("yyyyMMddhhmm'.mp4'").format(new Date());
            String videoPath = "/var/Videos/"+output;
            List<string> cmds =  new ArrayList&lt;>();
            cmds.add("ffmpeg");
            cmds.add("-i");
            cmds.add(url);
            cmds.add("-i");
            cmds.add(ad);
            cmds.add("-filter_complex");
            cmds.add("[0:v][1:v] overlay");
            cmds.add(videoPath);
            ProcessBuilder pb = new ProcessBuilder(cmds);
            Process p = pb.start();

            /** Terminal **/
          final InputStream inStream = p.getErrorStream();
            new Thread(new Runnable() {
            public void run() {          
                    InputStreamReader reader = new InputStreamReader(inStream);
                    Scanner scan = new Scanner(reader);
                    while (scan.hasNextLine()) {
                        System.out.println(scan.nextLine());
                    }
                }
            }).start();      

    // send the mixed video to the requester
    File downloadFile = new File(videoPath);
    ...
    </string>

    More details :
    the ad video is the overlay video located in the same machine as FFmpeg, the original video is located on a public folder in the requester machine, and is accessible using this url : http://requester-IP/videoId

  • ffmpeg does not get installed on windows 32 bit

    13 octobre 2016, par Simer

    I have installed ffmpeg on windows 32 bit and I got following error when I try executing ffmpeg.exe therefore it is not installed and neither shows up in my localhost :

    the procedure entry point could not be located in the dynamic link
    library kernel32.dll

    Where as it get installed on 64 bit easily.
    I am downloading ffmpeg from -zeranoe. I have tried with static and shared builds.

  • FFMPEG mp4 to multi-bitrate hls m3u8 file

    17 décembre 2014, par Markus Gray

    I am new to the world of ffmpeg and video conversion and have been searching for the answer to my question for about 3 weeks now and to no luck. ffmpeg’s commands confuses me a bit. I am trying to have a user upload a video file and then have that file converted to multiple bitrates as a single hls m3u8 playlist file. Alot of the examples that I have found only dealt with one bitrate. Could anyone point me in the right direction ?