Recherche avancée

Médias (91)

Autres articles (60)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (5468)

  • h264 : Make sure reinit failures mark the context as not initialized

    25 mai 2015, par Luca Barbato
    h264 : Make sure reinit failures mark the context as not initialized
    

    Bug-Id : CVE-2015-3417
    CC : libav-stable@libav.org

    • [DBH] libavcodec/h264_slice.c
  • Generate video with ffmpeg to play using JavaFX

    25 mai 2015, par taskman

    People always say to post a new question so I am posting a new question that relates to Generate video with ffmpeg for JavaFX MediaPlayer

    The images I use can be downloaded from here https://www.dropbox.com/s/mt8yblhfif113sy/temp.zip?dl=0. It is a 2.2GB zip file with 18k images, still uploading, might take some time. The images are slices of a 3D object. I need to display images every 10ms to 20ms. I tried it with Java, but just couldn’t get faster than 30ms+ so now I am trying to generate a video that will display images as fast as I want without worrying about memory or CPU power.

    People will be using my software to slice the objects and then generate the videos to be played later one. The player might run on a cheap laptop or might run on a Raspberry Pi. I need to make sure the slicer will work on any OS and that people don’t need to install too much extra stuff to make it work. It would be best if I can just include everything that is needed in the download of the app.

    I also posted here
    https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=15&t=2474&sid=4f7a752f909202fbec19afc9edaf418c

    I am using Windows 7 and I have VLC installed. The ffmpeg version is

    ffmpeg version N-72276-gf99fed7 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)

    I also tried the command lines posted on the linked question

    This line produced the video and JavaFX didn’t have any errors

    ffmpeg -f image2 -r 50 -i "Mandibular hollow 1 micron.gizmofill%d.gizmoslice.jpg" -s 1638x1004 -vcodec mpeg4 -qscale 1 -f mp4 Timelapse.mp4

    enter image description here

    This line also produced the video, but JavaFX had an error : "Caused by : MediaException : MEDIA_UNSUPPORTED : Unrecognized file signature !"

    ffmpeg -f image2 -r 50 -i "Mandibular hollow 1 micron.gizmofill%d.gizmoslice.jpg" -s 1920x1080 -vcodec mpeg4 -qscale 1 Timelapse.avi

    enter image description here

    I also tried this two pass encoding I believe. It produced the video, but didn’t play

    ffmpeg -r 50 -i "Mandibular hollow 1 micron.gizmofill%d.gizmoslice.jpg" -s 1638x1004 -r 50 -b:v 1550k -bt 1792k -vcodec libx264 -pass 1 -an combined50.flv && ffmpeg -y -r 50 -i "Mandibular hollow 1 micron.gizmofill%d.gizmoslice.jpg" -s 1638x1004 -r 50 -b:v 1550k -bt 1792k -vcodec libx264 -pass 2 -vpre hq -acodec libfaac -ab 128k combined50.flv

    This is my JavaFX code. As you can see I tried the Oracle video and that worked fine.

    public class FXMLDocumentController implements Initializable {

       @FXML
       private Label label;

       @FXML
       private MediaView mediaView;

       @FXML
       private void handleButtonAction(ActionEvent event) {
           System.out.println("You clicked me!");

    //        final File f = new File("http://download.oracle.com/otndocs/products/javafx/oow2010-2.flv");
           final File f = new File("C:/Users/kobus/Dropbox/JavaProjects/Gizmetor/temp/Timelapse.avi");

    //        "C:/Users/kobus/Dropbox/JavaProjects/Gizmetor/temp/combined50.avi.flv"
    //        http://download.oracle.com/otndocs/products/javafx/oow2010-2.flv

           Media media = new Media(f.toURI().toString());
    //        Media media = new Media("http://download.oracle.com/otndocs/products/javafx/oow2010-2.flv");
           MediaPlayer mediaPlayer = new MediaPlayer(media);
           mediaPlayer.setAutoPlay(true);

           mediaPlayer.play();
           mediaView.setMediaPlayer(mediaPlayer);
           label.setText("Hello World!");
           System.out.println(mediaPlayer.isAutoPlay());

    //        mediaView
       }

       @Override
       public void initialize(URL url, ResourceBundle rb) {
           // TODO
       }

    }
  • msrle : Use FFABS to determine the frame size in msrle_decode_pal4

    25 mai 2015, par Luca Barbato
    msrle : Use FFABS to determine the frame size in msrle_decode_pal4
    

    As done in msrle_decode_8_16_24_32.

    Bug-Id : CVE-2015-3395
    CC : libav-stable@libav.org

    • [DBH] libavcodec/msrledec.c