Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (57)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7582)

  • ffmpeg use shell script to make video from multiple images and one audio with specific timestamps for each image [closed]

    3 juin 2024, par Trojosh

    I have an audio file and I have 15 images. I would like to make a video from these 15 still images. Each image may appear for different number of seconds.
E.g. Image 1,2,3 will take 3 seconds each but image 4 may take 40 seconds because it is more complex.

    


    How can I use a shell script that uses ffmpeg to specify timestamp for each image and add audio to the same.

    


    Also note that the sum of timestamps of all images = running time of the audio.

    


    I looked at this question and image2 filter option from the official documentation but no luck in producing such a video

    


  • Making colour of MP4 video consistent in Chrome

    21 septembre 2021, par OneWorld

    I see a difference in the colour of a video between different machines using different browsers. I was wondering what the cause of the difference is ?

    


    I use FFMPEG to create the video. I sent the video to three different people with slightly different machines, and slightly different Chrome versions, to try and see where the differences are.

    


    The FFMPEG output from the video is as follows :-

    


    ffmpeg version 3.2.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-4) 20161202
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'red_and_yellow_uat.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 84 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, unknown/bt709/bt709), 1080x1080, 81 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler


    


    From the same UAT rendered Video, with screenshots taken in Chrome from person 1, person 2, person 3, and person 4, and using GIMP colour picker on my machine from the screenshots, the results for red, and yellow are as follows.

    


    Person 1:- #A83833  and  #FFCB2E  Chrome Version 92.0.4515.131 (Official Build) (64-bit)
Person 2:- #AB3334  and  #FFCA38  Chrome Version 92.0.4515.107


    


    (Note : these colours Match / are very close to the original).

    


    Both these machines above are 64 bit Ubuntu machines, using Ubuntu 18.04.5 LTS
We both use the gnome screenshot tool in Ubuntu to take the screenshot, which creates an 8bit PNG.

    


    Person 3:-    #B14039  and  #FED303  Chrome Version 93.0.4577.63 (Official Build) (x86_64)
Person 4:-    #B2403A  and  #FFD201  Chrome Version 92.0.4515.159 (Official Build) (x86_64)


    


    Mac screenshots are taken using cmd shift 4, and generate an 8bit PNG file.

    


    Person 3 Machine Spec :-
Machine :- Macbook Pro (2019)
OS : macOS Big Sur Version 11.5.2
Processor :- 2.6Ghz Intel Core i7 processor. 32bit architecture (typing arch in her tty terminal returns i386).
Graphics :- Intel UHD Graphics 630 1536

    


    Person 4 Machine Spec :-
Machine :- Macbook Pro (Retina, 2015)
OS :- MacOS Mojave, Version 10.14.6
Processor :- 2.5GHz, Intel Core i7
Graphics :- AMD Radeon R9, M370X 2 GB Intel Iris Pro 1536 MB

    


    Person 1 screenshot

    


    enter image description here

    


    Person 2 screenshot

    


    enter image description here

    


    Person 3 screenshot

    


    enter image description here

    


    Person 4 screenshot

    


    enter image description here

    


    Any suggestions anyone has to make these colours consistent would be much appreciated. Would love to know why it happens also ? If anyone can explain ?

    


  • Error converting video with ffmpeg NReco wrapper library

    22 décembre 2016, par agurz

    I’m using NReco.VideoConverter for a video converting application. Now I’m trying to replace the audio in the source video for an mp3 track. I’m using this snippet from the official site : http://www.nrecosite.com/video_converter_net.aspx but I receiving this error :

    audio.mp3 : Invalid data found when processing input (exit code : 1)

    var ffmpeg = new NReco.VideoConverter.FFMpegConverter();
    ffmpeg.ConvertMedia("video.mp4", null, "output_video.mp4", null, new ConvertSettings() {
     AudioCodec = "copy", VideoCodec = "copy",
     CustomInputArgs = String.Format(" -i \"{0}\" ", "audio.mp3"),
     CustomOutputArgs = " -map 0 -map 1",
    });

    I tried with different audio files but still the same scenario.