Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (13)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3563)

  • JavaCV FFmpegFrameRecorder Video output reddish color

    14 juin 2016, par Diego Perozo

    I am trying to make a video .mp4 file out of a group of images using FFmpegFrameRecorder as a part of a bigger program, so I set up a test project in which I try to make a video out of 100 instances of the same frame at 25fps. The program seems to work. However, every time I run it the image seems to be reddish. As if a red filter had been applied to it.

    Here’s the code snippet :

    public static void main(String[] args) {
       File file = new File("C:/Users/Diego/Desktop/tc-images/image0.jpg");
       BufferedImage img = null;
       try {
           img = ImageIO.read(file);
       } catch (IOException e1) {
           e1.printStackTrace();
       }
       IplImage image = IplImage.createFrom(img);
       FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("C:/Users/Diego/Desktop/tc-images/test.mp4",1920,1080);
       try {
       recorder.setVideoCodec(13);
       recorder.setFormat("mp4");
       recorder.setPixelFormat(0);
       recorder.setFrameRate(25);
       recorder.start();
       for (int i=0;i<100;i++){
       recorder.record(image);
       }
       recorder.stop();
       }
       catch (Exception e){
       e.printStackTrace();
       }
    }

    I’d appreciate it if anybody told me what’s wrong. Thanks in advance for any help.

  • ffmpeg combine images and audio into video and loop through images until end of audio

    12 avril 2022, par george

    I have found this code to combine multiple images and one audio file into video, but what I want is the images to loop until the end of audio. So what I mean, if I have 5 images and each image is shown for 5 seconds, after 25 seconds show again the first image, second image etc and this will continue until the end of audio.

    


    ffmpeg -r 0.2 -i Scan-130802-%04d.jpg -i "1.mp3" \
       -vcodec libx264 -vf scale=1920:1080 \
       -crf 25 -preset slow -acodec copy video.mp4


    


    another problem I have is that with the above code the images appear horizontally flipped for some reason.

    


  • FFMPEG Merge two videos into one with side-by-side same quality output

    25 avril 2023, par Filip Kafo Kaučiarik

    I'm already working on project with 3d video and I have a problem, I got left and right channel of video and I need to merge them into side by side. I already read some blogs about this problem and I got this code :

    


    ffmpeg -i avatar35l.avi -vf "movie=avatar35r.avi [in1]; [in]pad=1920*2:1080[in0]; [in0][in1] overlay=1920:0 [out]" avatar35sbs.avi


    


    It works, but there is significant quality loss and I need the quality of the output video to be the same as the input video : 30fps, 1080p, same length. I'm new to ffmpeg and i need a concrete example of that.

    


    Can anybody help me ?