Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (74)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (3409)

  • FFMPEG RTMP streaming to FMS without stop ?

    24 juillet 2017, par Luis Mok

    I have some .mov files want to stream to Flash media server. i have already tried to stream a single .mov by FFMPEG command in terminal and it works, the FMS can display the thing i streaming in live.

    ffmpeg -re -i file1.mov -vcodec libx264 -f flv rtmp ://localhost/livepkgr/livestream

    Now i want to stream multiple files,
    i tried to use above command one by one,
    but it seems Flash media server stop the streaming when file1 is finished,
    then start the stream with file2.
    It makes the stream player stopped when file1 is finish, and have to refresh the page in order to continue on file2.

    i am calling the FFMPEG command by a C program in linux, i wonder is there any method that i can prevent the FMS stopped when i switch the file source in FFMPEG ? or is that possible to let FFMPEG constantly deliver the stream by multiple files source without stopped when a file finish ?

  • How to stop recording dynamically in FFMPEG CLI Wrapper java

    14 décembre 2017, par user2237529

    https://github.com/bramp/ffmpeg-cli-wrapper/issues/13

    public class ScreenCaptureFFMPEG {

       public static void record(String outputVideo, String time) throws Exception
       {
           RunProcessFunction func = new RunProcessFunction();

           FFmpeg ffmpeg = new FFmpeg("C:\\FFMPEG\\ffmpeg.exe");
           FFmpegBuilder builder = new FFmpegBuilder()
                   .addExtraArgs("-rtbufsize", "1500M")
                   .addExtraArgs("-r", "30")
                   .setFormat("dshow")
                   .setInput("video=\"screen-capture-recorder\"")
                   .addOutput(outputVideo)
                   .setFormat("mp4")
                   .addExtraArgs("-crf", "0")
                   .setVideoCodec("libx264")
                   //.addExtraArgs("-ac", "1")
                   .addExtraArgs("-y")
           //overwrite file name

                   // .setAudioCodec("libmp3lame")
                   // .setAudioSampleRate(FFmpeg.AUDIO_SAMPLE_44100)
                   //  .setAudioBitRate(1_000_000)

                   //.addExtraArgs("-ar", "44100")
                   .addExtraArgs("-t", time)

                   //.setVideoPixelFormat("yuv420p")
                   //.setVideoResolution(426, 240)
                   //.setVideoBitRate(2_000_000)
                   //.setVideoFrameRate(30)
                   //.addExtraArgs("-deinterlace")
                   //.addExtraArgs("-preset", "medium")
                   //.addExtraArgs("-g", "30")
                   .done();
           FFmpegExecutor executor = new FFmpegExecutor(ffmpeg);

           executor.createJob(builder).run();


       }

       public static void capture(String name) throws Exception
       {
           BufferedImage image = new Robot().createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
           ImageIO.write(image, "png", new File(name));

       }

       public static void main(String[]args) throws Exception {

           capture("start.png");
           //record("TC_test.mp4", "00:00:10");
           capture("end.png");
           Thread t = new Thread(new Runnable() {
               @Override
               public void run() {
                   // Insert some method call here.
                   try {
                       record("TC_test.mp4", "00:00:10");
                   }
                   catch(Exception e)
                   {
                       System.out.println("hello");
                   }
               }
           });
           Thread.sleep(5000);

           t.interrupt();

       }
    }

    I am trying to stop the recording by killing the subprocess or if there is any other method its fine too. But I am unable to do that. I know its supported according to the github link. How do I kill a subprocess please ?

    PS : THis is the first time i post a question on stackoverflow so If I made any mistakes please excuse me and provide details on how i can improve

  • mdec : stop preferring the simple IDCT.

    21 juin 2017, par Ronald S. Bultje
    mdec : stop preferring the simple IDCT.
    

    This was added in e3e3c82555e2382125195c1ba9f34b5a43299abc, probably
    as a workaround for the fact that the quant table was not permutated
    and the IDCT coefficients are, meaning that you'd only get correct
    reconstruction if the IDCT permutation was an identity matrix, which
    happens to be the case when you use the simple IDCT. The quant table
    permutation bug was fixed in 42dd1434bf6a7230e4175c08fcfabc3ba51a0463,
    meaning this workaround is no longer necessary.

    In practical terms, before 42dd1434bf6a7230e4175c08fcfabc3ba51a0463,
    the PSNR between decodes of the fate-mdec using simple (C) or simplemmx
    IDCTs was 35. After 42dd1434bf6a7230e4175c08fcfabc3ba51a0463, it's 90.

    • [DH] libavcodec/mdec.c